예제 #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (DateTime.Now.Day == '1')
     {
         ExeMySQLCommand cmd   = new ExeMySQLCommand();
         int             year  = DateTime.Today.Year;
         int             month = DateTime.Today.Month;
         cmd.CreateMonthRetrnData(year, month);
     }
 }