This question is locked. New answers and comments are not allowed.
I have a performance problem with Data Exporting.
I export the data in gridview like following source,
or output to clipboard like following source,
It takes over 30s to output data about 20,000 with PC that spec is Inter i7, memory is 8GB,
and takes over 1min to output the same data with PC that spec is Inter dual core 2 1GHz, memory is 1GB.
The time of processing is too long to me,
there is any way to prompt the performance of outputting data ?
Best regards
I export the data in gridview like following source,
GridViewExportOptions exportOptions =
new
GridViewExportOptions();
exportOptions.Format = format;
exportOptions.ShowColumnFooters =
false
;
exportOptions.ShowColumnHeaders =
true
;
exportOptions.ShowGroupFooters =
false
;
exportOptions.Encoding = System.Text.Encoding.Unicode;
exportOptions.Items = ((QueryableCollectionView)gridView.ItemsSource).SourceCollection;
gridView.Export(stream, exportOptions);
or output to clipboard like following source,
System.Windows.Clipboard.SetText(gridView.ToText(((QueryableCollectionView)gridView.ItemsSource).SourceCollection,
true
,
false
));
It takes over 30s to output data about 20,000 with PC that spec is Inter i7, memory is 8GB,
and takes over 1min to output the same data with PC that spec is Inter dual core 2 1GHz, memory is 1GB.
The time of processing is too long to me,
there is any way to prompt the performance of outputting data ?
Best regards