Making Datagrid Display Table data.

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

Guest

Hi Everyone,
I've been working on a convertion project and have several Datagrids that
once filled with data, no data is displayed until I click on the + sign in
the grid, then the table name. How can I make the datagrid default to display
the data and not be un-expaned. Thanks.
Michael
 
Hi,

Set the datasource to the datatable.

dataset.tables(0)
or
dataset.tables("My Table name")

Ken
--------------------------
Hi Everyone,
I've been working on a convertion project and have several Datagrids that
once filled with data, no data is displayed until I click on the + sign in
the grid, then the table name. How can I make the datagrid default to
display
the data and not be un-expaned. Thanks.
Michael
 
Hi Ken,
Thank you for the reply. That worked great. Its been alittle frustrating
since I started using VB.Net (from VB6). I've found some of the info harder
to find than it used to be. But I'm working through it all. Thanks again for
the help.
Michael
 

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