打开使用c#应用程序创建的xls文件时出错 [英] Error opening an xls file created with a c# application

查看:92
本文介绍了打开使用c#应用程序创建的xls文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,



我的C#应用​​程序输出有问题。我用它创建xls文件。

它有效但当我尝试用Excel 2007打开它时(我还没有尝试其他版本)我收到一个错误:

Hey,

I have a problem with the output of my C# application. Iam creating xls Files with it.
It works but when I try to open it with Excel 2007 (I didn't try other versions yet) iam getting an error:

The file you are trying to open "testxls" is in a different format than specified by the file extension. verify the file is not corrupted and is from trusted source before opening the file. Do you want to open the file now?





有没有人知道解决方案?



-ANDi



Does anyone know a solution?

-ANDi

推荐答案

这个 [ ^ ] migh帮助你。
This[^] migh help you out.


这篇关于打开使用c#应用程序创建的xls文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆