Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if a table exist in a dataset
Message
From
28/10/2002 13:52:31
 
 
To
28/10/2002 13:47:18
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00715973
Message ID:
00716128
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform