void DisplayReport()
        {
            try
            {
                frmRptView rptView = new frmRptView();
                rptView.Show();
                DataTable dtRpt = wgrid.dataGridView1.DataSource as DataTable;
                DataSet   dsRpt = null;
                if (dtRpt != null && dtRpt.Rows.Count > 0)
                {
                    dsRpt = new DataSet();
                    dsRpt.Tables.Add(dtRpt.Copy());
                }
                if (dsRpt != null)
                {
                    dsRpt.Tables[0].TableName = "dtHistory";
                    dsRpt.Namespace           = "dsHistory";

                    dsRpt.Tables[0].Columns["PLATE NO#"].ColumnName = "CAR ID";
                    // dsRpt.WriteXmlSchema("C:\\RPTHistoryv1.xsd");

                    rptView.LoadHistoryReport(dsRpt);
                }
            }
            finally { }
        }
        void DisplayDelayReport()
        {
            try
            {
                frmRptView rptView = new frmRptView();
                rptView.Show();


                DataTable dtRpt = GetDelayedDataTable(GetQueryForDelayHist());
                DataSet   dsRpt = null;
                if (dtRpt != null && dtRpt.Rows.Count > 0)
                {
                    dsRpt = new DataSet();
                    dsRpt.Tables.Add(dtRpt);
                }
                if (dsRpt != null)
                {
                    dsRpt.Tables[0].TableName = "DELAY_HISTORY_VIEW";
                    dsRpt.Namespace           = "DELAY_HISTORY_VIEW";


                    rptView.LoadDelayedHistoryReport(dsRpt);
                }
            }
            finally { }
        }
        void DisplayReport()
        {
            frmRptView rptView = new frmRptView();

            rptView.Show();
            rptView.LoadCurrentParksReport(this.dsRpt);
        }