详细信息视图控件 [英] details view control

查看:84
本文介绍了详细信息视图控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在从数据库的详细信息视图中显示数据,其中一个字段包含输入用户的网址.

我希望将此网址字段设置为链接,以便当我单击项目(网址)时,该网站在新的空白浏览器中弹出,请问该如何处理?

您忠实的

Martin

Hi there,

I am displaying data in a details view from my database, one of the fields holds web addresses entered my users.

I would want to have this web address field set as a link so that when I click on the item (web address), the website pops up in a new blank browser, please how can I go about this?

Yours faithfully

Martin

推荐答案

将列设置为 ^ ].

这是有关如何在DetailsView中使用 HyperLinkField的示例 [ ^ ]

希望这可以帮助! :thumbsup:
Set the column as HyperLinkField[^].

Here is an example on how to use HyperLinkField in DetailsView [^]

Hope this helps! :thumbsup:


根据需要使用html锚标记或asp.net超链接或链接按钮.
use either html anchor tag or asp.net hyperlink or link button as per you r requirement.


这篇关于详细信息视图控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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