468,135 Members | 1,410 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,135 developers. It's quick & easy.

Custom paging/sorting using Gridviews

Roy
Hey all,

I must be losing my touch. I have made many pages in the 1.1 framework
that utilize custom bidirectional paging in datagrids. We've converted
over to 2.0 and I've been trying to use the built-in functionality of
gridviews and objectdatasource's to accomplish the same thing (w/o
resorting to the 1.1 methodology). I discovered two very nice and
comprehensive articles concerning this:

Custom Paging in ASP.NET 2.0 with SQL Server 2005:
http://aspnet.4guysfromrolla.com/articles/031506-1.aspx

Sorting Custom Paged Results:
http://aspnet.4guysfromrolla.com/articles/032206-1.aspx

....both of which make no sense to me. As I said, I must be losing my
touch. What makes it tricky for me is that while we've upgraded to VS
2005, we're still using SQL Server 2000. Why the two pages are
confusing is that their examples:
1.) don't specifically use SQL Server 2000 as a backend
2.) don't pass in any user-supplied variables to the stored procs (they
always assume you'll be pulling the whole table)
3.) adequately explain some properties, such as "typename" (in some
examples this references a codebehind class...in others it seems to
reference a SQL Server table)
4.) have multiple pages broken up so you must surf back and forth to
get the whole picture

Does anyone have any working code they can post here (code that uses
multiple parameters)?
Or possibly helpful links to better custom paging/sorting resources?

May 23 '06 #1
0 1375

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Guoqi Zheng | last post: by
reply views Thread by Wiktor Zychla [C# MVP] | last post: by
3 posts views Thread by Logu Krishnan | last post: by
7 posts views Thread by =?Utf-8?B?SmVmZiBCZWVt?= | last post: by
1 post views Thread by mmorrison93 | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.