How to find the count of records in a dataset?

Answer Posted / guest

foreach(DataTable thisTable in myDataSet.Tables){
// For each row, print the values of each column.
foreach(DataRow myRow in thisTable.Rows)}

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the clone() and copy() methods of the dataset class?

540


How to pass multiple tables in datasets simultaneously?

562


What are dcl commands?

502


What are the 3 major types of connection objects in ado.net?

534


What is dataset object? Explain the various objects in dataset.

584






Why is it important to close an ado.net application?

524


What are the advantage of ado.net?

513


Does entity framework use ado.net?

496


How to read data with the sqldatareader ?

529


What are the important features of ado.net 2.0?

588


What is ole db and odbc?

513


What is microsoft ole db provider for sql server?

474


What is the difference between ado.net and oledb?

477


What is shadow copy?

570


can we create synonymn in ms access,sql server,my sql if so explain me with example

1569