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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataboundGrid - bind a new dataset

Thread ID:

Created:

Updated:

Platform:

Replies:

9532 Dec 23,2003 02:39 PM UTC Dec 23,2003 05:36 PM UTC WinForms 2
loading
Tags: GridControl
Rob Garrett
Asked On December 23, 2003 02:39 PM UTC

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

Administrator [Syncfusion]
Replied On 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

Rob Garrett
Replied On December 23, 2003 05:36 PM UTC

That does it! Thanks Stefan!

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;