ASP.NET控件中传递绑定的参数

  <asp:LinkButton ID="lnkHostID" runat="server" Text='<%#Eval("hostid") %>' OnClientClick='<%# String.Format("return GotohostList(\"hostid={0}\")", Eval("hostid")) %>'></asp:LinkButton>
原文地址:https://www.cnblogs.com/bulege/p/2494428.html