Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small ADO.NET tip
Message
De
12/07/2006 00:53:37
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Small ADO.NET tip
Divers
Thread ID:
01135574
Message ID:
01135574
Vues:
69
Have you ever wanted to quickly determine the # of rows in a datatable, based on a specific filter condition?

Well, you can actually do it in one line of code...
int nSelected = MyDataSet.MyDataTable.Select("selected = true").Length;
Nothing spectacular, but I figured it was worth sharing.


Kevin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform