We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 11:31 AM

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 12:36 PM

That does it! Thanks Stefan!

Loader.
Live Chat Icon For mobile
Up arrow icon