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();
}

 

 

 

posted @ 2022-10-17 15:04  AaronLi  阅读(118)  评论(0编辑  收藏  举报