//Take one file upload control and one button for save the file..
//button click
if(fileupload1.hasfile)
{
fileupload1.saveas(server.mappath(fileupload1.filename));
label1.text="file uploaded :" + fileupload1.filename;
}
else
{
label1.text="No file Upload";
}
Showing posts with label File Upload in Asp.net c#. Show all posts
Showing posts with label File Upload in Asp.net c#. Show all posts
Thursday, March 18, 2010
Subscribe to:
Posts (Atom)