asp.net mvcÇ¿´óµÄ·ÖÒ³¿Ø¼þMvcPager
²»¹ÜʹÓÃʲôÀ´¿ª·¢³ÌÐò£¬¶¼ÉÙ²»ÁËÐèÒª×ö·ÖÒ³£¬Ä¿Ç°Ê¹ÓÃasp.net
mvc¿ª·¢µÄwebÓ¦ÓóÌÐòµÄÈËÔ½À´Ô½¶àÁË£¬ÏàÓ¦µÄ¸¨Öú£¬Ìá¸ß¿ª·¢Ð§ÂʵÄhelper·½·¨¡¢¿Ø¼þ¶¼½«»á³öÏÖ¡£½ñÌìÎÒÏò´ó¼Ò½éÉÜÒ»¿îÔÚasp.net
mvc¿ò¼ÜÖÐʹÓõķÖÒ³¿Ø¼þ¡£±¾ÈËÒ²ÊÇÔÚÐÂÄêµÄʱºò³õ´ÎʹÓ㬵«ÊÇһֱûÓÐÍƼö¸ø´ó¼Ò¡£ÀûÓÃÎåÒ»ÐÝϢʱ¼äÒ²¾Í½éÉܸø´ó¼Ò¡£ÉùÃ÷ÎÒÓ벩Ñî¼ÆËã»úÓÐÏÞ¹«Ë¾ÎÞÈÎ
ºÎ¹ØϵֻÊǾõµÃÕâ¸ö·ÖÒ³¿Ø¼þºÜºÃÓ㬲¢ÇÒ¹¦ÄÜÇ¿´ó£¬ÔÚÕâÀïÊÇÕæµÄֻΪ½éÉÜÕâ¿î·ÖÒ³¿Ø¼þ¡£
ÁíÍâÏÂÔصØÖ·£ºhttp://mvcpager.codeplex.com/releases/view/42912
ÁíÍ⻹ÓÐÏà¹ØʹÓõÄDEMOÒ²ºÜ·á¸»£¬ÉÏÃæµÄÍøÖ·Ò²¿ÉÒÔÏÂÔطdz£ÍêÕûµÄDEMO¡£
DEMOÀïÓÐʹÓø÷ÖÖÔÚasp.net mvcÖÐÌᳫµÄ·½Ê½À´ÊµÏÖ·ÖÒ³¹¦ÄÜ£¬·Ö±ðÓÐ:
1.±ê×¼µÄUrl·ÖÒ³ ÔÚÏßÑÝʾЧ¹ûÇë¿´:http://www.webdiyer.com/Controls/MvcPager/Demo
2.jquery ajax·ÖÒ³ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/AjaxDemo
3.Microsoft Ajax·ÖÒ³ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/MicrosoftAjaxDemo
4.ʹÓÃDataRow¼¯ºÏ·ÖÒ³ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/DataRowsPaging
5.ASP.NET MVC Pager·ÖÒ³¿Ø¼þÓû§×Ô¶¨ÒåÐÅÏ¢ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/CustomInfo
6.MvcPagerÓ¦ÓÃCSSÑùʽ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/ApplyStyles
7.±£³ÖUrl²ÎÊý(·ÖÒ³»Ö¸´Url²ÎÊý) ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/UrlParameters?year=2009&month=12&author=webdiyer
8.ajaxÕýÔÚ¼ÓÔØЧ¹û·ÖÒ³ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/Loading
9.ʹÓÃ×Ô¶¨Òå·ÓɱíʵÏÖ·ÖÒ³ ÔÚÏßÑÝʾЧ¹ûÇë¿´£ºhttp://www.webdiyer.com/Controls/MvcPager/CustomRouteTable/employee_1/page_1
10.MvcPagerʹÓô洢¹ý³Ì·ÖÒ³ http://www.webdiyer.com/Controls/MvcPager/StoredProcedure
11.ASP.NET MvcPager Ajax²úÉúÒì³£´¦Àí·ÖÒ³ http://www.webdiyer.com/Controls/MvcPager/AjaxEvents
12.MvcPagerʹÓÃÊäÈë»òÑ¡ÔñÒ³Ë÷Òý²¢ÌøתʵÏÖ·ÖÒ³ http://www.webdiyer.com/Controls/MvcPager/PageIndexBox
´ó¼Ò¿ÉÒÔ¸ù¾Ý×Ô¼ºµÄʵ¼ÊÇé¿öÑ¡ÔñʹÓÃÄÇÖÖ·ÖÒ³·½Ê½»òÕßͬʱʹÓü¸ÖÖ·ÖÒ³·½Ê½¡£
MvcPagerµÄ½éÉÜ
MvcPager·ÖÒ³¿Ø¼þÊÇÔÚASP.NET
MVC WebÓ¦ÓóÌÐòÖÐʵÏÖ·ÖÒ³¹¦ÄܵÄһϵÁÐÀ©Õ¹·½
Ïà¹ØÎĵµ£º
WebPartManager
WebPartManager¿Ø¼þÊÇ Web ²¿¼þ¿Ø¼þ¼¯µÄºËÐĿؼþ£¬ÓÃÓÚ¹ÜÀíËùÓÐ Web ²¿¼þ¿Ø¼þ¡¢Web ²¿¼þ¹¦ÄÜºÍ Web ²¿¼þʼþ¡£
±ØÐëÏòʹÓà Web ²¿¼þ¿Ø¼þµÄÿ¸öÒ³Ìí¼ÓÒ»¸ö£¨½ö½öÒ»¸ö£©WebPartManager¿Ø¼þ¡£WebPartManager¿Ø¼þÖ»ÄÜÓÉͨ¹ýÉí·ÝÑéÖ¤µÄÓû§Ê¹Óá£
WebPartManger ÈÎÎñ
ϱíÁгöÁËÓÉ WebPartManager¿Ø¼þÖ´Ðе ......
ÎÒÏë×öÒ»¸ö¶àÖ¸±ê¶¯Ì¬²éѯ£¬ÇëÎÊÄÄλÐÖµÜ×ö¹ý£¬°ï¸ö棡¾ßÌåÒªÇóÊÇ:ÎÒ¿ÉÒÔËæÒâÑ¡ÔñÊý¾Ý¿â±íÖеÄÈκÎÒ»¸ö»ò¶à¸ö×ֶΣ¬È»ºó°ÑËûÃDzéѯ³öÀ´£¡ÎÒ»á×öµ¥Ö¸±í²éѯµÄ£¬µ«ÏÖÔÚ¹¦ÄÜÒªÒªÇó¶àÖ¸±ê¶¯Ì¬²éѯ£¡»áµÄ°ï¸öæ°¡@£¡¸Ðл֮ÖÁ£¡
ÀýÈçÎÒÏë²éÊý¾Ý¿â±íÖÐµÄ Óû§±àºÅ ÐÕÃû »òÕßÓû§±àºÅ ÐÕÃû Ê¡·Ý ÊÕÈë ²¢°Ñ¶ÔÓ¦µ ......
¡¾Õª Òª¡¿ ±¾ÎÄ»ùÓÚASP.NET 2.0µÄÔ´´úÂ룬¶ÔASP.NET 2.0ÔËÐÐʱ½øÐÐÁ˼òÒªµÄ·ÖÎö£¬Ï£ÍûÄÜ°ïÖúÄãÀí½âASP.NET 2.0ÖÐÇëÇó´¦Àí¹ý³Ì¼°Ò³Ãæ±àÒëÄ£ÐÍ¡£
¡¡¡¡Ö÷ÒªÀࣺ
¡¡¡¡System.Web.HttpRuntime
¡¡¡¡System.Web.HttpApplicationFactory
¡¡¡¡System.Web.HttpApplication
¡¡¡¡System.Web.Compilation.BuildManager
¡¡¡¡Syst ......
ÔÚ¿ª·¢Öб£³ÖÁ¼ºÃµÄ±àÂë¹æ·¶ÊÇÊ®·ÖÖØÒªµÄ¡£ÎÒËù²ÉÓõÄеÄVB.net/ASP.NET±àÂë¹æ·¶£¬ÊÇÒ»ÖÖ±»Ö¤Ã÷ÄÜÃ÷ÏÔ¸ÄÉÆ´úÂë¿É¶ÁÐÔ£¬²¢ÓÐÖúÓÚ´úÂë¹ÜÀí¡¢·ÖÀàµÄ±àÂë¹æ·¶¡£²ÉÓÃÕâÖÖ±àÂë¹æ·¶£¬ÄܱÜÃâÈçÐÙÑÀÀûÃüÃû·¨´øÀ´µÄ·±³¤Ç°×º£¬±ãÓÚ¼ÇÒä±äÁ¿µÄÓÃ;¡£ÏÂÃæµÄ½éÉÜÕâÖÖ±àÂë¹æ·¶¡£
Ò»¡¢ÀàÐͼ¶µ¥Î»µÄÃüÃû
1¡¢Àà
¡õÒÔClassÉùÃ÷µÄÀ࣬¶¼±ØÐë ......