我想在按钮的工具提示上显示来自数据库的数据. [英] I want to display data from database on Tooltip of a Button.
本文介绍了我想在按钮的工具提示上显示来自数据库的数据.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友,
谁能指导我如何在按钮的工具提示上显示数据库中的数据.
等待回复,
Kishor Kadam
HI friends,
Can anyone guide me how to display data from database on a Tooltip of a button.
Awaiting for reply,
Kishor Kadam
推荐答案
您可以像分配其他属性一样分配ToolTIp
You assign the ToolTIp the same way you would any other property
<asp:repeater runat="server" id="myRepeater" xmlns:asp="#unknown">
<itemtemplate>
<asp:button runat="server" text="<%"> ToolTip=<% Eval("btnTooltip") %> />
</asp:button></itemtemplate>
</asp:repeater>
myRepeater.DataSource = myDataSource;
myRepeater.DataBind();
这篇关于我想在按钮的工具提示上显示来自数据库的数据.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文