private static DataTable Get_CapPhepGD() { string maxUpdateDT = null; DataTable table = new DataTable(); if (string.IsNullOrEmpty(_updateDateTime) == false) { maxUpdateDT = _updateDateTime; _updateDateTime = null; } else { maxUpdateDT = _dataAccess.Get_Max_UpdateTime(SMS_TYPE); } if (string.IsNullOrEmpty(maxUpdateDT) == false) { try { long maxUpdateTime = long.Parse(maxUpdateDT); } catch (Exception ex) { classCapPhepGDLogWriter.WriteLog("Error Get_CapPhepGD(), " + ex.Message); return(null); } if (maxUpdateDT != null) { table = _dataAccess.GetCapPhepGD(maxUpdateDT); } } return(table); }