private void Save() { int intPool = 0; if (panPool.Visible == true) { if (radNew.Checked == true) { intPool = oWorkstation.AddPool(txtName.Text, txtDescription.Text, intProfile, 0, intProfile, 1); } if (radExisting.Checked == true) { intPool = Int32.Parse(ddlExisting.SelectedItem.Value); } } int intCostCenter = 0; Int32.TryParse(Request.Form[hdnCostCenter.UniqueID], out intCostCenter); oForecast.UpdateAnswer(intID, "", "", 0, intCostCenter, 0, Int32.Parse(Request.Form[hdnManager.UniqueID]), 0, 0, 0, 0, 0, intPool); }