Hi, Jai.. try go to the aspx HTML view, add runat="server" attribute in your <input type="file"> to be HTML server control. You need to create a HtmlInputFile class in your code behind in order to use the File1.PostedFile.FileName.
1. Add runat="server" in the <input type="file"> in HTML view
2. Swtich to Design View
3. Go to code-behind, you will see an HtmlInputFile class will be automatically imported.
Good luck !
Getting problems with vb.net codings..help, Object reference not set to an instance
Jan 24 2006, 08:36 AM
Quote
0.0138sec
0.29
6 queries
GZIP Disabled