Subject: change row color
Posted By: vivek_pon Post Date: 4/3/2006 6:50:04 AM
how can i change row color of datagrid in vb.net

please help me

viv
Reply By: shazia1 Reply Date: 4/4/2006 2:53:34 PM
same question is also from my side, but wid a little difference
i wanna highlight/color a specific [row, column] of datagrid, instead of whole row. Plz tell w.r.t C#

Reply By: HumaMunir Reply Date: 4/12/2006 3:20:17 PM
I dont know how to change color a specific cell but You can change color of alternate rows by changing back color of alternate row color property in property window. and can change specific column's color with the help of "property builder > format > columns ".

HTH


HumaMunir
Reply By: jbenson001 Reply Date: 4/13/2006 1:42:27 PM
use the itemdatabound event.  You can then grab the row and change the color, the same for the cell once you grab the row.


Go to topic 42721

Return to index page 314
Return to index page 313
Return to index page 312
Return to index page 311
Return to index page 310
Return to index page 309
Return to index page 308
Return to index page 307
Return to index page 306
Return to index page 305