DataTable with 15 records -> GridView PageIndexChange doesn"t display the next 5 record
am 03.04.2008 11:01:09 von Fabio MastriaHi
having a DataTable with 15 records, used as DataSource of a GridView enabled
to manage page of 10 rows, if I click on the second page, I can't see the
next records after firsts 10!
I manage the PageIndexChange event as follow
GridView theGrid = (GridView)sender;
theGrid.PageIndex = e.NewPageIndex;
theGrid.DataSource = dtSource;
theGrid.DataBind();
What's wrong?
Thank u
Fabio