title: System.OutOfMemoryException when binding a gridview to a datatable having more then 400000 records
body: <p>Dear,
  I am facing system.outofmemmory exception when binding a gridview with a datatable having more then 400000 records please find the below sample code for the same </p>
  
  <pre><code>GridView gv = new GridView();
  this.EnableViewState = false;
  gv.DataSource = (DataTable)dt;
  gv.DataBind();
  </code></pre>
  
  <p>Kindly help me to overcome in this situation is there any limitation of gridview for databind?</p>