ListChanged fires although BeginEdit called in .Net 1.1 SP1

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Parts of our application perform poorly on machines that have the .Net 1.1
SP1 applied. Turns out it is due to the DataView ListChanged event handler
being called even though BeginEdit was called.

I have a stand alone test program that demonstrates the issue, it runs about
7x slower after the SP1 is applied.

Are there any workarounds or fixes?

(I can post the test program if that is necessary, my guess is this is a
known issue).

--Russ
 
Should have said that BeginLoadData() was called first.

I have since found this KB article explaining that this problem was
introduced to fix threading issues in DataView classes. It is hard to
understand how sending more events (rather than suppressing them after
BeginLoadData()--as was the case) would be necessary to avoid threading
problems.

http://support.microsoft.com/default.aspx?scid=kb;en-us;895210

Given the pain this has caused us, I would appreciate an explanation from a
developer responsible for System.Data code.

--Russ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top