title: DataTable row limit
body: <p>Morning,</p>
  
  <p>Regarding the following quote, is this limit independent of how many columns there are? (Im assuming not but its not specifically stated anywhere.) If it is linked to the number of columns, how do you calculate that your not over this limit?</p>
  
  <blockquote>
    <p>To add rows to a DataTable, you must first use the NewRow method to return a new DataRow object. The NewRow method returns a row with the schema of the DataTable, as it is defined by the table's DataColumnCollection. The maximum number of rows that a DataTable can store is 16,777,216. For more information, see Adding Data to a DataTable.</p>
  </blockquote>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx" rel="nofollow">"Link to where quote was taken from."</a></p>
  
  <p>Thanks for your help.</p>