|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
change colour of the selectedrow in datagridviewhello all,
How to change the colour of the selectedrow in datagridview ?? thank you.. On 10 Hun, 22:32, friend <lavanyaredd***@gmail.com> wrote:
> hello all, do it in the paint event.> > How to change the colour of the selectedrow in datagridview ?? > > thank you.. 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
Problem with Windows Server 2003 Standard R2
Variable String Limit form top most when ran from sub main Copy Constructor needed in VB.NET 2.0? FILE I/O Inheritance? Interface? Is this Normal? Creating a list of a class OT: App respository Error adding a data provider to a datagridview control Autosize the last column in a ListView control using WndProc |
|||||||||||||||||||||||