How to bind a db image column (byte array) to a datagrid column?

  • Thread starter Thread starter Jim Hammond
  • Start date Start date
J

Jim Hammond

How can one bind a database image column (the byte array - not the path) to
a datagrid column?

The closest thing I have found so far is this January 2002 statement by Dino
Esposito:
"Likewise, an image column could be adapted to load the bits, and not the
path, of the image directly from a blob database field. I'll reserve this
particular topic for a future column."


Thanks,

Jim
 
this is only supported by netscape, mozilla, opera and other html 4.0
complaint browsers, not IE.

<img src = 'data:image/gif;base64,<%#
System.Convert.ToBase64String(Container.DataItem) %>' >

-- bruce (sqlwork.com)
 
Back
Top