Hi,
I have a requirement where I need to create and excel file with 15000 records and 300 rows.
When I try to save the file using the following code
using (var fileData = new System.IO.FileStream(fileName, System.IO.FileMode.Create))
{
workbook.Write(fileData);
}
it is failing with OutOfMemoryException.
My question is how can I save large files (>30MB).
Thanks
Vijay
I have a requirement where I need to create and excel file with 15000 records and 300 rows.
When I try to save the file using the following code
using (var fileData = new System.IO.FileStream(fileName, System.IO.FileMode.Create))
{
workbook.Write(fileData);
}
it is failing with OutOfMemoryException.
My question is how can I save large files (>30MB).
Thanks
Vijay