westdh
asked on
Asp.Net: Help-I am passing a querystring to ShowImage.ashx of a Picture in ImageData1. It is being reconized as a is reconized as a 'System.Byte[]'
I am passing a querystring to ShowImage.ashx of a Picture in ImageData1
<img alt="httpHandler" src="ShowImage.ashx?Pictur
the problem is it ImageData1 is reconized as a 'System.Byte[]' meaning that it is still in a pack mode and needs to be streamed.
ShowImage.ashx?Picture='Sy
--------------------------
ShowImages.ashx code is in the code block and it needs correcting in order to unpack ImageData Binary Image Data to a displayable Image. I am stuck I donot no how....See Image also.
public void ProcessRequest (HttpContext context)
{
Response.ContentType = "image/jpeg"
Response.Expires = 0
Response.Buffer = True
Response.Clear()
string v = Request.QueryString["Picture"];
respone.write("test: " + v)
Response.BinaryWrite(CType(Request.QueryString("Picture"), Byte())
HttpContext.Current.ApplicationInstance.CompleteRequest()
}
}
sshot-9.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have found the problem it is with the control it self. I tried Telerix’s BinaryImageControl and it worked it allow me to page and login.
ASKER