I have a grid when I update the status of an item it is not supposed to show on the grid anymore. My sql is right but grid fx gives me this
There was a problem while processing your request.
The specific error message was: Exception type: GridFX.WebForms.DataBindingExceptionMessage:
Item 'ctl00$ContentPlaceHolder1$SimPatientGrid$i2 has a DataItemIndex of 2 which is outside the current record list to bind, which has 2 records.
Stack Trace: at GridFX.WebForms.Grid.ab() at ps.m() at ps.a() at ps.o()
at GridFX.WebForms.Grid.a(GridItem A_0)
at GridFX.WebForms.GridCommands.e(CellContainerCommandArgs`1 A_0)
at GridFX.WebForms.Command`1.b(TArgs A_0)
at GridFX.WebForms.Command`1.a(CommandArgs A_0)
at GridFX.WebForms.Grid.a(String A_0, o9 A_1)
at GridFX.WebForms.Grid.k(String A_0)