Data grid Question

runswithsizzors

Well-known member
Joined
May 11, 2005
Messages
70
Location
Northern Michigan
Programming Experience
5-10
Is there any website or book out there that will let me know everything about the data grid? For starters, I have a filled dataset that is a select * from table, I need all the information but I don't want to display all the information form that fill. I want to display just a few columns, but when I do other calculations that is when the other fields come into play. Any tips or suggestions would be great! Thanks!
 
You could start with the VS help system. The topic entitled "DataGrid Control (Windows Forms)" has various sections that provide information on most aspects of the DataGrid. For your question specifically, you need to look at the DataGridTableStyle and DataGridColumnStyle classes.

Edit:
Obviously from the help topic I suggested I am assuming that you are using Windows Forms rather than Web Forms. Things may be (in fact almost certainly are) different in ASP.NET.
 
Last edited:
Back
Top