i need to send the image to asp image from memory stream.let me know the ideas regrading this
My code is
g.DrawRectangle(new System.Drawing.Pen(System.Drawing.Color.Silver), 0, 0, image.Width - 1, image.Height - 1);
System.IO.MemoryStream ms = new System.IO.MemoryStream();
image.Save(ms, System.Drawing.Imaging.ImageFormat.Gif);
Response.ClearContent();
Response.ContentType = "image/Gif";
Response.BinaryWrite(ms.ToArray());
I am calling this method in page load event
string checkCode = this.CreateRandomCode(8);
Session["CheckCode"] = checkCode;
CreateImage(checkCode);
when i call the method createImage(checkcode), only that image is coming but other textbox is not coming.
once again i need to call this method into asp image
...
Go to the complete details ...