摘要:
<asp:TextBox id="txtTitle" runat="server" Height="20" CssClass="title txt300"></asp:TextBox><select id="selColor" style="width: 96px"> <option value="" selected>默认颜色</option... 阅读全文
摘要:
有两种方法可以实现:1.在绑定控件时,激发ItemDataBound protected void repWebLinkList_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item) { LinkButton lb = (LinkButton)e.Item.... 阅读全文
摘要:
在GridView绑定多个参数值,可以用如下方法:<asp:LinkButton ID="lbtnCheck" Text='<%#GetLinkButtonText(Eval("Sort2"))%>' CommandName="Check" CommandArgument='<%#Eval("NewsID")+"|"+Eval("Sort2")%>' runat="s... 阅读全文