protected void btnSubmit_OnClick(object sender, EventArgs e) { decimal assumptionInflation = 0; decimal assumptionInvestment = 0; decimal assumptionDr = 0; if (txtInflation.Text != "") { assumptionInflation = decimal.Parse((txtInflation.Text).ToString()); } if (txtInvestmentReturn.Text != "") { assumptionInvestment = decimal.Parse((txtInvestmentReturn.Text).ToString()); } if (txtDR.Text != "") { assumptionDr = decimal.Parse((txtDR.Text).ToString()); } customerBo.CustomerFPReportsAssumption(customerVo.CustomerId, assumptionInflation, assumptionInvestment, assumptionDr); msgRecordStatus.Visible = true; SetDefalutView(); btnSubmit.Enabled = false; }