Export to Excel from dataset with out using htmltextwriter
Posted
by senthil
on Stack Overflow
See other posts from Stack Overflow
or by senthil
Published on 2010-03-30T12:16:01Z
Indexed on
2010/03/30
12:23 UTC
Read the original article
Hit count: 299
excel
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.
© Stack Overflow or respective owner