1.在page_load的时间里写: btnClean.Attributes.Add("onclick", "return confirm('你确定要删除吗?');");
2.js跳转 先弹出信息 再跳转:
Response.Write("<script>alter('提交成功!')</script>");
Response.Write("<script>window.location.href='MaintainSupplierCompany.aspx'</script>");
3.后台页面跳转传值
Response.Redirect("MaintainDeliveryDateCheckDetail.aspx?DeliveryCheckId=" + deliveryCheckId.ToString());