需要是用事件beforePrint (在打印数据之前的事件)
private void xrTableCell12_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { xrTableCell12.Text = (CurrentRowIndex + 1).ToString(); }
需要是用事件beforePrint (在打印数据之前的事件)
private void xrTableCell12_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { xrTableCell12.Text = (CurrentRowIndex + 1).ToString(); }