Here's my aspx:
<asp:GridView ID="GVWOReport" runat="server" DataSourceID="ldsWOReport"
onprerender="GVWOReport_PreRender" GridLines="None" CssClass="report" >
<HeaderStyle CssClass="headerRow" />
<RowStyle CssClass="row" />
<AlternatingRowStyle CssClass="altRow" />
<FooterStyle CssClass="footer" />
</asp:GridView>
Here's my rendered HTML:
<table class="report" cellspacing="0" id="GVWOReport" style="border-collapse:collapse;">
<thead>...</thead>
<tbody>...</tbody>
</table>
I want the table tag to have nothing but my class and id attributes. I found out that the GridLines="None"
takes away the border, but I can't get the cellspacing
and style
to go away.