protected void btnSaveHours_Click(object sender, EventArgs e)
 {
     Whitfieldcore wc = new Whitfieldcore();
     try
     {
         Boolean isValidEntry = wc.MaintainCashFlowScheduledata(Convert.ToInt32(ViewState["twc_project_number"].ToString()), ddlYear.SelectedItem.Value.ToString(), ddlMonth.SelectedItem.Value.ToString() + "(" + ddlYear.SelectedItem.Value.ToString() + ")", ddlWeek.SelectedItem.Value.ToString(), txtWeeklyComments.Text.Trim(), txtSchAmount.Text.Trim());
         if (!isValidEntry)
         {
             lblSchError.Text = "Please check the input hours. The scheduled hours should not exceed " + lblTotAnnFabHours.Text.Trim();
         }
         else
         {
             lblSchError.Text = "";
         }
         DisplaySchedulingGrid();
     }
     catch (Exception ex)
     {
         Response.Write(ex.Message);
     }
 }