我想在不使用“|”的情况下将网格视图中给定单元格的值划分为三个 但是垂直线是gridview中列的长度。
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);
}