DataGrid - modifying data value for display

J

jahles

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top