Solved

C#.NET + FileUpload Control + Save To Folder

Posted on 2009-05-12
3
742 Views
Last Modified: 2013-11-07
I want to add a FileUpload Control where a user can upload an image, i want to save the image in a folder inside the web site structure - ie folder = images - how can i do this?
0
Comment
Question by:dkilby
3 Comments
 
LVL 5

Expert Comment

by:Aanvik
Comment Utility
0
 
LVL 21

Accepted Solution

by:
Tapan Pattanaik earned 500 total points
Comment Utility
0
 

Author Closing Comment

by:dkilby
Comment Utility
thanks this link and this line was what i was looking for

http://www.dotnetspider.com/resources/28093-FileUpload-control-ASP-NET-web-form-using-c.aspx

UPLOAD_PATH = Server.MapPath("~/UploadedDocs") + "/";
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now