Hello,
I followed this article for uploading and downloading files from database http://www.c-sharpcorner.com/UploadFile/0c1bb2/uploading-and-downloading-pdf-files-from-database-using-asp/ .
The difference is that I use Windows forms instead of Web forms and I need to have the file selected in a listView uploaded. Whenever I run the code I get FileUpload1.HasFileFileUpload1.HasFile=false.
Note that I can't find where to add the following line of code in my application.
<asp:FileUpload ID="FileUpload1" runat="server" ToolTip="Select Only Excel File" /><asp:FileUpload ID="FileUpload1" runat="server" ToolTip="Select Only Excel File" />
Any suggestions?
Thank you in advance.