public static PxMainTable BuildTableFromFile(string path, string tableId) { PxMainTable tbl = new PxMainTable(); tbl.TableId = tableId; ExcelFileWrapper excel = new ExcelFileWrapper(path); BuildContents(excel.GetSheetData("Contents"), tbl); BuildVariables(excel.GetSheetData("Variables"), tbl); return tbl; }
public static PxMainTable BuildTableFromFile(string path, string tableId) { PxMainTable tbl = new PxMainTable(); tbl.TableId = tableId; ExcelFileWrapper excel = new ExcelFileWrapper(path); BuildContents(excel.GetSheetData("Contents"), tbl); BuildVariables(excel.GetSheetData("Variables"), tbl); return(tbl); }