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.

Performance issue when copying large amounts of data.

Thread ID:

Created:

Updated:

Platform:

Replies:

30908 Jun 27,2005 08:03 AM Jun 27,2005 09:29 AM Windows Forms 2
loading
Tags: GridControl
Kristian Vinther
Asked On June 27, 2005 08:03 AM

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 08:26 AM

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 09:29 AM

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

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.

;