Ashok,
A possible solution would be something like this:
<asp:datagrid>
<columns>
<itemtemplate>
<img src='./display_image.aspx?imageID=[IDhere]'>
<itemtemplate>
</columns>
</datagrid>
1 I know this code is not syntactially correct, its not meant to be, its just to give you an idea.
2 The image link references another .NET page; what happens is that that page will get sent the value of the image id which should reference a row in your database. You can then pull that binary stream from the Database and return it via that page [display_image.aspx] and it should be displayed in your datagrid.
This is a very rudeimentary thing to do (IMHO).
-Doug
"The one language all programmers understand is profanity."
|