What is the maximum Number of Tables Stored in Dataset?

 Posted by Shankul2784 on 7/28/2010 | Category: ASP.NET Interview questions | Views: 11665

The maximum size is limited by Int32. So 2^32 is the maximum number of DataTables you can hold inside a DataSet. So the max size is 2 billion.

Asked In: One Interview | Alert Moderator 

Comments or Responses

Posted by: Krishnasamy2008 on: 7/31/2010
The maximum size is limited by Int32 is 2^32.and Tables.Count property will return you an integer value.
DataSet ds=new DataSet();
int count=ds.Tables.Count;//it will give the total number of tables in your dataset.
Posted by: Sheonarayan on: 10/28/2013 | Points: 10
To quantify this, a DataSet can hold 2,147,483,648 DataTables in DataSet provided your Server memory supports it.

Login to post response