I am uploading file using ASP.net File upload control. My FileUpload1.HasFile is always returning false.
if (FileUpload1.HasFile) { DBOpe
Add a trigger for your UpdatePanel
This will force a postback when the upload button is clicked.
Also add the line below to the Page_Load
Page.Form.Attributes.Add("enctype", "multipart/form-data");