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 the advantages of oledb compared with other classes?

2575


What is the use of data grid?

718


How can we add/remove row's in "datatable" object of "dataset"?

786


Which is faster sqldataadapter and sqldatareader?

715


What are the types of databinding?

738


Does executenonquery return a value?

728


How do you update a dataset in ado.net and how do you update database through dataset?

694


Define atomicity?

802


What are all the different methods under sqlcommand?

722


What are the namespaces used in ADO.Net to connect to a database?

825


How do you update database through dataset?

740


What are the different ado.net namespaces are available in .net?

762


how Sequence to connect and retrieve data from database using dataset?

968


Do you use stored procedure in ado.net?

788


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

780