C# .NET - Paging - Asked By Olusegun A. on 01-Nov-09 01:36 AM

Hello There

How do i page my search result?

regards.
Olusegun

A lot of this has to do with what form your search results are in - Peter Bromberg replied to Olusegun A. on 01-Nov-09 08:18 AM

If your search results are coming in the form of a DataSet or similar object, you can use the PagedDataSource control to create a page-able display:

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.pageddatasource.aspx

Re - Ravenet Rasaiyah replied to Olusegun A. on 01-Nov-09 08:38 AM

Hi

To this PageDataSource is most use,

here is tutorial to this

http://articles.sitepoint.com/article/asp-nets-pageddatasource

thank you

Paging in? - [)ia6l0 iii replied to Olusegun A. on 01-Nov-09 12:57 PM

If the above solutions do not meet your requirements read on. 

If you are using a GridView web server control to show your data, then you can use the GridView Paging functionality. You would need to use the AllowPaging and PageCount properties of the GridView. You can also customize the GridView paging functionality to a great extent. And also its appearance. Read more on this from http://msdn.microsoft.com/en-us/library/5aw1xfh3.aspx.

If you are using a ListView web server control to list your data, use the paging functionality of the ListView. Yes, even here , the paging is customizable.

And yes, there is the PagerDataSource object that serves much more. http://msdn.microsoft.com/en-us/library/ms972960.aspx msdn article shows you how to use this. 
Your post is removed because you've posted ads in our forums - Robbe Morris replied to Web Star on 01-Nov-09 04:01 PM
This is not permitted.