E10——凭证报表序号按流水自然排序
int rowIndex; private void GroupHeader1_AfterPrint(object sender, System.EventArgs e) { rowIndex = 0; } private void tableCell1_PrintOnPage(object sender, DevExpress.XtraReports.UI.PrintOnPageEventArgs e) { rowIndex ++; tableCell1.Text = rowIndex.ToString(); }