Datagrid don't update corectly

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My problem is in datagrid witch don't want to update allways? Problem is : i have to select row in datagrid (witch i have added new or edit ) and than click on button (datagrid1.update (dataset)) and only then changes will update. If i make change on some data and then go to some other row changes will be lost? ho to solve this ?
 
Hi Voja,

Probably 2 errors,
You do somewhere in your program dataset.acceptchanges on the wrong place
and before you do an update you do not do

DirectCast(BindingContext(ds.Tables(0)), CurrencyManager).EndCurrentEdit()

Cor
 
Back
Top