Export to Excel from dataset with out using htmltextwriter
- by senthil
Export to Excel from dataset with out using htmltextwriter
Hey, I'm having an issue occuring when I want to import data back into a table from a file. My export creates a file successfully as a .xls file. However, my contents for the file are being written as standard html table as seen below rather than the file content that normal excel files are saved in.
The issue I have now is this. I need to take this file along with whatever changes or additions that were made by an end user and upload it back to a table in SQL Server. The error I get is:
External table is not in the expected format.