I am using datagrid to show the contents of table. I am using sqldataadapter control.
How can I set alternate row to different color.
thanks
nath
Printable View
I am using datagrid to show the contents of table. I am using sqldataadapter control.
How can I set alternate row to different color.
thanks
nath
HI,
The following thread will show you how to do this in a ListView. You should be able to adapt it.
http://www.vbforums.com/showthread....threadid=296660
could you pls post the correct hyperlink.
thanks
nath
HI,
I don't know what happened there. It should have gone straight to an answer I posted. I will try to find it.
Meanwhile have a look at someone else's approach.
http://www.vbforums.com/showthread.p...=listview+rows
Hi,
Still can't find mine but here is another
http://www.vbforums.com/showthread.p...listbox+colors
the datagrid has a property you can set to make every other color different. just look for it in the properties window.