I have a GGC whose data I am changing underneath it. I do the following:
set GGC.DataSource = null
clear the datatable
set GGC.DataSource = dt.DefaultView
experience many of these exceptions:
A first chance exception of type ''System.Data.RowNotInTableException'' occurred in system.data.dll
Additional information: This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row.
* The reason for calling refresh is that in some situations I was having trouble syncing the grid to the datasource, but I don''t have the particulars on this. So, I''ve taken the call out, but I''m wondering why I am getting this exception.
ADAdministrator Syncfusion Team August 2, 2004 02:30 AM
I tried to reproduce this problem in the attached sample. There, when you click teh button, the a timer will fire in 3 seconds to reset the data. The the three seconds can be used to start editing a row or something in case the problem is related to the current state of the grid (like a row is being edited when you zap the data). But I could not come up with any set of actions that cause this exception.
So, what is different in the sample from what you are doing? The sample uses a nested datasource? is yours flat? Do you have columns grouped or sorted or have summaries or ??? Do you always see the exception? Is it reproduceable through a set of fixed steps? Are there multiple threads involved?
SGSean GreerAugust 2, 2004 11:12 AM
Thanks Clay, I''ll take a look at creating a simple repro.