//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";
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment