RE: pop-up browser persist data back to parent page code-behind

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for the reply Dave,

As for the file content, if they're binary file, you can just read out the
binary content out of the stream and store into a byte[] array, then, we
can directly put the byte array into Session through

byte[] myfilebytes = xxxx;
......
Session["file_bytes"] = myfilebytes;

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • Re: binary i/o files
    ... strange characters on the screen. ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: Changing binary to PDF
    ... The best way to "store" a file in C# is as a stream. ... If you're trying to view the PDF file, just script in the PDF viewer ... The binary file is stored in a database as a Varbinary. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: im facing problem with fread()??
    ... >> i am writing a simple prgm to read a .txt file then store the contents ... >> into the array... ... > If triangle.txt is a binary file then try rb instead of r in fopen. ...
    (comp.lang.c)
  • Insert 3 Gb binary file to oracle blob using Ado.net oracleclient
    ... I was trying to insert 3Gb binary file to oracle 10g BLOB Field using ... The application uses Oracle Transaction. ... After that tried to declare the array using actual no. ... How I can read the 3 GB binary file using .net and store all the bytes ...
    (microsoft.public.dotnet.framework.adonet)