asp.net°ÙÍò¼¶Êý¾Ý·ÖÒ³ºÃ·½·¨
asp.net°ÙÍò¼¶Êý¾Ý·ÖÒ³ÓÃʲô·½·¨µÄ£¬ÊÔ¹ýaspnetpager¿ØÄ꣬³¬¹ýÊ®Íò¶¼ÂýµÃ²»ÐУ¬ºǫ́Êý¾Ý¿âÊÇsqlserver2000£¬²»ÏëÓý¨Á¢´¢´æ¹ý³ÌµÄ·½Ê½£¬Çë´ó¼ÒÖ¸µãÒ»¶þ.
²»ÏëÓý¨Á¢´¢´æ¹ý³ÌµÄ·½Ê½£¿ ÎÞÓïÁË ÄǾÍ×Ô¼ºÆ´SQLÁË select top 10 * from a where ID not in (select top 10 ID from a) OracleµÄ¿ÉÒԲο¼FortuneBase SQLServer²»Ì«Çå³þ,Èç¹û²»Óô洢¹ý³ÌµÄ»° ¿ÉÒԲο¼www.cnblogs.com/mail-ricklee ¶¥Ò»Ï http://topic.csdn.net/u/20090113/16/cac6480c-84ff-4ae3-8fa1-11cfa39fd8ea.html?28098 ²»ÏëÓý¨Á¢´¢´æ¹ý³ÌµÄ·½Ê½ .ÒýÓà ²»ÏëÓý¨Á¢´¢´æ¹ý³ÌµÄ·½Ê½ . ²»ÏëºÜÂé·³ÁË¡£ ½¨Ò黹ÊÇÓ÷ÖÒ³´æ´¢¹ý³Ì°É£¬ÓÃÒ»´Î¾ÍÖªµÀÁË£¬²»Âé·³¡£ ·ÖÒ³ÂýºÍAspNetPagerÄÜÓÐʲô¹Øϵ£¿·ÖÒ³¿Ø¼þÖ»Éú³ÉһЩ·ÖÒ³Á´½Ó¶øÒÑ£¬·ÖÒ³ÂýµÄÔÒòÊÇ»ñÈ¡Êý¾ÝµÄËÙ¶ÈÂý£¬ÕâºÍÄã»ñÈ¡Êý¾ÝµÄ·½·¨Óйأ¬¶øAspNetPager·ÖÒ³¿Ø¼þºÍÊý¾ÝµÄ»ñÈ¡ÊǺÁ²»Ïà¸ÉµÄ£¬ÔõôÄÜ˵·ÖÒ³¿Ø¼þÂý£¿ ËäȻͨ¹ý2´Î²éѯ¿ÉÒÔ¡£²éÒÔ²é³öÀ´¡£ ROW_NUMBER() ½¨Ë÷Òý ϴϴ˯ÁË°ÉÂ¥Ö÷¡£ ·Å×Å´æ´¢¹ý³Ì²»Óᣠ- - Ë÷Òý + ´æ´¢¹ý³Ì aspnetpager? Õâ²»¹ýÊdzÊÏÖÒ³µ¼º½µÄ¿Ø¼þ£¬ºÍ·ÖҳûÓÐÈκιØϵ£¡ ×Ô¼ºÐ´Èý²ã´æ´¢¹ý³Ì·ÖÒ³¡£Ð§¹û±È´æ´¢¹ý³ÌºÃ¡£¸øÄã¸ö²Î¿¼ http://www.aspjzy.com/9093.html ¹é¸ù½áµ×¡£Âý¾ÍÊÇÒòΪһ´ÎÐÔ°ÑÊý¾ÝÈ¡³öÀ´¡£ ²ÉÓ÷ÖÒ³´æ´¢¹ý³Ì·ÖҳȡÊý¾Ý¡£·ñÔòÓÃʲô¶¼Âý¡£¡£¡£ ÎÒÃǵÄÒµÎñ¾³£¾ÍÊÇÉÏ°ÙÍò.ÎÒ¶¼ÊÇÕâÑù×ö: 1,½¨Á¢Ë÷Òý,µ¹Ðò»òÕý
Ïà¹ØÎÊ´ð£º
aspÏÂÃ棬µ±Òª¸ù¾Ý²»Í¬µÄȨÏÞÏÔʾһЩ¹¦ÄÜ°´Å¥µÄ»°»áд³É <% if ȨÏÞ=1 then %> <input type="submit" name="Submit" value="Ìá½»" /> <% end i ......
°ÑÒµÎñ²ãµÄ¶¼Ð´ÔÚdllÎļþÖÐÁË£¬ÏÖÔÚÏëÒªÐ޸ģ¬´ó¼Ò¶¼ÓÃʲô¹¤¾ß´ò¿ª£¿ ÓÃvisual studio×Ô´øµÄ ildasm¿ÉÒÔÂ𣿠ÆÚ´ý¸ßÊÖ LZºÃÀ÷º¦ Ó÷´±àÒëÈí¼þ ÎÒÓÃReflectorÖ»ÄÜ¿´£¬²»Äܸİ¡£¿ ÓÐà ......
ÔÚµ¯³ö¿òÖеã»÷Ò»¸ö°´Å¥£¬Ôõôµ÷תµ½ÁíÒ»¸öä¯ÀÀÆ÷£¬²¢ÇÒÔÚ¸Ãä¯ÀÀÆ÷´ò¿ªÁ½¸öÒ³Ãæ ÄãµÄÒâ˼Ӧ¸ÃÊÇ response.write("<script>alert('È·ÈÏ'); window.location.href('xxxx.aspx'); </script>"); ......
ÏÖÔÚÏëÒ»¸öʼþÀ´Ö´ÐÐÒ»¸öº¯Êý Õâ¸öʼþÊÇÔÚÿ¸öÓû§·ÃÎÊÍøվʱ¾Í»á´¥·¢,µ«ÊÇÔÚµ±Ç°·ÃÎÊÖ»ÄÜ´¥·¢Ò»´Î ÎÒ¾ÍÊÇÏë×öÒ»¸öÔÚÏßÈËÊý,µ±·ÃÎÊÕâ¸öվʱ¾Í´¥·¢,ÒÔºó¾Í²»ÔÚ´¥·¢ÁË ³ý·Ç¹Ø±ÕÍøÕ¾ºó,ÔÚ´ò¿ª ......
VB.NET code: 'Global.asax Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) 'ÔÚÓ¦ÓóÌÐòÆô¶¯Ê±ÔËÐеĴúÂë Dim RequestUrl As String = HttpContext.Current.Requ ......