paging an unbound gridview
can anyone point me to any good examples of how to page an unbound gridview? Im binding it to a LINQ search query gen开发者_开发百科erated on a buttons click event.
thanks
got it working using
protected void grid_PageIndexChanging1(object sender, GridViewPageEventArgs e)
{ grid.PageIndex = e.NewPageIndex;
grid.DataBind();
}
精彩评论