public static DataTable TranslateToTable(string filePath, string sheetName) { ImportXlsUtil utils = new ImportXlsUtil(filePath); return(utils.toDataTable(sheetName)); }
public static DataTable TranslateToTable(Stream stream, int sheetIndex) { ImportXlsUtil utils = new ImportXlsUtil(stream); return(utils.toDataTable(sheetIndex)); }
public static DataTable TranslateToTable(Stream stream) { ImportXlsUtil utils = new ImportXlsUtil(stream); return(utils.toDataTable(0)); }
public static DataTable TranslateToTable(Stream stream, string sheetName) { ImportXlsUtil utils = new ImportXlsUtil(stream); return(utils.toDataTable(sheetName)); }