Hi JonJacobs,
Please refer below sample.
Nate:I have created sample by refering the below article.
HTML
<asp:GridView ID="gvCustomers" CssClass="Grid" runat="server" AutoGenerateColumns="false"
PageSize="10" AllowPaging="true">
<Columns>
<asp:BoundField DataField="CustomerId" HeaderText="Customer Id" />
<asp:BoundField DataField="ContactName" HeaderText="Contact Name" />
<asp:BoundField DataField="City" HeaderText="City" />
<asp:BoundField DataField="Country" HeaderText="Country" />
</Columns>
</asp:GridView>
<asp:Button Text="GetReport" runat="server" OnClick="GetReport" />
<asp:ObjectDataSource ID="dsCustomers" runat="server" EnablePaging="true" SelectMethod="GetCustomers"
SelectCountMethod="GetCustomersCount" TypeName="CustomerDS" MaximumRowsParameterName="maxRows"
StartRowIndexParameterName="startIndex"></asp:ObjectDataSource>
Code
C#
protected void GetReport(object sender, EventArgs e)
{
gvCustomers.DataSourceID = "dsCustomers";
gvCustomers.DataBind();
}
VB.Net
Protected Sub GetReport(ByVal sender As Object, ByVal e As EventArgs)
gvCustomers.DataSourceID = "dsCustomers"
gvCustomers.DataBind()
End Sub
Screenshot