方法一:
方法二:
private void xrTableCell1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
((XRTableCell)sender).Text = string.Format("{0}", this.CurrentRowIndex + 1);
}
方法一:
方法二:
private void xrTableCell1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
((XRTableCell)sender).Text = string.Format("{0}", this.CurrentRowIndex + 1);
}