How to Count Items in a dataset?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to do an item count of a datagrid but my problem is that the
datagrid is paged and I only get a count for the number of rows in one page
as oppose to the whole dataset which has been bound to it.

Is there some easy way to count the items in a dataset instead or another
way around this.

Cheers for any help anyone can give me.
 
Stephen,

Please don't multipost. It is not any problem to do X posting in the dotnet
newsgroups. (Sending one message to more relevant newsgroups in one time)
Than we can benefit from each other answer. And is not everybody giving the
same answer.

I answered you in another newsgroup.

Thanks in advance.

Cor
 
Josh,
myDataSet.Table[0].Rows.Count

I had almost ansered this as well. And probably is this meant, however this
count the *rows* in the first table, not the *items* in all tables.

:-)

Cor
 
Back
Top