Do the following.
1. Bind the GridView in Page_Load event.
2. Implement PageIndexChanging event of the GridView.
protected void Page_Load(object sender, System.EventArgs e)
{
if (!IsPostBack) {
bindControls();
}
}
protected void GridView1_PageIndexChanging(object sender, System.Web.UI.WebControls.GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
bindControls();
}
private void bindControls()
{
BusinessLogicFacade businessLogic = new BusinessLogicFacade();
GridView1.DataSource = businessLogic.GetData();
GridView1.DataBind();
}