protected void Button3_Click(object sender, EventArgs e) { nb.Delete(gs, this.DropDownList1.SelectedValue); content1.Value = ""; this.TextBox2.Text = ""; this.DropDownList1.DataBind(); Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('删除成功!');</script>"); }
protected void Button3_Click(object sender, EventArgs e) { nb.Delete(gs, this.DropDownList1.SelectedValue); content1.Value = ""; this.DropDownList1.DataBind(); Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('删除成功!');</script>"); //Response.Redirect("healthshopinfo.aspx", true); }