Thursday, December 8, 2011

To read entire contents of uploaded file



We can Use only one line For that
Here EntireContent is a variable.

fileupload1.PostedFile.InputStream.Read
(EntireContent, 0, fileupload1.PostedFile.ContentLength);