The error must be somewhere else, that simple cannot be related to a MessageBox.Sho being there or not.
Replace MessageBox.Show with System.Diagnostics.Trace.WriteLine("kk"); and check the output window when you debug your code. Does the kk appear Does your code seem to do what you expect Who fills editDataset Same thread, different thread
-- SvenC
|