Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Poplating Gridview

Status
Not open for further replies.

Jay1b

Programmer
Apr 27, 2004
15
GB
Hi

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top