Total records

Discussion in 'ASP .Net' started by Paulo Roberto, Aug 13, 2007.

  1. Hi, how can I return the total of records returned from a DataSet? Because
    if I use the grdview.row.count it will show just the page total... I would
    like the whole...

    How can I do that? or must I execute another sql statement: "count(*)"
    instruction on db ?

    Thanks a lot!
    Paulo Roberto, Aug 13, 2007
    1. Advertisements

  2. dataset1.table[0].Rows.Count should do the trick
    Alvin Bruney [MVP], Aug 13, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.