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.Redir ect()) 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!
--
Adam Clauss
cabadam@tamu.ed u
be the contents of an excel spreadsheet read in from the .xls file).
Now, I can't actually redirect the user (Response.Redir ect()) 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!
--
Adam Clauss
cabadam@tamu.ed u
Comment