F friend Jun 10, 2009 #1 hello all, How to change the colour of the selectedrow in datagridview ?? thank you..
A Appr3nt1c3 Jun 10, 2009 #2 hello all, How to change the colour of the selectedrow in datagridview ?? thank you.. Click to expand... do it in the paint event. sample (untested) '------------------------- for each orow as datagridviewrow in dg.rows if orow.selected then orow.style.backcolor = <desired back color> orow.style.forecolor = <desired foreground color> end if next hth, '------------------------------ diego
hello all, How to change the colour of the selectedrow in datagridview ?? thank you.. Click to expand... do it in the paint event. sample (untested) '------------------------- for each orow as datagridviewrow in dg.rows if orow.selected then orow.style.backcolor = <desired back color> orow.style.forecolor = <desired foreground color> end if next hth, '------------------------------ diego