动态打开Excel 2010 [英] Opening an excel 2010 dynamically

查看:100
本文介绍了动态打开Excel 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用转发器在asp.net中创建了表格格式,然后使用
打开了Excel 2003 内容类型应用程序/vnd.ms-excel
这适用于excel 2003

但是我需要为excel 2010打开excel文件格式.通过我的代码,我下载了excel文件,并且在我的PC上安装了excel 2010.但是
尝试打开相同的文件时出现格式文件不正确的问题"
下载的文件.

请帮帮我.

在此先感谢
:)

I have created a tabular format in asp.net using repeater and then open an excel 2003 using
content-type application/vnd.ms-excel
This workd for excel 2003

But i need to open an excel file format for excel 2010. Through my code I downloaded the excel file and I have excel 2010 installed on my PC. But
Getting the "incorrect format file issue" when tries to open the same
downloaded file.

Please help me out.

Thanks in advance
:)

推荐答案

您是否尝试过
Have you tried
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


这篇关于动态打开Excel 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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