GridJsWorkbook.ImportExcelFile

ImportExcelFile(string, string, string)

Imports the excel file from file path and open password.

public void ImportExcelFile(string uid, string fileName, string password)
ParameterTypeDescription
uidStringThe unique id for the file cache, if set to null,it will be generated automatically.
fileNameStringThe full path of the file.
passwordStringThe open password of the excel file.The value can be null If no passowrd is set.

See Also


ImportExcelFile(string, string)

Imports the excel file from the file path.

public void ImportExcelFile(string uid, string fileName)
ParameterTypeDescription
uidStringThe unique id for the file cache, if set to null,it will be generated automatically.
fileNameStringThe full path of the file.

See Also


ImportExcelFile(string)

Imports the excel file from the file path.

public void ImportExcelFile(string fileName)
ParameterTypeDescription
fileNameStringThe full path of the file.

See Also


ImportExcelFile(Workbook)

Imports the excel file from the Workbook object.

public void ImportExcelFile(Workbook wb)
ParameterTypeDescription
wbWorkbookThe Workbook object.

See Also


ImportExcelFile(string, Workbook)

Imports the excel file from the Workbook object.

public void ImportExcelFile(string uid, Workbook wb)
ParameterTypeDescription
uidStringThe unique id for the file cache, if set to null,it will be generated automatically.
wbWorkbookThe Workbook object .

See Also


ImportExcelFile(string, Stream, GridLoadFormat, string)

Imports the excel file from file stream with load format and open password.

public void ImportExcelFile(string uid, Stream filestream, GridLoadFormat format, string password)
ParameterTypeDescription
uidStringThe unique id for the file cache, if set to null,it will be generated automatically.
filestreamStreamThe stream of the excel file .
formatGridLoadFormatThe LoadFormat of the excel file.
passwordStringThe open password of the excel file.The value can be null If no passowrd is set

See Also


ImportExcelFile(string, Stream, GridLoadFormat)

Imports the excel file from file stream.

public void ImportExcelFile(string uid, Stream filestream, GridLoadFormat format)
ParameterTypeDescription
uidStringThe unique id for the file cache, if set to null,it will be generated automatically.
filestreamStreamThe stream of the excel file .
formatGridLoadFormatThe LoadFormat of the excel file.

See Also


ImportExcelFile(Stream, GridLoadFormat, string)

Imports the excel file from file stream with load format and open password.

public void ImportExcelFile(Stream filestream, GridLoadFormat format, string password)
ParameterTypeDescription
filestreamStreamThe stream of the excel file .
formatGridLoadFormatThe LoadFormat of the excel file.
passwordStringThe open password of the excel file.The value can be null If no passowrd is set.

See Also


ImportExcelFile(Stream, GridLoadFormat)

Imports the excel file from file stream with load format.

public void ImportExcelFile(Stream filestream, GridLoadFormat format)
ParameterTypeDescription
filestreamStreamThe stream of the excel file .
formatGridLoadFormatThe LoadFormat of the excel file.

See Also