Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4777

Convert HttpPostedFile to Byte Array in ASP.Net using C# and VB.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to convert HttpPostedFile class object to Byte Array using C# and VB.Net. The HttpPostedFile class object holds the File data for the ASP.Net FileUpload control. In order to get the Byte Array from the HttpPostedFile class object, ReadBytes method of the BinaryReader class is used.

Viewing all articles
Browse latest Browse all 4777

Trending Articles