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.
Syncfusion Feedback

DeleteRecord performance

Thread ID:

Created:

Updated:

Platform:

Replies:

78905 Jan 9,2009 02:40 PM UTC Jan 13,2009 03:05 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 9, 2009 02:40 PM UTC


I am using a GridGroupingControl.Table (version 4.2) and C#. We have a performance problem when deleting a large amount of records with the following code:

foreach (SelectedRecord r in Table.SelectedRecords)
{
Table.DeleteRecord(r.Record);
}

This can take several hours for 50000 records. Is there a more effective way to delete a large amount of records?




Rajadurai C [Syncfusion]
Replied On January 13, 2009 03:05 PM UTC

Hi Kazuaki,

Thanks for your interest in Syncfusion products.

To get better performance in deleting records, please refer to the GroupingPerf browser sample in the following location
[LocalDrive]:\\Syncfusion\EssentialStudio\[version]\Windows\Grid.Grouping.Windows\Samples\2.0\PerformanceSamples\GroupingPerf

In this sample, the memory usage log is shown which illustrates how faster the records are getting deleted.

Please let me know if you have any further concerns.

Regards,
Rajadurai


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

;