当我尝试打开excel文件时,文件已损坏将出错
问题描述:
当我使用CarlosAg.ExcelXmlWriter工具生成excel文件时。在asp.net中生成文件后没有错误。
然后我尝试打开excel文件Microsoft Excel弹出错误,如
Hi,
when i generate a excel file using CarlosAg.ExcelXmlWriter tool. After generating the file without error in asp.net.
Then I try open the excel file the Microsoft Excel popup error like
The file format and extension of report.xls don't match. The file could be corrupted or unsafe. Unless you trust its source,don't open it. Do you want to open it anyway?
我不知道该怎么办。请帮我解决这个问题
我尝试过:
我试图用CarlosAg生成excel文件。 ExcelXmlWriter工具。
I don't know what to do.Please help me to solve this
What I have tried:
Am trying to generate the excel file with CarlosAg.ExcelXmlWriter tool.
答
与创建它的人交谈: CarlosAg Excel Xml Writer Library [ ^ ] - 他们应该提供技术支持,并将比我们更了解他们的产品。如果他们不这样做,那么找到另一个XLS / XLSX文件编写器 - 有足够的关于没有必要坚持使用不受支持的库!
Talk to the people who created it: CarlosAg Excel Xml Writer Library[^] - they should provide technical support and will know more about their product than we will. If they don't, then find another XLS / XLSX file writer - there are enough of them about that there is no point in sticking with a unsupported library!