|
-
Feb 16th, 2006, 05:08 AM
#1
Thread Starter
New Member
odd rows color change
in data grid, how can i change the row colors based on there ordrer, ex. odd records will have grey backgroupd, even records will be white
-
Feb 16th, 2006, 05:17 AM
#2
Re: odd rows color change
 Originally Posted by capitalx
in data grid, how can i change the row colors based on there ordrer, ex. odd records will have grey backgroupd, even records will be white
Have you tried the AlternatingBackColor property of the datagrid.
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Feb 16th, 2006, 02:20 PM
#3
Re: odd rows color change
 Originally Posted by capitalx
in data grid, how can i change the row colors based on there ordrer, ex. odd records will have grey backgroupd, even records will be white
Hi,
I found a link with an example about the background color of even-numbered rows of the grid.
You'll find the explaination and more in this link:
http://msdn.microsoft.com/library/de...ColorTopic.asp
Hope its helpfull.
sparrow1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|