Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating and Inserting
Message
 
À
16/12/2003 11:54:49
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00859538
Message ID:
00859554
Vues:
17
>Rick,
>
>I haven't looked through all your code, but my first reaction to this is that you need to do an .EndEdit() or an .EndCurrentEdit(). Have you checked that MyDataSet.HasChanges() is returning a true?
>
>~~Bonnie
----------------------
Bonnie,

I haven't done those things but I have tried simplifying the generated code to:
UPDATE Employees SET
LastName = "Brown_10"
WHERE (EmployeeID = 10)

And my
UpdateResult = OleDbDataAdapterEmployees.Update(DSemployees1)
still returns ZERO indicating that no records have been updated
and an inspection of the Northwind Employees Table confirms this.
(BTW - Yes, I do have a record where EmployeeID = 10 and that record's current last name is "Brown" not "Brown_10")

Rick
-----------------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform