How to get the count of records in the Database table using the DataSet

Platform: ASP.NET|Category: ADO.NET

VB.NET

ds.Tables(0).Rows.Count

C#

ds.Tables[0].Rows.Count ;