Datagrid columns

rickyd

Member
Joined
Dec 12, 2004
Messages
10
Location
Brisbane
Programming Experience
10+
Hi all.

I am trying to display the records of a table in a datagrid.

What I need to know is how do I modify the column width and text in the column headers?

I have tried all the help plus done a search on this forum but can't find out how.

kind regards,

Ricky
 
You need to use a table style (and column styles). You'll find it in the propertys of your DG. Just make sure give it the same name as the datasource.

TPM
 
It works

Thanks it now works like a charm. I have even managed to show one column as currency in it's format.


Quite simple once you know how. Unfortunately I didn't find the help in VS.Net very helpful. BTW I'm currently using .Net 2002 but hopefully will be getting 2003 so I can program for my PocketPC.

kind regards,

Ricky
 
Good, glad I could help. Yes PPC programing is fun, it's one of the many thinks on my todo list.. :)
 
Back
Top