How to find the count of records in a dataset?

Answer Posted / jeyaram thangaponnan

DataSet.Tables[0].Rows.Count will give the number of rows
in that table

Is This Answer Correct ?    30 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages of microsoft-provided data provider classes in ado.net?

799


What is the procedure to call a Stored Procedure of Back End in ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

825


What is the use of sqldatareader class?

720


List the 4 common ado.net namespaces?

901


What is the functionality of data provider in ado.net?

708


Why do we need ado.net?

769


What is the difference between statement and preparedstatement interface?

808


What does executenonquery () method return?

723


Why edit is not possible in repeater?

741


Define table relations?

781


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

810


What do you know about ADO.NET's objects and methods?

756


What are the ado.net objects?

737


What are the various methods provided by the DataSet object to generate XML?

845


Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

868