M
michal januszczyk
my aspx page gets binary data with ms-word file. (just
byte[] array). I want this data to send back to the
browser, but when i try to do this with the following
method:
byte[] binaryData =....
Response.BinaryWrite(binaryData);
the binary data is appended with some html header .
Obviously winword does not recognize the file format.
The question is:
How to reply the browser in a way, that it would
recognize the file format and open the file ?
Thanx for any suggestions
Michal Januszczyk
byte[] array). I want this data to send back to the
browser, but when i try to do this with the following
method:
byte[] binaryData =....
Response.BinaryWrite(binaryData);
the binary data is appended with some html header .
Obviously winword does not recognize the file format.
The question is:
How to reply the browser in a way, that it would
recognize the file format and open the file ?
Thanx for any suggestions
Michal Januszczyk