J
Joe
Hello all,
I'm having a performance problem using the DataTable.DefaultView.RowFilter.
When setting the filter to MyField = "Something" this takes about 12 seconds
(this isn't the issue). Next if I change the filter to MyField In
('SomethingElse') it takes about 1 second (still not the issue), Next I set
the filter to "". This takes about 5 seconds (still not the issue). Finally
if I set the filter back to MyField = "Something" or MyField In
('SomethingElse') it takes like 30-45 seconds. This is the issue.
My DataTable is bound to a single control but I remove the binding prior to
changing the RowFilter and it doesn't make a difference.
In a test app the 1st filter takes 12 seconds, the 2nd filter takes 468 ms,
no filter takes 6 seconds and back to the 1st takes 453 ms.
I cannot find a way to debug what it's doing in my actual app. I tried
stepping into RowFilter = "....." but nothing happens (thought maybe there
was an event I subscribed to and forgot) and as far as I can tell there are
no other controls bound to this DataTable.
Are there any tricks out there that may help me narrow this down?
Thanks for any help,
Joe
I'm having a performance problem using the DataTable.DefaultView.RowFilter.
When setting the filter to MyField = "Something" this takes about 12 seconds
(this isn't the issue). Next if I change the filter to MyField In
('SomethingElse') it takes about 1 second (still not the issue), Next I set
the filter to "". This takes about 5 seconds (still not the issue). Finally
if I set the filter back to MyField = "Something" or MyField In
('SomethingElse') it takes like 30-45 seconds. This is the issue.
My DataTable is bound to a single control but I remove the binding prior to
changing the RowFilter and it doesn't make a difference.
In a test app the 1st filter takes 12 seconds, the 2nd filter takes 468 ms,
no filter takes 6 seconds and back to the 1st takes 453 ms.
I cannot find a way to debug what it's doing in my actual app. I tried
stepping into RowFilter = "....." but nothing happens (thought maybe there
was an event I subscribed to and forgot) and as far as I can tell there are
no other controls bound to this DataTable.
Are there any tricks out there that may help me narrow this down?
Thanks for any help,
Joe