Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleted DataRows
Message
De
13/09/2002 16:35:44
 
 
À
13/09/2002 14:21:56
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00700294
Message ID:
00700344
Vues:
11
I think I remember seeing samples where there was a call to RejectChanges() after the changed rows were gathered into a new dataset.

-Mike

>Hey gang,
>
>Here's another stumper for y'all:
>
>I've deleted a row in a table. Looking at ds.Tables[0].Rows[0].RowState, I can see that the row is marked Deleted. OK, then I get the changed rows with ds2 = ds.GetChanges() and can see that ds2 *does* have a table which in fact *does* contain one row and that ds2.Table[0].Rows[0].RowState is marked as Deleted.
>
>OK so far, but now try getting that into an XML string. MyXML = ds2.GetXML(). Should work, right? It doesn't. MyXML is < MyDataSet / > ... IOW, it's empty.
>
>How the heck can I get my deleted records into the XML string??? Or is this a bug?? Any ideas??
>
>TIA,
>~~Bonnie
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform