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.

Databinding to a dataset

Thread ID:

Created:

Updated:

Platform:

Replies:

75144 Jul 14,2008 07:00 PM Jul 14,2008 07:23 PM WPF 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 14, 2008 07:00 PM

Is it possible to use databinding to bind the values in a DataSet or DataTable to the WPF grid?

The TraderGridTest uses a DataSet but doesn't use databinding to update the cells.


Administrator [Syncfusion]
Replied On July 14, 2008 07:23 PM

Currently, you would have to use the grid in virtual mode, handling QueryCellInfo and CommitCellInfo to do the databinding. Below is a little sample showing how you might do this. In future releases, there will be a way to do things just by setting a DataSource property.





VirtualGridDataTableSort_4e45ef8d.zip

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.

;