protected void btnSave_Click(object sender, EventArgs e) { PolicyManageService.UpdateNormalPolicyCommission(Guid.Parse(hidIds.Value), Decimal.Parse(this.txtInternalCommission.Text == "" ? "0" : this.txtInternalCommission.Text) / 100, Decimal.Parse(this.txtSubordinateCommission.Text == "" ? "0" : this.txtSubordinateCommission.Text) / 100, Decimal.Parse(this.txtProfessionCommission.Text == "" ? "0" : this.txtProfessionCommission.Text) / 100, this.CurrentUser.UserName); QueryNormalPolicyView(grv_normalLook.PageIndex + 1); }
protected void btnSave_Click(object sender, EventArgs e) { PolicyManageService.UpdateNormalPolicyCommission(Guid.Parse(hidIds.Value), Decimal.Parse(string.IsNullOrWhiteSpace(this.txtInternalCommission.Text) ? "0" : this.txtInternalCommission.Text) / 100, Decimal.Parse(string.IsNullOrWhiteSpace(this.txtSubordinateCommission.Text) ? "0" : this.txtSubordinateCommission.Text) / 100, Decimal.Parse(string.IsNullOrWhiteSpace(this.txtProfessionCommission.Text) ? "0" : this.txtProfessionCommission.Text) / 100, this.CurrentUser.UserName); QueryNormalPolicy(pager.CurrentPageIndex); }