I have a gridview which is bound to a datatable which I build in the code and use the DATASOURCE + DATABINDING on the gridview. It works nicely.
Now I want to enable paging.
If I set ENABLEPAGING to true I get the selectable page numbers under the grid but when I use them the application crashes; apparently, I need a PAGEINDEXCHANGING handler.
Can any help me with what I need to put in the handler to get Paging to work.
Thanks for any help
Now I want to enable paging.
If I set ENABLEPAGING to true I get the selectable page numbers under the grid but when I use them the application crashes; apparently, I need a PAGEINDEXCHANGING handler.
Can any help me with what I need to put in the handler to get Paging to work.
Thanks for any help