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
Printable View
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.Quote:
Originally Posted by capitalx
Hi,Quote:
Originally Posted by capitalx
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