// this method should be called after the updateChargeableTotal method to display the of sum the two values protected void updateNonChargeableTotals() { TimesheetManager tm = new TimesheetManager(); decimal[] totals = tm.getEmpNonChargeableTotalsForID(timesheetID); decimal finalTotal = 0; sunNonChLBL.Text = totals[0].ToString("0.0"); sunTotalHoursLBL.Text = (totals[0] + Convert.ToDecimal(sunTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[0]; monNonChLBL.Text = totals[1].ToString("0.0"); monTotalHoursLBL.Text = (totals[1] + Convert.ToDecimal(monTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[1]; tuesNonChLBL.Text = totals[2].ToString("0.0"); tuesTotalHoursLBL.Text = (totals[2] + Convert.ToDecimal(tuesTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[2]; wedsNonChLBL.Text = totals[3].ToString("0.0"); wedsTotalHoursLBL.Text = (totals[3] + Convert.ToDecimal(wedsTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[3]; thursNonChLBL.Text = totals[4].ToString("0.0"); thursTotalHoursLBL.Text = (totals[4] + Convert.ToDecimal(thursTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[4]; friNonChLBL.Text = totals[5].ToString("0.0"); friTotalHoursLBL.Text = (totals[5] + Convert.ToDecimal(friTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[5]; satNonChLBL.Text = totals[6].ToString("0.0"); satTotalHoursLBL.Text = (totals[6] + Convert.ToDecimal(satTotalHoursLBL.Text)).ToString("0.0"); finalTotal += totals[6]; totalNonChargeLBL.Text = finalTotal.ToString("0.0"); }