将DataGridView文本列显示为超链接 [英] Display DataGridView Text column as hyperlink

查看:279
本文介绍了将DataGridView文本列显示为超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试在DataGridView中将文本显示为超链接.我已经搜索了互联网,但似乎看不到任何答案.有人有想法么.任何帮助将不胜感激.
谢谢

Hi,

I am trying to display the text in a DataGridView as a hyperlink. I have searched the internet but none of the answers that I have seen seem to work. Any one have any ideas. Any help would be appreciated.
Thanks

推荐答案

使用此问题是什么: ^ ]

您可以使用LinkColumn来显示存储在数据库表中的URL.
What''s an issue in using this: MSDN: DataGridViewLinkColumn Class[^]

You can use LinkColumn to display a URL stored in a database table.


这篇关于将DataGridView文本列显示为超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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