Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if a table exist in a dataset
Message
De
28/10/2002 13:52:31
 
 
À
28/10/2002 13:47:18
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00715973
Message ID:
00716128
Vues:
23
Christian,

To be honest, I don't know whether there's a difference or not. Why don't you try both and see what each one does. I think the main thing was that you needed your "if" to be checking the Rows.Count (assuming that you were just wanting to zap the table and re-fill the rows each time).

~~Bonnie

>HI Bonnie,
>What is the difference between ...["MyTable"].Clear and ...["MyTable"].Rows.Clear ?
>
>Thank you,
>Christian
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform