datagridview row background color based on column value in data va

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top