I am getting huge data from database approx a million and trying to store it using csv format in excel like :
response.setContentType("application/ms-excel");
response.setHeader("Content-Disposition", "inline;filename=newfile.csv");
but as the data is huge and excel can take only 65K at one time its failing.
Please let me know how to download data in multiple excel files at one go....