|
-
Aug 5th, 2004, 06:39 PM
#1
Thread Starter
Hyperactive Member
Datagrid alternate row different color
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
-
Aug 5th, 2004, 06:48 PM
#2
PowerPoster
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
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Aug 5th, 2004, 06:49 PM
#3
Thread Starter
Hyperactive Member
says "File Not Found"
could you pls post the correct hyperlink.
thanks
nath
-
Aug 5th, 2004, 07:02 PM
#4
PowerPoster
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
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Aug 5th, 2004, 07:15 PM
#5
PowerPoster
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Aug 5th, 2004, 09:00 PM
#6
Frenzied Member
the datagrid has a property you can set to make every other color different. just look for it in the properties window.
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
|