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 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!

Live Chat Icon For mobile
Up arrow icon