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

Which keyword is used to accept variable number of parameters?

1166


What is the difference in an abstract class and an interface?

1067


Which is better ole db or odbc?

954


What are the features of ado.net?

1115


Explain the architecture of ado.net?

1131


How to retrieve the user id which is provided while windows authentication?

1146


What are the drawbacks of using ado.net?

1013


Explain executenonquery?

1224


What is difference between sqldatareader and sqldataadapter?

974


What is difference between ado.net and asp net?

1090


What is oledb connection?

1035


How to generate a single aggregate?

1023


What are the key events of sqlconnection class?

1246


What is the default timeout specified for "sqlcommand.commandtimeout" property?

1104


Which object needs to be closed?

2306