예제 #1
0
 void SetRangeInfo(DateTime start, DateTime end)
 {
     ResearchDataInDB rdid = new ResearchDataInDB();
       _countDic = rdid.GetCountData(start, end);
       _contents = rdid.GetContentData(start, end);
       ShowCountDic();
 }
예제 #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            try
              {
            WriteLog("데이터베이스 저장 시작");

            ResearchDataInDB rddb = new ResearchDataInDB();
            DateTime calDate = DateUtil.GetDate(dateTimePicker1.Value);

            rddb.Insert(calDate, _countDic, _logs);

            WriteLog("데이터베이스 저장 종료(성공)");
              }
              catch (Exception ex)
              {
            WriteLog(ex.ToString());
            WriteLog("데이터베이스 저장 종료(실패)");
              }
        }