Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DataGrid - modifying data value for display

Thread Tools

DataGrid - modifying data value for display

Posts: n/a
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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display an existing XML in browser as readable without modifying it. rk XML 2 06-14-2006 11:03 PM
Is the datagrid the only control that can be used for modifying data? Eagle ASP .Net 1 05-04-2005 08:57 PM
Modifying a dataset value? =?Utf-8?B?Q2hyaXM=?= ASP .Net 3 03-06-2005 02:07 PM
How to get the data display value in Datagrid? JL ASP .Net Datagrid Control 1 12-16-2003 03:31 AM
Modifying http 1.1 keepalive timeout value in java Aps Java 0 07-30-2003 10:54 PM