protected void DrawBatchTable(Table table, AuditBatch batch) { foreach(AuditEntry entry in batch) { TableRow captionRow = new TableRow(); TableCell captionCell = new TableCell(); DrawCaptionDiv(captionCell, entry); captionRow.Cells.Add(captionCell); table.Rows.Add(captionRow); TableRow detailsRow = new TableRow(); TableCell detailsCell = new TableCell(); detailsCell.ColumnSpan = 1; //detailsCell.BackColor = System.Drawing.Color.GhostWhite; DrawChangesDiv(detailsCell, entry); detailsRow.Cells.Add(detailsCell); table.Rows.Add(detailsRow); } }
protected void DrawBatchTable(Table table, AuditBatch batch) { foreach (AuditEntry entry in batch) { TableRow captionRow = new TableRow(); TableCell captionCell = new TableCell(); DrawCaptionDiv(captionCell, entry); captionRow.Cells.Add(captionCell); table.Rows.Add(captionRow); TableRow detailsRow = new TableRow(); TableCell detailsCell = new TableCell(); detailsCell.ColumnSpan = 1; //detailsCell.BackColor = System.Drawing.Color.GhostWhite; DrawChangesDiv(detailsCell, entry); detailsRow.Cells.Add(detailsCell); table.Rows.Add(detailsRow); } }
public void Initialise(AuditBatch batch) { Tag = batch; }