コード例 #1
0
 public static string ImportFieldsTable(string filename, string CompanyID, string ImportTableType)
 {
     try
     {
         string message = SaveImportTable(Tools.GetDataFromFile(filename, false), CompanyID, ImportTableType);
         if (message == "")
         {
             CompanyDAL.CreateTableColumns(CompanyID, ImportTableType, HttpContext.Current.Cache[Tools.GetCashName(CompanyID, ImportTableType)] as DataSet);
         }
         return(message);
     }
     catch (Exception ex)
     {
         return(ex.Message);
     }
 }