foreach (Table myTable in myAdventureWorks.Tables) { int count = //logic for getting total number of records. //Print number of records for every table. } There are total 5 tables in myAdventureWorks database. I want to get number of records present in each table and want to store number of records in integer datatype.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)