AD
Administrator
Syncfusion Team
June 29, 2005 02:54 PM UTC
It would be simpler just to copy your grid.DataSource (whatever it is) into a DataTable.
The reason is that a DataTable must have a Columns collection, and more or less expects every row to have these columns populated. This is the sort of thing that your grid.DataSource has. If you want to try to somehow copy a grouped GridGroupingControl or a GridGroupingControl showing nested tables, then coming up with some appropriate schema for the target datatable is a problem.