how to upload an document file?
-
hello to everyone, i want to upload only doc file.but i m unable to do dat. can any body help me to solve dis problem. thanx rahul saini
Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)
keep Learning and you never will be out of date...
-
Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)
keep Learning and you never will be out of date...
-
Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)
keep Learning and you never will be out of date...
-
a little comment: you should check if a file was really sent before trying to save it :-)
if(FileUpload1.PostedFile != null) { //handle the incoming file }
have fun. -
Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)
keep Learning and you never will be out of date...