How to find the count of records in a dataset ?

 Posted by Bharathi Cherukuri on 5/21/2012 | Category: ADO.NET Interview questions | Views: 1206 | Points: 40
Answer:

By using the below Code, we get the count of records in a Dataset.

DS.Tables["tabname"].Rows.Count;


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response