Take on fileupload control.
And one button to upload.
On button click event write this:
string path = Server.MapPath("~/") + FileUpload1.PostedFile.FileName.ToString();
FileUpload1.SaveAs(path);
It will save the images in root drive
No comments:
Post a Comment