How count records retu

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
R

Ronald S. Cook

I have the following code for which I would like to know how many records
are returned.

G2BTel.Classes.MSO objMSO;
objMSO = new G2BTel.Classes.MSO
grdMSO.DataSource = objMSO.SelectMSO();

It is a SqlDataReader object being used in my class and that is returned,
but how can I know how many records it is returning?

Thanks for any help,
Ron
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top