Seeking advice on adjusting the size and alignment of a Gridview in asp.net web forms using bootstrap stylesheets. Here's the code snippet in question:
<table class="table table-sm" >
<asp:GridView ID="grdTest" runat="server" GridLines="Horizontal" CssClass="table table-sm table-bordered table-condensed table-responsive-sm table-hover table-striped" >
</asp:GridView>
</table>
View the resulting bootstrap table image here:
https://i.sstatic.net/Z71MW.png
How can I adjust the size and center the table on the screen? Currently, it is extending across the entire content page.
Appreciate any guidance. Thank you.