Hi,
I'm currently using the following code to count non-deleted rows in a
DataTable. Is there another more efficient method?
int count = (int)myDataSet.myDataTable.Computer("Count(columnId)","");
// The following will also count the deleted rows
int count = myDataSet.myDataTable.Count
Thanks
Marina - 05 Jan 2006 13:49 GMT
I believe the DefaultView of the datatable is set up for only non-deleted
ones, check the count of that.
> Hi,
>
[quoted text clipped - 7 lines]
>
> Thanks