protected void btnWO_Click(object sender, EventArgs e)
    {
        if (Page.IsValid)
        {
            whitfield_prod_reports _wRep = new whitfield_prod_reports();
            Boolean IsInsertSuccess = false;
            IsInsertSuccess = _wRep.ManageReportMain(txtReportDate.Text.Trim(),
                                           "",
                                           txtRptIssues.Text.Trim(),
                                           "",
                                           chkActive.SelectedItem.Value.Trim());

            if (IsInsertSuccess)
            {
                IsInsertSuccess = _wRep.ManageReportActivityMain(_wRep.GetReportNumber(txtReportDate.Text.Trim()),
                                                                           ddlEmpl.SelectedItem.Value,
                                                                           ddlProject.SelectedItem.Value,
                                                                           ddlworkorders.SelectedItem.Value,
                                                                           Convert.ToString(txtfabhours.Text.Trim()),
                                                                           Convert.ToString(txtfinhours.Text.Trim()),
                                                                           Convert.ToString(txtenghours.Text.Trim()),
                                                                           Convert.ToString(txtmischours.Text.Trim()),
                                                                           txtActComments.Text.Trim());
            }

           DisplayReportGrid();
           DisplayHistoryGrid();
           DisplayEmployeeHoursGrid();

        }
    }