I'm trying to implement gridview sorting and paging using an objectdatasource with the samples provided on this website
http://www.4guysfromrolla.com/articles/031506-1.aspx. At the moment, no data is being returned. I'm using the gridview on a search screen, so I'm passing search parameters along with the StartRowIndexParameterName
and MaximumRowsParameterName values to the stored procedure. The search and count stored procedures return the correct results when I execute from sql management studio. Can anyone offer advice on how to get sorting and paging working when additional paramaters
are being used?
protected void btnSearch_Click(object sender, ImageClickEventArgs e)
{
try
{
this.gvEmployee.DataSource = EmployeeDataSource;
this.gvEmployee.DataBind();
}
...
Go to the complete details ...