|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Does DataSet.Copy() remove event handlers?I'm wireing some event handlers to tables in a DataSet. This is performed in
EndInit(). Everything works well untill I use the Copy() method of the DataSet class. I see that the EndInit is run for the copy, so that the event handlers are correctly added. But at some time the connection between the tables and the event handlers is lost. I suspect that Copy() does something after calling EndInit. Does anybody now why this happens and how I can avoid it? Maybe EndInit is not a good place for wireing up events? |
|||||||||||||||||||||||