datagrid question

G

Guest

In a winForm datagrid, is there anyway to customize the colums?

currenlty i'm showing everythign in my dataset, but now I want to limit what
is shown and place some formatting on the data.


Example:
Column 1 Column 2 Column 3
Car Make Year

and thats it, all the other data is used else were
 
G

Guest

Jan. 31, 2005

You could set the TableStyles property of the datagrid. Just add a
table style at run or design time and then add use the MappingName property
to bind it to a datatable. Then use the GridColumnStyles property of the
tablestyle to add columnstyles of which you bind the MappingName to a column
in a table. I hope this helps! Have a great day!


Joseph MCAD
Microsoft Certified
Application Developer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top