Hi
I've ran into some troubles with paging on gridviews. This is a cut down version of my code.
The above works fine except for the paging element. I'm guessing i need to run it via a dataview or a objectdatasource. I've searched the internet for examples of them working, but I cant find any working examples which arent vastly to overly complicated for what I need.
Could someone help me pls?
Thanks
I've ran into some troubles with paging on gridviews. This is a cut down version of my code.
Code:
Dim dt as new datatable
'Build up columns and rows in dt using vast quantities of code (pivot table)
'gv is the name of my gridview
gv.datasource = dt
gv.databind()
The above works fine except for the paging element. I'm guessing i need to run it via a dataview or a objectdatasource. I've searched the internet for examples of them working, but I cant find any working examples which arent vastly to overly complicated for what I need.
Could someone help me pls?
Thanks