you can use the gridview control with no columns with AutoGenerateColumns is true as the following:
<asp:gridview id="grdInfo" runat="server" autogeneratecolumns="True" xmlns:asp="#unknown">
</asp:gridview>
then bind data inside grideview by using datatable and naming the columns in the datatable.