count(*), executescalar query results RRS feed

  • Question

  • So far I have been able to capture results from dataset and displaying them on reportviewer control . But now, I have 3 queries which return single result, examples are below:

    select count(*) from users

    select count(*) from objects

    How do I do that, please guide.


    Monday, June 26, 2006 1:17 PM