Gridview导出到Excel禁用超链接字段 [英] Gridview to export to excel disable the hyperlink field

查看:76
本文介绍了Gridview导出到Excel禁用超链接字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将自己的gridview导出到excel,并且Everythnig都可以正常工作.

我在gridview中有一个超链接字段,该字段在Excel中作为链接导出.我想在导出到excel时删除链接.

I am exporting my gridview to excel and everythnig works fine.

I have a hyperlinkfield in the gridview which gets exported as a link in the excel. I want to remove the link when it exports to excel.

推荐答案

我不仅回答了这个问题吗?

答案显然是删除超链接,或将其更改为所需的任何格式.您如何做到这一点,首先取决于您的出口方式,而您并未告诉我们.

别担心,我删除了您两次询问过的地方.
Did I not just answer this ?

The answer is obviously to remove the hyperlink, or change it to whatever format you want. How you do that, depends on how you''re exporting in the first place, which you did not tell us.

Don''t worry, I deleted where you asked this twice.


这篇关于Gridview导出到Excel禁用超链接字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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