回复 4楼马克的帖子
你好,
这个 case,目前只能通过遍历该行的所有单元格来获取。- int activeRow = this.fpSpread1.ActiveSheet.ActiveRowIndex;
- int columnCount = this.fpSpread1.ActiveSheet.GetLastNonEmptyColumn(FarPoint.Win.Spread.NonEmptyItemFlag.Data)+1;
- string[] cellsText = new string[columnCount];
- for (int i = 0; i < columnCount; i++)
- {
- cellsText[i] = this.fpSpread1.ActiveSheet.Cells[activeRow, i].Text;
- }
复制代码 |