Currently, my Excel file is being created showing all the records in DB. The problem is that it shows the deleted items too.
Here is the code that I\'ve for my current ex