将URL添加到gridview中的超链接字段. [英] adding url to the hyperlink field in gridview..
本文介绍了将URL添加到gridview中的超链接字段.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
请任何人建议我,如何将URL添加到gridview中的超链接字段?
我有以下标签:
Hi All,
Please anyone suggest me, how to add an URL to the hyperlink field in a gridview?
I have the following tags:
<asp:HyperLinkField DataNavigateUrlFields="MobileNo"
DataTextField="MobileNo"
HeaderText="Mobile Number"
SortExpression="ProductName" />
推荐答案
http://authors.aspalliance.com/aspxtreme/webforms/controls/addinghyperlinkfieldstogridview .aspx [ ^ ]
Google [ HyperlinkField.Target [ ^ ]可以设置为_blank
以获得弹出窗口.
http://authors.aspalliance.com/aspxtreme/webforms/controls/addinghyperlinkfieldstogridview.aspx[^]
Google[^] has many more links if this is what you want.
HyperlinkField.Target[^] can be set to_blank
to get a popup.
这篇关于将URL添加到gridview中的超链接字段.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文