Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small ADO.NET tip
Message
 
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01135574
Message ID:
01135892
Views:
13
>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

Thank you. I am just starting with C# .NET, and will try this.
- Andy Rice
San Diego, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform