TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Smart Lucky
NA
555
638.4k
File uploading problem
Aug 18 2011 11:56 PM
hi
can any one help meeee............
i am uploading file in this way i have add second config file which is below
<?xml version="1.0"?>
<location path="Upload">
<system.web>
<httpRuntime executionTimeout="100" maxRequestLength="20202"/>
</system.web>
</location>
and cs file is this how can i upload using path which i have declare in config file and why using
executionTimeout
if (FileUpload1.HasFile)
{
FileUpload1.SaveAs(Server.MapPath("Upload") + "\\" + FileUpload1.FileName);
}
Reply
Answers (
2
)
Priority problem
Difference between response.redirect and server.transfer