DataGrid - modifying data value for display

Discussion in 'ASP .Net Web Controls' started by jahles, Sep 12, 2003.

  1. jahles

    jahles Guest

    I have a value in a column within my db that is numeri e.g. 0,1,2, etc. and
    I want to display the text enumeration within a data grid, e.g. red, green
    or blue. I'd like to put inline code within a template column in the HTML
    side, but I'm not sure how I can get at the underlying column data value. Do
    i access the dataset within the inline code? Can I set up an enum somewhere
    on the page?. Is there some other way of doing this? I thought this would be
    simple.
     
    jahles, Sep 12, 2003
    #1
    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. =?Utf-8?B?Q2hyaXM=?=

    Modifying a dataset value?

    =?Utf-8?B?Q2hyaXM=?=, Mar 5, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    24,813
    =?Utf-8?B?Q2hyaXM=?=
    Mar 6, 2005
  2. Eagle
    Replies:
    1
    Views:
    309
    Brock Allen
    May 4, 2005
  3. Aps
    Replies:
    0
    Views:
    803
  4. rk
    Replies:
    2
    Views:
    730
    Joe Kesselman
    Jun 15, 2006
  5. JL

    How to get the data display value in Datagrid?

    JL, Dec 13, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    205
    Ken Cox [Microsoft MVP]
    Dec 16, 2003
Loading...

Share This Page