[]
Loads asynchronous an Excel worksheet from a file.
public Task LoadAsync(string fileName, bool fillSheets = true)
Type | Name | Description |
---|---|---|
string | fileName | Name of the file that contains the worksheet. |
bool | fillSheets | True to load data into the sheets; False to read the sheet names only. |
Type | Description |
---|---|
Task |
Loads asynchronous an Excel worksheet from a file.
public Task LoadAsync(string fileName, FileFormat format, bool fillSheets = true)
Type | Name | Description |
---|---|---|
string | fileName | Name of the file that contains the worksheet. |
FileFormat | format | C1.Excel.C1XLBook.FileFormat value that specifies the file format. |
bool | fillSheets | True to load data into the sheets; False to read the sheet names only. |
Type | Description |
---|---|
Task |
Loads asynchronous the worksheet from a stream.
public Task LoadAsync(Stream stream, bool fillSheets = true)
Type | Name | Description |
---|---|---|
Stream | stream | Stream that contains the worksheet. |
bool | fillSheets | True to load data into the sheets; False to read the sheet names only. |
Type | Description |
---|---|
Task |
Loads asynchronous the worksheet from a stream.
public Task LoadAsync(Stream stream, FileFormat format, bool fillSheets)
Type | Name | Description |
---|---|---|
Stream | stream | Stream that contains the worksheet. |
FileFormat | format | C1.Excel.C1XLBook.FileFormat value that specifies the file format. |
bool | fillSheets | True to load data into the sheets; False to read the sheet names only. |
Type | Description |
---|---|
Task |