// Replace with method(s) that retrieve your data. this.m_businessObject.GetAllData(); this.grdGridView.PageIndex = e.NewPageIndex; this.DataBind();For sorting, you can set the BindingSource to your business object name, the BindingSourceMember to something like TableName.DefaultView (replace TableName with the real table name).
string sort = "ASC"; if (e.SortDirection == SortDirection.Descending) { sort = "DESC"; } this.m_businessObject.GetAllData(); this.m_businessObject.DataSet.Tables[0].DefaultView.Sort = e.SortExpression + " " + sort; this.DataBind();