Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
File Upload Control
Shubham Agrawal
Sep 21 2017 2:06 AM
168
Reply
I am using File upload control in asp.net but i dont select any File so i face Error...
string str = FileUpload1.FileName;
FileUpload1.PostedFile.SaveAs(Server.MapPath("~/Upload/" + str));
string Image = "~/Upload/" + str.ToString();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Creating Sql Server Reports with wizards
Dropdown list display through sql db in e-commerce site