GridDataboundGrid - bind a new dataset

I need to bind a new, replacement, dataset to a existing DataboundGrid at runtime (the code is not using a DataAdapter). What steps are required? Thanks. Rob

2 Replies

AD Administrator Syncfusion Team December 23, 2003 04:31 PM UTC

Rob, Try to reset the grid first with the following lines. this.gridDataBoundGrid1.DataSource = null; this.gridDataBoundGrid1.Binder.ResetHierarchyLevels(); After that assign the new data source. Stefan


RG Rob Garrett December 23, 2003 05:36 PM UTC

That does it! Thanks Stefan!

Loader.
Up arrow icon