Author: Muzi http://blog.9cbs.net/derny/ below can easily achieve read the image from the database and displayed in the datagrid which use ashx file
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ----------------------------------
<% @ Page language = "c #" codebehind = "bindimage.aspx.cs" autoeventwireup = "false" inherits = "showimage.bindimg"%>
bindimg title> head>