摘要:
<asp:TemplateField HeaderText="删除" ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btn_del" runat="server" CausesValidation="False" CommandName="Del" Text="删除" CommandArgument='<%# Eval("UG_ID&quo 阅读全文
摘要:
protected void GroupsLists_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow)//判定当前的行是否属于datarow类型的行 { //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundC 阅读全文
摘要:
Page.ClientScript.RegisterStartupScript(this.GetType(), "Msg", "window.parent.changewin();", true);strinfo.InnerHtml = ""; 阅读全文