public void DrawDetail() { RowColletion rows = (DataSourceRefId != string.Empty) ? DataSet.Tables[DetailTableIndex].Rows : null; ph_Yposition = (PageNumber == 1) ? ReportHeaderHeight + this.Margin.Top : this.Margin.Top; dt_Yposition = ph_Yposition + PageHeaderHeight; if (rows != null && HasRows == true) { for (iDetailRowPos = 0; iDetailRowPos < rows.Count; iDetailRowPos++) { if (Groupheaders?.Count > 0) { DrawGroup(); } if (detailprintingtop < DT_FillHeight && DT_FillHeight - detailprintingtop >= DetailHeight) { DoLoopInDetail(iDetailRowPos); } else { AddNewPage(); DoLoopInDetail(iDetailRowPos); } } if (GroupFooters?.Count > 0) { EndGroups(); } IsLastpage = true; } else { IsLastpage = true; DoLoopInDetail(0); } }
public EbDataTable(string tablename) { this.TableName = tablename; this.Columns = new ColumnColletion(this); this.Rows = new RowColletion(this); }
public EbDataTable() { this.Columns = new ColumnColletion(this); this.Rows = new RowColletion(this); }