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. Advertising

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

    datagrid in datagrid

    BK Kim, Feb 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    537
    Alvin Bruney [MVP]
    Mar 2, 2004
  3. =?Utf-8?B?U3VyZXNo?=
    Replies:
    0
    Views:
    521
    =?Utf-8?B?U3VyZXNo?=
    Mar 2, 2004
  4. Brian K. Williams
    Replies:
    0
    Views:
    543
    Brian K. Williams
    Mar 2, 2004
  5. Andreas Klemt
    Replies:
    0
    Views:
    292
    Andreas Klemt
    Oct 8, 2003
Loading...

Share This Page