For the records fetched from database, sometimes the last few rows are not displayed depending on the query parameters. But when i click the download it has all data without missing any rows. I'm using stored proc. and the parameters for SP is passed using session.