Paging a large varchar field in ASP.Net?

Associate
Joined
3 Jan 2005
Posts
1,736
Hi all - I'm currently creating my own blogging and cms system in asp.net / C# / SQL.

I've come up against a problem - some articles I will write might be quite long so I'd like to be able to set up paging for these large text portions so we've got next, prvious and page numbers.

What's the best way to go about it? I can't see any tools for this in VS2008 and my google searches haven't come up with anything

Any help appreciated!

Stephen.
 
Objectdatasource combined with a formview control are probably best.

Use the objectdatasource to mask the true nature of the text making it appear as mutliple records each n characters long.

The Objectdatasource is good in this respect in that it can handle paging out of the box.
 
Back
Top Bottom