WinForms, Fully Expand DataGrid

  • Thread starter Thread starter stork
  • Start date Start date
S

stork

I have a Windows Forms application with a DataGrid attached to a
DataSet. The DataSet consists of some 36 tables. I would like to
expand all of the tables at once in the grid. Is there a way to do
that? Expand(-1) doesn't seem to be doing anything.

DataSet ds = report.GetDataSet();

reportGrid.DataSource = ds;
reportGrid.Expand(-1);
 

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