A
Adam Clauss
Alright, I have a webapp in which I need to send a byte[] (which happens to
be the contents of an excel spreadsheet read in from the .xls file).
Now, I can't actually redirect the user (Response.Redirect()) to the file,
so I want to just send the byte[] itself.
My question is, Response.Write() only takes a char[], so how can I send this
byte[]? (And what other headers might I need to set since I'm doing this
sorta manually?)
Thanks!
be the contents of an excel spreadsheet read in from the .xls file).
Now, I can't actually redirect the user (Response.Redirect()) to the file,
so I want to just send the byte[] itself.
My question is, Response.Write() only takes a char[], so how can I send this
byte[]? (And what other headers might I need to set since I'm doing this
sorta manually?)
Thanks!