Home »
MCQs »
ASP.Net MCQs
Which of the following method is used to save the selected file using FIleUpload control?
89. Which of the following method is used to save the selected file using FIleUpload control?
- PostedFile.Upload()
- PostedFile.SaveAs()
- PostedFile.SaveFile()
- None of the above
Answer: B) FileUpload1.PostedFile.SaveAs()
Explanation:
The "FileUpload1.PostedFile.SaveAs()" method is used to get selected filename using FileUpload control.