datagridview row background color based on column value in data va

G

Guest

I'm populating a datagridview from a data table. I would like to set the
back ground color of each row based on a column value in that row. If the
value of a column for a particular row is set to 1, then the color of the row
is red, 2 color of the row is green, 3 color yellow, etc. How would I go
about doing this.
 

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

Top