Datagrid question

Discussion in 'ASP .Net Web Controls' started by William Gower, Apr 23, 2004.

  1. is it possible with a datagrid to bind it to a table that has a column that
    is an integer and then when the datagrid is display, I can tell it that if
    the field is a 1, then display this value, if a 2 display this value and so
    on?
     
    William Gower, Apr 23, 2004
    #1
    1. Advertisements

  2. You can use a helper function to do so, see this article may help:
    http://authors.aspalliance.com/Colt/Articles/Article1.aspx

    Regards,
    Juliet Choy
    Hong Kong
    Microsoft MVP - ASP.NET

    William Gower wrote:

    > is it possible with a datagrid to bind it to a table that has a column that
    > is an integer and then when the datagrid is display, I can tell it that if
    > the field is a 1, then display this value, if a 2 display this value and so
    > on?
    >
    >
    >
     
    Juliet Choy [MVP], Apr 23, 2004
    #2
    1. Advertisements

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:
    615
  2. BK Kim

    datagrid in datagrid

    BK Kim, Feb 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    768
    Alvin Bruney [MVP]
    Mar 2, 2004
  3. Amar
    Replies:
    0
    Views:
    657
  4. matthew schouppe
    Replies:
    3
    Views:
    2,548
    Scott Allen
    Apr 30, 2004
  5. Patrick Delifer

    Updating Datagrid from outside datagrid

    Patrick Delifer, May 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    424
    Natty Gur
    May 4, 2004
  6. RSB
    Replies:
    2
    Views:
    1,379
  7. Martin Marinov
    Replies:
    2
    Views:
    5,707
  8. Andreas Klemt
    Replies:
    0
    Views:
    505
    Andreas Klemt
    Oct 8, 2003
Loading...