I don't know that you can expand everything all at once, but look at this
link as the author provides some insights on how you can code it up to
support this functionality. They are writing for ASP.NET but the concept
should be exactly the same for windows forms.
http://www.dotnetjunkies.com/Tutoria...B55057FF3.dcik
"stork" <tb******@mightyware.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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);