|
-
Nov 27th, 2005, 12:34 PM
#1
Thread Starter
New Member
binary picture can't be displayed on web page!
The binary picture which was saved in database, can't be dispalyed on the web page. I can see system.byte[] instead of picture!
code:
--------
byte[] byteArray = (byte[]) ReaderObj["Picture"];
Response.ContentType=ReaderObj["ImageType"].ToString();
Response.ContentType = "Image/JPEG";
Response.BinaryWrite(byteArray);
In your opinion is it a service pack problem or what? As I read this article on this link http://support.microsoft.com/?id=826756 but the pictures which were saved in database are less than 10 kb, really I don't know what to do when the logic is so easy and straight farward!
please a help, how can I solve this problem!!!!!!!
Regards,
Ranine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|