Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to find the count of records in a dataset?

Answer Posted / vaidyanathan r.

int count = 0
foreach(DataTable CurrTable in DataSet1.Tables)
Count += currTable.Rows.Count;

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to identify the controls which can be used for binding data?

993


What is the use of sqldatareader class?

996


differance between ADO vs ADO.Net?

1060


What is a serialized object?

1012


What connected data?

954


What are two important objects of ADO.Net?

1016


What is difference between executenonquery and executequery?

967


What is fill method in ado.net?

975


How can I retrieve two tables of data at a time by using data reader?

1013


What is ado connection?

947


Is datareader faster than datatable?

962


What does ado stand for?

905


What is difference between Dataview and Datatable?

1063


How do you connect to sql server database without using sqlclient?

1106


Explain how can we load multiple tables in to dataset?

941