BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
GridSummaryRow summaryRow = new GridSummaryRow();
summaryRow.Title = "Sum :{CaptionSummary}";
summaryRow.ShowSummaryInRow = true;
summaryRow.SummaryColumns.Add(
new GridSummaryColumn()
{
Name = "CaptionSummary",
MappingName = "Mark1",
Format = "{Sum} ",
SummaryType = SummaryType.Int32Aggregate
});
dataGrid.CaptionSummaryRow = summaryRow;
|
private double mark2;
public double Mark2
{
get { return mark2; }
set { this.mark2 = value; }
} |
GridSummaryRow summaryRow = new GridSummaryRow();
summaryRow.Title = "Total Items:{CaptionSummary}";
summaryRow.ShowSummaryInRow = true;
summaryRow.SummaryColumns.Add(
new GridSummaryColumn()
{
Name = "CaptionSummary",
MappingName = "Mark2",
Format = "{Sum} ",
SummaryType = SummaryType.Int32Aggregate
});
dataGrid.CaptionSummaryRow = summaryRow; |