How to show the column headers for a DataGridView

G

Guest

Hi folks,
I created a DataGridView control as below:
....
DataGridView grid = new DataGridView();
....
ds = new System.Data.DataSet();
ds.Fill(ds, "dsTable1");
BindingSource bindsrc = new BindingSource();
bindsrc.DataSource = ds;
bindsrc.DataSource = "daTable1";
grid.DataSource = bindsrc;

When I run the application, everything is fine. But no column headers show
up. Please advise. Thanks.
PeterK
 
G

Guest

When I first developed this application, I could see the column headers.
Later I added the menu,the headers disappered. they must be coverred by the
menu. I am apology for this confusion.
peterK
 

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

Top