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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gridview Datasource & paging

Status
Not open for further replies.

KevoMee

Technical User
Apr 30, 2002
72
IE
I have a gridview with paging enabled. It shows 15 items at a time. In a search there could be 100s of items. Obviously I only want a particular 15 items returned from the database at a time. Is this automatically done for me when using a query as the datasource for the grid? or do I manually have to enforce this?

The way I would do it with a datagrid would be get the required number myself and set up paging with virtualitemcount. This isn't possible with gridviews. I've read documentation and haven't been able to get a clear cut answer. Any info would be great. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top