使用超链接列将数据表绑定到gridview [英] bind datatable to gridview with hyper link column

查看:83
本文介绍了使用超链接列将数据表绑定到gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有链接的列的数据表,我想将网格视图绑定到该数据表,并显示另一个列数据,我需要将它用作超级链接来导航到另一个页面


谢谢

I have a Datatable with a column that has a link I want to bind a grid view to this datatable, and show another column data, and i need it to be used as hyper link to navigate to another page


thank you

推荐答案

您需要看一下文档:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.hyperlinkcolumn.aspx [ ^ ]

http://forums.asp.net/t/1060749.aspx/1 [ ^ ]
You need to have a look at the documentation:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.hyperlinkcolumn.aspx[^]

http://forums.asp.net/t/1060749.aspx/1[^]


这篇关于使用超链接列将数据表绑定到gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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