Help With Datagrid

Discussion in 'ASP .Net' started by vi2psn@yahoo.com, Jan 27, 2005.

  1. Guest

    How to Add images in datagrid
     
    , Jan 27, 2005
    #1
    1. Advertising

  2. > How to Add images in datagrid

    I would add a template column to the grid in the HTML, and then just place
    the picture there. If you need to retrieve pictures from database, or if
    pictures need "click"-functionality, please let us know.

    <asp:TemplateColumn>
    <ItemTemplate>
    <img src='myPicture.jpg'>
    </ItemTemplate>
    </asp:TemplateColumn>

    Jeppe Jespersen
     
    Jeppe Dige Jespersen, Jan 27, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dave
    Replies:
    0
    Views:
    478
  2. Michael Persaud

    image from sql to datagrid !!! HELP"" HELP

    Michael Persaud, May 18, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    474
    Mike Bridge
    May 18, 2004
  3. Andreas Klemt
    Replies:
    0
    Views:
    338
    Andreas Klemt
    Oct 8, 2003
  4. dave
    Replies:
    0
    Views:
    112
  5. Eric
    Replies:
    1
    Views:
    204
    Steve Goodyear
    May 21, 2005
Loading...

Share This Page