Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating the record(s)
Message
De
11/10/2003 10:57:20
Larry Santos
Local Data System
Philippines
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Updating the record(s)
Divers
Thread ID:
00837818
Message ID:
00837818
Vues:
73
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
Répondre
Fil
Voir

Click here to load this message in the networking platform