with this i have attached my code.
i got output image at one separate pages.. But i want to show that images in image control.. so for that what are changes i want to do ..
anyone pls explain me to recover that problem..
i think, i might be do correction on following part..
bit.Save (Response.OutputStream ,ImageFormat.Jpeg);
Advance Thanks...,

Madhu KRank #1,514 · 1.1K reputationPosted Dec 9, 2010, 3:17 AM EST
In Button2 click event of webform1.aspx
Image1.ImageUrl = "image.aspx?imgid=1";
where imgid is the ID.
Suthish NairRank #92 · 22.8K reputationPosted Dec 9, 2010, 9:53 AM EST
Control to Display Binary Images in ASP.NET
link2
link3
CrishRank #1,486 · 1.1K reputationPosted Dec 10, 2010, 12:45 AM EST
This code help you to solve the problem of retrieve images from database.
Set Conn = New ADODB.Connection Conn.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB" & _ ".3.51;Data Source=" & App.Path & _ "\ImageLib.mdb" Conn.Open 'Open the recordset Set rs = New ADODB.Recordset rs.Open "ImageLibrary", Conn, _ adOpenKeyset, adLockPessimistic, adCmdTable