In your code it is not clear if the GridView has the AllowPaging = true. This might be set in the .aspx file
You don't set the PageIndex property for the
grdlistTeam
GridView in the BindRecentMatches() method:
You should add a property in your class so you can use the NewPageIndex value from the grdlistTeam_PageIndexChanging method in the BindRecentMatches method.
grdlistTeam.DataSource = objDs.Tables[0].DefaultView;
grdlistTeam.DataBind()
You must set the grdLstTeam.PageIndex value before the grdLisTeal.DataBind() method.
In fact what yo do now is set a PageIndex and reload all the data after that. Since there is no data when setting the pageindex, the pageindex will be 0 when addng the new dataset (see DataSet objDs = new DataSet(); in BindRecentMatches()). So after the data is added the correct pageIndex can be set.