Display image from database in ASP.net with C#
try using a handler file (.ashx) put the code form your page_load in that lie so public void ProcessRequest (HttpContext context) { //Get the picture id by url //Query here byte[] picture = queryoutput; Response.ContentType = “images/jpeg”; Response.BinaryWrite(picture); } public bool IsReusable { get { return false; } } then call the handler file and … Read more