Asp.net ASP Gridview-删除除内行线以外的所有边框

Asp.net ASP Gridview-删除除内行线以外的所有边框,asp.net,gridview,border,Asp.net,Gridview,Border,我正在尝试删除除asp网格视图的内部水平行线以外的所有边框,这是我的asp到目前为止: <asp:GridView ShowHeader="true" ID="MeetingSumaryGridview1" DataKeyNames="IdInsert, Summary" runat="server" AutoGenerateColumns="false" GridLines="Horizontal" Bord

我正在尝试删除除asp网格视图的内部水平行线以外的所有边框,这是我的asp到目前为止:

<asp:GridView ShowHeader="true" ID="MeetingSumaryGridview1" DataKeyNames="IdInsert, Summary"
                                        runat="server" AutoGenerateColumns="false" GridLines="Horizontal" BorderStyle="solid" BorderWidth="1px" DataSourceID="MeetingSumaryDataSource1"
                                        Style="font-size: 0.8em;" Width="100%">
                                        <Columns>...

...
我在网上浏览了一下,但没有发现这个问题,如果有任何帮助或建议,我将不胜感激


提前谢谢你。

这就是你要找的吗

以下是根据以下内容编辑的一些CSS:

只需将其分配给GridView的CssStyle

table {
    border-collapse: collapse;
}
table td, table th {
    border: 1px solid black;
}
table tr:first-child th {
    border-top: 0;
}
table tr:last-child td {
    border-bottom: 0;
}
table tr td,
table tr th {
    border-left: 0;
}
table tr td,
table tr th  {
    border-right: 0;
}