General information
Title:
Updating the record(s)
Hi,
My code is like this and im using commandbuilder and also has a relation in the table;
sda_Master.UpdateCommand = scb_Master.GetUpdateCommand
sdaDetail.UpdateCommand = scbDetail.GetUpdateCommand
If (sdaMaster.Update(DS, "PurchaseOrder") = 1) Or (sdaDetail.Update (DS, "PurchaseDetail") = 1) Then
DS.AcceptChanges()
Else
DS.RejectChanges()
End If
When I run that code it will reject the changes and there is an error updating the record.
Any code for this...
TIA
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only