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. 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. JL
    Replies:
    3
    Views:
    2,551
  2. =?Utf-8?B?Q2hyaXM=?=

    Modifying a dataset value?

    =?Utf-8?B?Q2hyaXM=?=, Mar 5, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    25,897
    =?Utf-8?B?Q2hyaXM=?=
    Mar 6, 2005
  3. Eagle
    Replies:
    1
    Views:
    387
    Brock Allen
    May 4, 2005
  4. Aps
    Replies:
    0
    Views:
    1,010
  5. Jason Heyes
    Replies:
    11
    Views:
    914
    Jason Heyes
    Feb 9, 2005
  6. rk
    Replies:
    2
    Views:
    832
    Joe Kesselman
    Jun 15, 2006
  7. JL

    How to get the data display value in Datagrid?

    JL, Dec 13, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    284
    Ken Cox [Microsoft MVP]
    Dec 16, 2003
  8. Guest
    Replies:
    2
    Views:
    308
    Bob Barrows [MVP]
    Feb 20, 2006
Loading...