public void submit_click(object sender, EventArgs e) { Data data = Param; InsuranceBiz inBiz = new InsuranceBiz(); data.add("insuranceId", Param.get("insuranceId")); inBiz.create(data); go("~/aspx/payment/insurance/list.aspx"); }
protected override void Fire(object sender, EventArgs e) { if (!UserInfo.IsSysAdmin(Session)) { alertAndGoback("you are not a system administrator. Please login"); return; } DBC dbc = new DBC(); Data data = new Data(); data.add("insuranceId", Param.get("insuranceId")); InsuranceBiz inBiz = new InsuranceBiz(); Data result = inBiz.list(data); insurance.DataSource = result.Source; insurance.DataBind(); }