예제 #1
0
        private void GetData()
        {
            
            DataTable dt = null;
            dt = select_work_date();
            axfpSpread.Hide();
            chart1.Hide();
            chart2.Hide();
            if (dt != null)
            {
                if (dt.Rows.Count > 0)
                {
                    this.axfpSpread.SetText(5, 1, dt.Rows[0]["THEDATE"].ToString());
                    this.axfpSpread.SetText(6, 1, dt.Rows[1]["THEDATE"].ToString());
                    this.axfpSpread.SetText(7, 1, dt.Rows[2]["THEDATE"].ToString());
                    this.axfpSpread.SetText(8, 1, dt.Rows[3]["THEDATE"].ToString());
                    this.axfpSpread.SetText(9, 1, dt.Rows[4]["THEDATE"].ToString());
                    this.axfpSpread.SetText(10, 1, dt.Rows[5]["THEDATE"].ToString());
                }
            }

            //axfDailyReport_Header.Visible = false;
            Search_Daily_Report();
            axfpSpread.Show();
            chart1.Show();
            chart2.Show();
            axfpSpread.RowsFrozen = 50;
            
        }