exception of type 'system.outofmemoryexception' was thrown
<p>My page throws error exception of type 'system.outofmemoryexception' was thrown .</p>

<p>This happens when i press submit button in submit button there are sqlconnections with stored procedure as im populating grid with data .</p>

<p>It gives error when i put code in submit button. But when i put tht on page load it works good .</p>

<p>Can anyone help me on  this .</p>

<p>Thanks,
Smartdev</p>
