I have one DataSet that contain 2 relate DataTable (master and details). I want to copy data that match my filter (e.g. master data column A = ‘XXX’) to another DataSet.
Now I found that this process take a very very long time (about one hour for 1k records).
I want to know how to improve this processing time?
I’d say copy-ing 1000 records should only take a few milliseconds. Make sure there are no events firing or databindings doing strange things.. Maybe you should try without the relations but I believe enforcecontraints=false also disable foreign key checking..
The following code copies a complete dataset quite fast: