V
Vayse
I have a datagrid bound to a table adapter. That is, gridTempSchedule is
bound to TempScheduleTableAdapter
Heres my code
If bfunCreateSchedule() Then
Me.TempScheduleTableAdapter.Fill(Me.AssetsDataSet.TempSchedule)
In bfunCreateSchedule() I delete the data from TempSchedule, and create a
new schedule.
If I run the code, gridTempSchedule just goes empty. If I step through the
Me.TempScheduleTableAdapter.Fill, the grid dsiplays correctly.
So it seems that TempScheduleTableAdapter is loading the deleted table, but
if I step through it gets enough time to load the correct data.
Any suggestions on how I would get around this?
Thanks
Vayse
bound to TempScheduleTableAdapter
Heres my code
If bfunCreateSchedule() Then
Me.TempScheduleTableAdapter.Fill(Me.AssetsDataSet.TempSchedule)
In bfunCreateSchedule() I delete the data from TempSchedule, and create a
new schedule.
If I run the code, gridTempSchedule just goes empty. If I step through the
Me.TempScheduleTableAdapter.Fill, the grid dsiplays correctly.
So it seems that TempScheduleTableAdapter is loading the deleted table, but
if I step through it gets enough time to load the correct data.
Any suggestions on how I would get around this?
Thanks
Vayse