예제 #1
0
        public void LogInfo(int iRow, string sValue)
        {
            MyExcel _excelLog = new MyExcel(sLogFile, Config.bExcelVisible);

            _excelLog.OpenExcelFile(sSheet);

            Boolean bSuccess = _excelLog.setOneCellValue(iRow, sCol, sValue);

            _excelLog.SaveExcel();
            _excelLog.CloseExcelApplication();

            if (!bSuccess)
            {
                GenericLib gLib = new GenericLib();
                gLib._MsgBoxYesNo("Continue Testing? ", "Fail to find Column Name: <" + sCol + "> Please Check! ");
            }
        }