I am trying to get an asp.net table to show gridlines after an sql query is ran and data is put into the table. I have now tried to set a default title row to see if the gridlines would even appear and they have not.
Here is my table markup:
<asp:Table ID="Table1" runat="server" ForeColor="Black" GridLines="Both" Height="330px" Width="950px">
<asp:TableRow runat="server" BackColor="White" BorderColor="White" BorderStyle="Solid" BorderWidth="5px" Font-Bold="True" Font-Size="X-Small" ForeColor="#993399" HorizontalAlign="Center" VerticalAlign="Top">
<asp:TableCell runat="server">Customer ID</asp:TableCell>
<asp:TableCell runat="server">Business Name</asp:TableCell>
<asp:TableCell runat="server">City</asp:TableCell>
<asp:TableCell runat="server">State</asp:TableCell>
<asp:TableCell runat="server">Phone</asp:TableCell>
<asp:TableCell runat="server">Email</asp:TableCell>
<asp:TableCell runat="server">Registered</asp:TableCell>
<asp:TableCell runat="server">Approved</asp:TableCell>
<asp:TableCell runat="server">Last Contacted</asp:TableCell>
<asp:TableCell runat="server">Logger</asp:TableCell>
<asp:TableCell runat="server">Responded</asp:TableCell>
</asp:TableRow>
So, how can I get grid lines to show on my asp.net table?
GridView?