>From a ListBox SelectedIndexChanged eventhandler I'm calling a method to re-populate an EntityList of an BO that is the BindingSource for a GridView. But when I call the BO method to repopulate the EntityList the RowDataBound of the GridView fires and I get the following error coming from the BO Entity.
>
>System.Data.RowNotInTableException was unhandled by user code
> Message="This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row."
What is your RowDataBound method. Do you check
if (e.Row.RowType == DataControlRowType.DataRow)
If it's not broken, fix it until it is.
My Blog