Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating the record(s)
Message
From
11/10/2003 10:57:20
Larry Santos
Local Data System
Philippines
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
Updating the record(s)
Miscellaneous
Thread ID:
00837818
Message ID:
00837818
Views:
74
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
Map
View

Click here to load this message in the networking platform