摘要: <asp:TemplateField HeaderText="删除" ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btn_del" runat="server" CausesValidation="False" CommandName="Del" Text="删除" CommandArgument='<%# Eval("UG_ID&quo 阅读全文
posted @ 2012-02-15 14:14 浅谈生活 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2012-02-15 14:09 浅谈生活 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Page.ClientScript.RegisterStartupScript(this.GetType(), "Msg", "window.parent.changewin();", true);strinfo.InnerHtml = ""; 阅读全文
posted @ 2012-02-15 14:08 浅谈生活 阅读(151) 评论(0) 推荐(0) 编辑