回复 1楼zhuliwangfen的帖子
下面是示例代码。
- SheetTable t = this.gcSpreadSheet1.ActiveSheet.AddTable("table1", 1, 1, 5, 5);
- CellRange r1 = t.Range;
- for (int i = 0; i < r1.ColumnCount; i++)
- {
- t.SetColumnName(i, "列" + (i + 1).ToString());
- }
复制代码 |
|