Remove
Remove(int, int)
删除单元格指定行列索引处的项目。
public virtual void Remove(int row, int col)
| 范围 | 类型 | 描述 |
|---|---|---|
| row | Int32 | 单元格的行索引。 |
| col | Int32 | 单元格的列索引。 |
也可以看看
Remove(string)
按单元格名称删除项目。
public void Remove(string cellName)
| 范围 | 类型 | 描述 |
|---|---|---|
| cellName | String | 单元格名称(excel 名称格式,如’A1’、‘F22’) |