Solved

Datagrid Formatting

Posted on 2006-07-03
2
200 Views
Last Modified: 2010-04-23
I am working on my first VB.Net windows app (mainly do web apps) and have been spoiled on the use of a repeater and total customization of the look and feel with it. Is there a repeater control of some sort for a windows app or does anyone know how I can make the datagrid at least look a little better (alternating row colors or something)?
0
Comment
Question by:goconcepts
2 Comments
 
LVL 5

Accepted Solution

by:
nickhoggard earned 250 total points
ID: 17032923
Hi,

I've never been that happy with the datagridview (I'm assuming you are using .NET 2.0 and the datagridview, not the datagrid), and it can be fairly tough getting it looking good with the out of the box implemenation.

I can't help you much with this sorry, but I can tell you that to do the alternating row colours you would set the AlternatingRowsDefaultCellStyle property.

If you are using .NET 1.1 and the DataGrid then I'm afraid I'm not sure.

Hope this helps

Nick
0
 

Author Comment

by:goconcepts
ID: 17032948
Yep, it will be 2.0. Thanks for the tip, I'll give it a shot!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question