I want to change the background color of cell in datagridview which depends on the condition.
if dgv.rows(i).cell(i).value > 35 then
cell(i) should be in red color
cell(i) should be in green color
Can you write a code for me to change background color of the cell.
How do i change it if i wanted the cell to have a color according to a combobox chosen value ? please assist ?
any value that i choose in my combobox...and if that appears in my datagrid view.. i want to change its color to green..
KB - Knowledge is Power!
- Edited by kavita bhaskaran kukkala Friday, August 01, 2008 2:54 PM edited