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

Best Options for Data Binding

Thread ID:

Created:

Updated:

Platform:

Replies:

51038 Oct 26,2006 01:12 PM UTC Oct 27,2006 06:06 AM UTC WinForms 1
loading
Tags: GridControl
Jean-Paul Malherbe
Asked On October 26, 2006 01:12 PM UTC

Hi,

Is it possible to make use of the .Net2 BindingSource as the DataSource for the GridDataBoundGrid?

My Current Situation
We are making use of a List collection as the DataSource for a BindingSource, which in turn is being consumed by a DataGridView.

However, we find this to be extremely slow. Not only does the binding to the BindingSource take long, the DataGridView is increditly slow at refreshing. Put plainly, the performance is unacceptable.

What would be my best option for binding your grid to a collection of my custom objects? Please bear in mind that I need to be able to add/modify/delete rows before the records get persisted back to the database.

I tested your grid by implementing BindingList as the DataSource for the Grid. Do you have any other recommendations?

We are currently evaluating the grid and your assistance will be greatly appreciated.

Administrator [Syncfusion]
Replied On October 27, 2006 06:06 AM UTC

Hi Jean,

Try setting the DataSource call with grid.BeginUpdate() and grid.EndUpdate() to see if that improves the performance.

grid.BeginUpdate();
grid.Binder.SuspendBinding();
grid.DataSource = Collections
grid.Binder.ResumeBinding();
grid.EndUpdate();

Please refer the browser sample that are shipped under Performance category.
\Essential Studio\3.3.0.1\Windows\Grid.Windows\Samples\DataBound\GridPerf example on GridDataBound Performance.

Let me know if you need any further assistance.
Regards,
Haneef

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

;