mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-29 18:38:08 +08:00
文档说明
This commit is contained in:
parent
9b5658c3bc
commit
2927592383
@ -234,11 +234,10 @@ foreach (var sheetName in sheetNames)
|
||||
```csharp
|
||||
var columns = MiniExcel.GetColumns(path); // e.g result : ["A","B"...]
|
||||
|
||||
var cnt = columns.Count; // get column count
|
||||
```
|
||||
or
|
||||
|
||||
```csharp
|
||||
var columns = MiniExcel.GetColumns(path, useHeaderRow: true); // e.g result : ["excel表实际的列名称","excel表实际的列名称"...]
|
||||
var columns = MiniExcel.GetColumns(path, useHeaderRow: true);
|
||||
// e.g result : ["excel表实际的列名称","excel表实际的列名称"...]
|
||||
|
||||
var cnt = columns.Count; // get column count
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user