In the .aspx page in the gridview tag, u can add a property that "allowPaging=true" and u can also set the page size, that is the number of rows in the grid on one page.
It is done as :
<asp:GridView ID="GridView1″ DataSourceID="TitlesSource" EnableSortingAndPagingCallbacks="true"
AllowPaging="true" PageSize="10" runat="Server" />