PC Review


Reply
Thread Tools Rate Thread

Alternating row color in VB

 
 
Mike
Guest
Posts: n/a
 
      11th Mar 2004
Does anyone know how to show rows (either DataGrid or ListView) with
alternating colors? I've seen Alex F.'s C# class that does it, but I don't
know how to use that class from my Visual Basic project. Can anyone help?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFuIEFyZGVsZWFu?=
Guest
Posts: n/a
 
      12th Mar 2004
Have a look at DataGridEvenOdd sample from Alex Feinman demos page
http://www.alexfeinman.com/samples.as

It's in C# but you could adapt it to VB.
 
Reply With Quote
 
=?Utf-8?B?c2tpY293?=
Guest
Posts: n/a
 
      12th Mar 2004
Hi

You can convert Alex's C# version to VB here: http://authors.aspalliance.com/aldot.../translate.asp

skicow
 
Reply With Quote
 
Mike
Guest
Posts: n/a
 
      12th Mar 2004
That converter is pretty cool. Thanks.

Seems like there should also be a way to compile the C# code into a dll or
something that could be used by VB. Not sure how to do this.


"skicow" <(E-Mail Removed)> wrote in message
news:E7FC968E-7E89-4F27-8EEC-(E-Mail Removed)...
> Hi,
>
> You can convert Alex's C# version to VB here:

http://authors.aspalliance.com/aldot...translate.aspx
>
> skicow



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternating Color Detail Back Color =?Utf-8?B?SmF5?= Microsoft Access Form Coding 5 30th Oct 2006 04:10 PM
alternating color Candor Feg Microsoft Access Reports 2 8th Jun 2005 08:15 PM
Alternating color of months =?Utf-8?B?a2ltIG0=?= Microsoft Outlook Calendar 1 5th Aug 2004 10:01 PM
Alternating row color =?Utf-8?B?QmVu?= Microsoft Excel Misc 3 20th Apr 2004 01:37 PM
macro or vb to alternating row color mgm Microsoft Excel Programming 5 13th Feb 2004 06:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:10 AM.