How to show the column headers for a DataGridView

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top