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.
Unfortunately, activation email could not send to your email. Please try again.

GridDataboundGrid - bind a new dataset

Thread ID:

Created:

Updated:

Platform:

Replies:

9532 Dec 23,2003 09:39 AM Dec 23,2003 12:36 PM Windows Forms 2
loading
Tags: GridControl
Rob Garrett
Asked On December 23, 2003 09:39 AM

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

Rob Garrett
Replied On December 23, 2003 12:36 PM

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.

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.

;