<asp:GridView ID="gvTest" runat="server" DataSourceID="dsTest">            
</asp:GridView>

<asp:SqlDataSource ConnectionString="connection_string" ID="dsTest" SelectCommand="Select * from Member" runat="server" />












<asp:GridView ID="gvTest" runat="server" DataSourceID="dsTest" AllowPaging="true" PageSize="2" OnPageIndexChanging="gvTest_PageIndexChanging">
            
</asp:GridView>
<asp:SqlDataSource ConnectionString="connection_string" ID="dsTest" SelectCommand="Select * from Member" runat="server" />




protected void gvTest_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
        gvTest.PageIndex = e.NewPageIndex;
}








Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 21, 2015

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250