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

Performance issue when copying large amounts of data.

Thread ID:





30908 Jun 27,2005 12:03 PM UTC Jun 27,2005 01:29 PM UTC WinForms 2
Tags: GridControl
Kristian Vinther
Asked On June 27, 2005 12:03 PM UTC

Hi There. Does anybody have some idea of the general performance of the GridDataBoundGrid, when you try to copy large amounts of data? We have had some support issues with users thinking their client was "dead", when trying to copy 6000+ rows of data. Is there any ways to tweak the speed of the copying process?

Administrator [Syncfusion]
Replied On June 27, 2005 12:26 PM UTC

Do not use the grid to copy the data. Instead, handle grid.Model.ClipboardCopy, and move the data directly from the datasource (ie, the DataTable) directly onto the clipboard. If you try to use the grid to do this, it has to go through the indexer to get at each piece of data. This raises events and generally slows things down when you want to work with large amounts of data. But it is usually very efficient to loop directly through the datatable to get at the data, building a tab/newline delimited string using a StringBuilder. Here is a forum thread that gives references to several copy/paste samples that show how to customize this behavior. I do not think any do exactly what you want, but they do show how to catch the events and use the clipboard. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=22163

Kristian Vinther
Replied On June 27, 2005 01:29 PM UTC

Thanks, I''ll try to look in to it.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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