// get totals for chargeable and final total hours protected void updateChargeableTotals() { TimesheetManager tm = new TimesheetManager(); decimal[] totals = tm.getEmpChargeableTotalsForID(timesheetID); decimal finalTotal = 0; sunChargeLBL.Text = totals[0].ToString("0.0"); sunTotalHoursLBL.Text = totals[0].ToString("0.0"); finalTotal += totals[0]; monChargeLBL.Text = totals[1].ToString("0.0"); monTotalHoursLBL.Text = totals[1].ToString("0.0"); finalTotal += totals[1]; tuesChargeLBL.Text = totals[2].ToString("0.0"); tuesTotalHoursLBL.Text = totals[2].ToString("0.0"); finalTotal += totals[2]; wedsChargeLBL.Text = totals[3].ToString("0.0"); wedsTotalHoursLBL.Text = totals[3].ToString("0.0"); finalTotal += totals[3]; thursChargeLBL.Text = totals[4].ToString("0.0"); thursTotalHoursLBL.Text = totals[4].ToString("0.0"); finalTotal += totals[4]; friChargeLBL.Text = totals[5].ToString("0.0"); friTotalHoursLBL.Text = totals[5].ToString("0.0"); finalTotal += totals[5]; satChargeLBL.Text = totals[6].ToString("0.0"); satTotalHoursLBL.Text = totals[6].ToString("0.0"); finalTotal += totals[6]; totalChargeLBL.Text = finalTotal.ToString("0.0"); }