How to find the count of records in a dataset?

Answer Posted / eduardo belmonte

Regarding answer # 3 : It is correct.

Regarding answer # 2 : It is not correct, remember a
dataset contains datatables, and those datatables each can
have its own amount of datarows.

So to know "all" datarows in a dataset you have to add how
many rows "each" of its component datatables may have.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the steps to connect to a database?

487


What DataReader class do in ADO.NET ?

576


How can you add or remove rows from the datatable object of dataset?

573


What is an ado connection?

522


What is the namespaces being used to access oracle database?

508






How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

544


What is dbcontext and dbset in entity framework?

478


Which is the best method to get two values from the database?

513


What is the difference between executenonquery () and executescalar ()?

478


how we can fire event in databound coulm in datagfrid withot using button?

565


How would you connect to database using .NET?

563


What is the difference between Datareader and Dataset?

534


How to retrieve the user id which is provided while windows authentication?

583


Explain the dataadapter class in ado.net?

652


What is disconnected architecture in ado.net?

496