将Gridview导出到Excel - 文档中的安全问题 [英] Export Gridview to Excel - security issue in document

查看:66
本文介绍了将Gridview导出到Excel - 文档中的安全问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功完成将gridview导出为ex​​cel,但在打开导出的文件时,它显示错误:您尝试打开的文件,< file name =>格式不同...... .....我搜索了这个错误谷歌。它显示了excel安全性问题,给出的解决方案是在注册表中创建密钥。我的问题是在注册表中没有密钥,如何解决此错误?

解决方案

请参阅此解决的答案:我们可以将gridview数据转换为Microsoft Office Excel。 [ ^ ]

I successfully done exporting gridview to excel, but while opening the exported file, it shows error: "The file your are trying to open, <file name=""> is in different format..........." I searched this error to google. It shows the excel security issue and the solution given is create key in registry. My question is without craeting key in registry, how to resolve this error?

解决方案

Refer this solved answer: Can we convert gridview data into Microsoft Office Excel.[^]


这篇关于将Gridview导出到Excel - 文档中的安全问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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