ASP.net Gridview pager button using c#
<p>I have a <code>gridview</code> and it displays hundreds of record now problem is that, if i set <code>autogeneratecolumns=true</code>; then it will also show columns which i don't want to see, if i set false, it will hide the pager, now i want to make a pager buttons to move navigate to next and previous records. 
thanks </p>

<pre><code>&lt;PagerTemplate&gt;              
    &lt;asp:Button ID="Button3" runat="server" Text="next" /&gt;        
&lt;/PagerTemplate&gt;
</code></pre>

<p>I have added a button in <code>pager templete</code> but don't know what command I should pass it to fetch next records.</p>
