title: How to export large data to Excel
body: <p>I have a criteria page in my asp.net application. When user clicks report button, firstly in a new page results are binded to a datagrid, then this page is exported to excel file with changing content type method. </p>
  
  <p>That normally works, but when large amount of data comes, system.outofmemoryexception is thrown. </p>
  
  <p>Does anyone know a way to fix this problem, or another usefull technic to do?</p>