Pages

Sunday, 13 October 2013

How can files be uploaded to Web pages in ASP.NET?

This can be done by using the HtmlInputFile class to declare an instance of an  
<input type="file" runat="server"/> tag
Then, a byte[] can be declared to read in the data from the input file. This can then be sent to the server.

Enter Your Question

Total Pageviews