Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to bind a db image column (byte array) to a datagrid column?

Reply
Thread Tools

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

 
 
Jim Hammond
Guest
Posts: n/a
 
      11-26-2003
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


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      11-26-2003
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)


"Jim Hammond" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bind a dropdown in a column in a datagrid based on the dropdown value selected in another column of the datagrid. vishnu ASP .Net 1 03-25-2006 01:24 PM
how do i access a dropdownlists selected value in a datagrid edititemtemplate column from the selectedindexchanged event of another dropdownlist in a datagrid edititemtemplate column Dave M ASP .Net Datagrid Control 0 12-14-2004 11:53 AM
Re: datagrid, each column bind dynamically? Rez ASP .Net 0 02-11-2004 12:36 AM
Can't bind image column in datagrid Jim Hammond ASP .Net 1 11-26-2003 12:00 AM
bind data to a textbox in a template column in WebForm DataGrid Jodi ASP .Net Datagrid Control 0 08-13-2003 05:51 PM



Advertisments