pivotGridControl 获取行头

来源:互联网 发布:家庭网络如何共享 编辑:程序博客网 时间:2024/05/13 21:18

PivotGridControl获取行头列头

PivotGridControl   pgc

单击单元格或行头 列头获取

列头:pgc.GetFieldValue(pgc.Fields["列"],pgc.Cells.FocusedCell.X).ToString()

行头:pgc.GetFieldValue(pgc.Fields["行"],pgc.Cells.FocusedCell.Y).ToString()


原创粉丝点击