Google News
logo
ASP.NET - Quiz(MCQ)
Which of the following method is used to save the selected file using FIleUpload control?
A)
PostedFile.Upload()
B)
PostedFile.SaveAs()
C)
PostedFile.SaveFile()
D)
None of the Above

Correct Answer :   PostedFile.SaveAs()


Explanation : The "FileUpload1.PostedFile.SaveAs()" method is used to get selected filename using FileUpload control.

Advertisement