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);
 
Back
Top