Sunday, January 9, 2011

Formview PageIndexChanging event c# coding

protected void fv1_PageIndexChanging(object sender, FormViewPageEventArgs e)
{
fv1.PageIndex = e.NewPageIndex;
fv1.DataBind();
}

1 comment:

Anonymous said...

Nice, one problem. This is PageIndexChanging not PageIndexChanged. Thanks anyway.

SQL Optimization

  SQL Optimization  1. Add where on your query  2. If you remove some data after the data return then remove the remove condition in the sel...