需要是用事件beforePrint (在打印数据之前的事件)

private void xrTableCell12_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
xrTableCell12.Text = (CurrentRowIndex + ).ToString();
}
05-11 18:02