//Loads a report based on the passed in MySQL query
        private void LoadReport(params string[] dates)
        {
            ReportsDB reportDB = new ReportsDB();

            this.table = reportDB.GetParentReportTable(this.txt_GuardianID.Text, dates);
            parentDataGrid.ItemsSource = table.DefaultView;

            this.reportLoaded = true;
        }
        private void LoadReport(string startDate, string endDate)
        {
            ReportsDB reportsDB = new ReportsDB();
            DataTable table     = reportsDB.GetBusinessReportTable(startDate, endDate);

            AddTotalsColumn(table);
            this.table = table;

            businessDataGrid.ItemsSource = table.DefaultView;

            this.reportLoaded = true;
        }