1

「|」を使用せずに、グリッドビュー内の特定のセルの値を 3 つに区切りたい ただし、グリッドビューの列の長さの垂直線。

for (int i = 0; i < subjectCount; i++)
{
    TableCell totals = new TableHeaderCell();
    totals.ColumnSpan = grid.Columns.Count - 1;
    totals.BackColor = System.Drawing.SystemColors.ControlDark;// System.Drawing.Color.FromArgb(#c0c0c0);
    totals.ForeColor = System.Drawing.Color.White;
    totals.Font.Size = FontUnit.Medium;
    totals.Font.Bold = true;

    //totals.Text = "40|60%|100%"; would love to display and image in between them like 40-vertical image-60-vertical image-100

    totals.Text = "40 | 60 | 100";

    row.Cells.Add(totals);

    t.Rows.AddAt(1, row);
}
4

0 に答える 0