Possible duplicate:
How to convert byte [] to stream in C #?
I need to convert an array of bytes to a stream. How to do it in C #?
This is an asp.net application.
FileUpload Control Name: taxformUpload
Program
byte[] buffer = new byte[(int)taxformUpload.FileContent.Length]; taxformUpload.FileContent.Read(buffer, 0, buffer.Length); Stream stream = ConvertToStream(buffer);
c #
priyanka.sarkar Mar 29 '12 at 3:28 2012-03-29 03:28
source share