Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small ADO.NET tip
Message
From
12/07/2006 00:53:37
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Small ADO.NET tip
Miscellaneous
Thread ID:
01135574
Message ID:
01135574
Views:
68
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
Next
Reply
Map
View

Click here to load this message in the networking platform