如何在 asp.net(C#) 表的行和列之间绘制边框?
我有以下内容:
<asp:Table ID="Table1" runat="server" BackColor="White" BorderColor="Black" 
        BorderWidth="1px" ForeColor="Black">
    </asp:Table>
在代码隐藏文件中,我添加了行:
for (int i = 0; i < games.Count(); i++)
            {
                TableRow tr = new TableRow();
                for (int j = 0; j < 9; j++)
                {
                    TableCell tc = new TableCell();
                    tc.Text = games[i].getData(j);
                    tr.Cells.Add(tc);
                }
                tr.BorderWidth = 1;
                tr.BorderColor = Color.Black;
                Table1.Rows.Add(tr);
            }
但是,我看不到表格的行和列之间的任何边界。表格是:

那么,如何在asp.net表格的行和列之间绘制边框呢?