How to find the count of records in a dataset?

Answer Posted / pushpendra singh

DataSet.Tables[0].rows.count returns total rows in table.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is openquery?

751


What is difference between dataset and datatable?

803


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

787


What are all the different methods under sqlcommand?

737


Describe ado.net object model in detail.

780


What are the different row versions available in table?

759


Does dapper use ado.net?

809


What is oledb driver?

723


What is a dataview?

738


What are the core objects of ADO.NET?

808


What is sqlconnection and sqlcommand?

745


What are the steps to connect to a database?

778


What is executenonquery ado.net?

747


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

812


Define partial class?

755