Custom row styling in a datagrid depending on certain data in ASP.

G

Guest

I've got a website, written in ASP.Net 1.1, that displays a workschedule.
I'm using a disconnected DataSet to display certain fields in a DataGrid.
Data fields are:

Start Date - Start Time - End Date - End Time - Type of Work

What I want to do is change the ForeColor (color of font) of each row
depending on the type of work being done. For each type of work being done,
each will have a specific color. IE - welding (in Type of Work field) will be
blue, and I would like the whole row to be blue. Next row, depending on the
work, will be a different color. I can't find any documentation on how to
accomplish this, and would like a little help. I appreciate it.
 

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,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top