I have been trying to take a look at the approach in this article about writing to excel using OpenXML: https://blogs.msdn.microsoft.com/brian_jones/2010/06/22/writing-large-excel-files-with-the-open-xml-sdk/
I currently have a function that grabs all the rows from my database and stores it temporarily, and then i write each row one by one. With the SAX approach, both my original and replacement sheets are originally empty. What is the point of reading from the original sheet if there is nothing in there?
Is the SAX method only for excel->excel? The description makes it sound like it is viable for database->excel