一個優秀的Asp.Net2.0通用分頁控制項--PagerDataSource

來源:互聯網
上載者:User
    關於Asp.Net的分頁,網上已經有許多相對成熟的解決方案。但是不難看出,這些方案多數是 Asp.Net1.1 時期的產物。Asp.Net2.0 中,DataSource 控制項的出現大大簡化了 Web 程式的代碼量,但部分現有的分頁方案在使用DataSource控制項時是不適用的。
    本文推薦的PagerDataSource控制項則是一個專門用於 Asp.Net2.0 的資料分頁控制項,以下是該控制項要簡單介紹(由於本人 E 文不佳,就不對原文進行翻譯了,以免用詞不當或曲解原意,倒不如大家自己看 E 文得好):

Most web applications need to show large quantities of data but usually we do not show all the information on a single web page. It is very common to show only a portion of the information in the current page and to allow the user to navigate to other portions of the data. Some of the controls ASP.NET 2.0 provides have integrated paging support, but it is not very customizable. Other ASP.NET controls  just do not provide any paging support so the developer has to provide the user interface and code to add paging support.

The PagerDataSource control helps us to show only a portion of the data at a time. We have to provide the data to display to the PagerDataSource control and it will render the user interface to navigate to the different pages of our data. It will also provide paged data to the controls that we want. What is even better, we can add paging support with no code at all if we are using the data source controls introduced in ASP.NET 2.0. You will be amazed to see several synchronized pagers for the same control with no code at all!

Providing paged data to another control is not the only thing that the PagerDataSource does. The PagerDataSource also exposes rich design-time support, unlimited customization, better search engine positioning for web pages and much more! For more information take a look at the Features page.

官方首頁:http://www.manuelabadia.com/products/default.aspx

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.