A
Ade Majek via .NET 247
What is wrong?
I cant get data to update in MSAccess or MS-SQL when I change data in a bind control.
If I call the update method nothing happens to my changed data unless I navigate away from the record then call the update method. Is this normal?
Problem after changing data, code 1 below does not update database but code 2 does
Code 1)
daPersonnel.Update(dsPersonnel, "tblPersonnel")
Code 2)
BindingContext(dsPersonnel, "tblPersonnel").Position += 1
daPersonnel.Update(dsPersonnel, "tblPersonnel")
I cant get data to update in MSAccess or MS-SQL when I change data in a bind control.
If I call the update method nothing happens to my changed data unless I navigate away from the record then call the update method. Is this normal?
Problem after changing data, code 1 below does not update database but code 2 does
Code 1)
daPersonnel.Update(dsPersonnel, "tblPersonnel")
Code 2)
BindingContext(dsPersonnel, "tblPersonnel").Position += 1
daPersonnel.Update(dsPersonnel, "tblPersonnel")