datagrid question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to populate a datagrid but I dont need headers, so how can I bind the
datagrid and only show the data I need, second how can I hide the headers of
the grid?
 
You need to look at the DataGrid.TableStyles class. In there you can hide
Column Headers (columnheadersvisible I think) You can also add columns to
the tablestyles class which will be the columns that will display. If you
want to see how this works, do it in the designer and then look at the code
the designer adds to the form.

Chris
 

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

Back
Top