<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_小小池</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/11638/rss</id><updated>2012-02-05T13:07:13Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/11638/rss"/><entry><id>http://www.cnblogs.com/chixiaojin/archive/2012/02/05/2339276.html</id><title type="text">FLASH 加载进度 JS代码</title><summary type="text">&amp;lt;divid=&amp;quot;d1&amp;quot;&amp;gt;&amp;lt;embedtype=&amp;quot;application/x-shockwave-flash&amp;quot;pluginspage=&amp;quot;http://www.adobe.com/go/getflashplayer&amp;quot;id=&amp;quot;mgame&amp;quot;name=&amp;quot;mgame&amp;quot;width=&amp;quot;640px&amp;quot;height=&amp;quot;480px&amp;quot;src=&amp;quot;http://www.kfc123.com/test/hai.swf&amp;quot;allowscriptacces</summary><published>2012-02-05T13:07:00Z</published><updated>2012-02-05T13:07:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2012/02/05/2339276.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2012/02/05/2339276.html"/><content type="html">&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&amp;lt;div&amp;nbsp;id=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;d1&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;embed&amp;nbsp;type=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;application/x-shockwave-flash&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;pluginspage=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;http://www.adobe.com/go/getflashplayer&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;id=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;mgame&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;name=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;mgame&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;&amp;nbsp;width=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;640px&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;height=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;480px&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;src=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;http://www.kfc123.com/test/hai.swf&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;allowscriptaccess=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;always&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;allownetworking=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;all&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;wmode=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;window&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;quality=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;high&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;input&amp;nbsp;id=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;txt&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;type=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;text&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;value=&lt;span style="color: #800000;"&gt;""&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;div&amp;nbsp;id=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;d2&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;nbsp;style=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;visibility:hidden&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;gt;&lt;br /&gt;flash已经加载完成&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;script&amp;nbsp;language=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;javascript&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&amp;gt;&lt;br /&gt;function&amp;nbsp;ck()&lt;br /&gt;{&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;var&lt;/span&gt;&amp;nbsp;mFlash=document.getElementById(&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;mgame&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;);&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;var&lt;/span&gt;&amp;nbsp;txt=document.getElementById(&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;txt&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;);&lt;br /&gt;txt.value=mgame.PercentLoaded()+&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;%&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;(txt.value==&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;100%&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;)&lt;br /&gt;{&lt;br /&gt;document.getElementById(&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;d2&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;).style.visibility=&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;visible&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;br /&gt;clearInterval(timer)&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;var&lt;/span&gt;&amp;nbsp;timer=setInterval(&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;ck()&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;,&lt;span style="color: #800080;"&gt;1000&lt;/span&gt;)&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2339276.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2012/02/05/2339276.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/11/01/2231274.html</id><title type="text">图片加文字的链接兼容IE chrome FF</title><summary type="text">&amp;lt;styletype=&amp;quot;text/css&amp;quot;&amp;gt;&amp;lt;!--BODY{PADDING-RIGHT:0px;PADDING-LEFT:0px;PADDING-BOTTOM:0px;MARGIN:0px;PADDING-TOP:0px;FONT:12px/1.75宋体,arial,sans-serif}UL{PADDING-RIGHT:0px;PADDING-LEFT:0px;PADDING-BOTTOM:0px;MARGIN:0px;PADDING-TOP:0px}LI{PADDING-RIGHT:0px;PADDING-LEFT:0px;PADDING-BOTTO</summary><published>2011-11-01T04:00:00Z</published><updated>2011-11-01T04:00:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/11/01/2231274.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/11/01/2231274.html"/><content type="html">&lt;p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #800000;"&gt;&amp;lt;style&amp;nbsp;type="text/css"&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;BODY&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-RIGHT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-LEFT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-BOTTOM&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;MARGIN&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-TOP&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;FONT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;12px/1.75&amp;nbsp;宋体,arial,sans-serif&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;UL&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;PADDING-RIGHT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-LEFT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-BOTTOM&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;MARGIN&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-TOP&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;LI&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-RIGHT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-LEFT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-BOTTOM&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;MARGIN&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;PADDING-TOP&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;LIST-STYLE-TYPE&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;none&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;IMG&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-TOP-WIDTH&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-LEFT-WIDTH&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-BOTTOM-WIDTH&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;VERTICAL-ALIGN&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;middle&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-RIGHT-WIDTH&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;0px&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;a&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#333333&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;text-decoration&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;none&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;.pt100&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PADDING-LEFT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;111px&lt;br /&gt;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;&lt;br /&gt;.ulPic&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;WIDTH&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;106px&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;.ulPic&amp;nbsp;IMG&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BACKGROUND&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#fff&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#d7d7d7&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;vertical-align&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;top&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;2px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;&lt;br /&gt;.ulPic&amp;nbsp;LI&amp;nbsp;.tit&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BACKGROUND&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#f5f5f5&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;OVERFLOW&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;hidden&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;CURSOR&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;pointer&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;LINE-HEIGHT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;20px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;HEIGHT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;20px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;TEXT-ALIGN&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;center&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;display&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;block&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;.ulPic&amp;nbsp;LI&amp;nbsp;A:hover&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ZOOM&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1&lt;br /&gt;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;.ulPic&amp;nbsp;LI&amp;nbsp;A:hover&amp;nbsp;IMG&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BORDER-RIGHT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#c00&amp;nbsp;1px&amp;nbsp;solid&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-TOP&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#c00&amp;nbsp;1px&amp;nbsp;solid&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-LEFT&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#c00&amp;nbsp;1px&amp;nbsp;solid&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;BORDER-BOTTOM&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#c00&amp;nbsp;1px&amp;nbsp;solid&lt;br /&gt;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;.ulPic&amp;nbsp;LI&amp;nbsp;A:hover&amp;nbsp;.tit&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;COLOR&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#c00&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;TEXT-DECORATION&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;underline&lt;br /&gt;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;&amp;lt;/STYLE&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span  style="font-family: 'Courier New'; font-size: 13px; line-height: 19px; background-color: #f5f5f5; "&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;DIV&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="pt100"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;UL&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="ulPic&amp;nbsp;ptPic"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;LI&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;A&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="http://bbs.pcauto.com.cn/topic-2831650.html"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;target&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=_blank&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;IMG&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;height&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=75&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;alt&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=迈腾1.8T提车记&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;src&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="pc.files/1_3.jpg"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;width&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=100&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;SPAN&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=tit&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;迈腾1.8T提车记&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;SPAN&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;A&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;LI&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;UL&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;UL&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=ulTxt&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;LI&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;LI&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;UL&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;DIV&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2231274.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/11/01/2231274.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/10/17/2215856.html</id><title type="text">Asp.net清除数据缓存及页面缓存</title><summary type="text">//清除所有数据缓存IDictionaryEnumeratorCacheEnum=Cache.GetEnumerator();while(CacheEnum.MoveNext()){Cache.Remove(CacheEnum.Entry.Key.ToString());} //清除指定的数据缓存 HttpRuntime.Cache.Remove(cacheEnmu.Key.ToString()); //清除指定的页面缓存（注：在同一浏览器下要刷新一下） stringPagePath=&amp;quot;/Default.aspx&amp;quot;;HttpResponse.RemoveOutputCach</summary><published>2011-10-17T13:14:00Z</published><updated>2011-10-17T13:14:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/10/17/2215856.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/10/17/2215856.html"/><content type="html">&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #008000;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;清除所有数据缓存&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IDictionaryEnumerator&amp;nbsp;CacheEnum&amp;nbsp;=&amp;nbsp;Cache.GetEnumerator();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&amp;nbsp;(CacheEnum.MoveNext())&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Cache.Remove(CacheEnum.Entry.Key.ToString());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span style="color: #008000; "&gt;//&lt;/span&gt;&lt;span style="color: #008000; "&gt;清除指定的数据缓存&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span  style="color: #4b4b4b; font-family: monospace; white-space: pre; "&gt;    HttpRuntime.Cache.Remove(cacheEnmu.Key.ToString());&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #008000;"&gt;&amp;nbsp;&amp;nbsp; //&lt;/span&gt;&lt;span style="color: #008000;"&gt;清除指定的页面缓存（注：在同一浏览器下要刷新一下）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0000FF;"&gt;&amp;nbsp;&amp;nbsp; string&lt;/span&gt;&amp;nbsp;PagePath&amp;nbsp;=&amp;nbsp;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;/Default.aspx&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;HttpResponse.RemoveOutputCacheItem(PagePath);&lt;/p&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2215856.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/10/17/2215856.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/09/28/2194802.html</id><title type="text">JS屏蔽事件集</title><summary type="text">一、禁止鼠标滑轮事件&amp;lt;scripttype=&amp;quot;text/javascript&amp;quot;&amp;gt;varscrollFunc=function(e){vardirect=0;e=e||window.event;if(document.addEventListener){e.preventDefault();}else{window.event.returnValue=false;//alert(key);}returnfalse;}/*注册事件*/if(document.addEventListener){document.addEventListener(&amp;#39;DOMMou</summary><published>2011-09-28T13:04:00Z</published><updated>2011-09-28T13:04:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/28/2194802.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/28/2194802.html"/><content type="html">&lt;p&gt;一、禁止鼠标滑轮事件&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&amp;lt;script&amp;nbsp;type="text/javascript"&amp;gt;&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;var&lt;/span&gt;&amp;nbsp;scrollFunc=&lt;span style="color: #0000FF;"&gt;function&lt;/span&gt;(e){&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;var&lt;/span&gt;&amp;nbsp;direct=0;&lt;br /&gt;e=e&amp;nbsp;||&amp;nbsp;window.event;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;(document.addEventListener)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;e.preventDefault();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;else&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;window.event.returnValue&amp;nbsp;=&amp;nbsp;&lt;span style="color: #0000FF;"&gt;false&lt;/span&gt;;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;alert(key);&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;false&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;span style="color: #008000;"&gt;/*&lt;/span&gt;&lt;span style="color: #008000;"&gt;注册事件&lt;/span&gt;&lt;span style="color: #008000;"&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;(document.addEventListener){&lt;br /&gt;document.addEventListener('DOMMouseScroll',scrollFunc,&lt;span style="color: #0000FF;"&gt;false&lt;/span&gt;);&lt;br /&gt;}&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;W3C&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;window.onmousewheel=document.onmousewheel=scrollFunc;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;IE/Opera/Chrome/Safari&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;font  face="'Courier New'" size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2194802.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/09/28/2194802.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/09/26/2192346.html</id><title type="text">数字分页HTML CSS样式(针对IE6 Hack)</title><summary type="text">&amp;lt;styletype=&amp;quot;text/css&amp;quot;&amp;gt;&amp;lt;!--html,body,div,h1,h2,h3,dd,dl,dt,li,ol,ul{margin:0;padding:0;}body{height:100%;background:#fff;}div{text-align:left;overflow:hidden;zoom:1;}body{color:#b6b6b6;font-family:Arial,Helvetica,sans-serif;font-size:12px;}h1,h2,h3,h4,h5,h6{font-size:100%;}li{list-</summary><published>2011-09-26T14:27:00Z</published><updated>2011-09-26T14:27:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/26/2192346.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/26/2192346.html"/><content type="html">&lt;p&gt;&lt;span  style="color: #800000; font-family: 'Courier New'; font-size: 13px; line-height: 19px; "&gt;&amp;lt;style&amp;nbsp;type="text/css"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #800000;"&gt;&amp;lt;!--&lt;br /&gt;html,&amp;nbsp;body,&amp;nbsp;div,&amp;nbsp;h1,&amp;nbsp;h2,&amp;nbsp;h3,&amp;nbsp;dd,&amp;nbsp;dl,&amp;nbsp;dt,&amp;nbsp;li,&amp;nbsp;ol,&amp;nbsp;ul&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;margin&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;0&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;padding&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;0&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;body&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;100%&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;background&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;#fff&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;div&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;text-align&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;left&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;overflow&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;hidden&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;zoom&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;1&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;body&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;#b6b6b6&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;font-family&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;Arial,&amp;nbsp;Helvetica,&amp;nbsp;sans-serif&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;font-size&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;12px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;h1,&amp;nbsp;h2,&amp;nbsp;h3,&amp;nbsp;h4,&amp;nbsp;h5,&amp;nbsp;h6&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;font-size&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;100%&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;li&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;list-style-type&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;none&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;a&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;text-decoration&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;none&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;#414141&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;a:hover&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;#0a93c9&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;text-decoration&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;underline&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;img&amp;nbsp;&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;0&lt;/span&gt;;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;&lt;br /&gt;#gpager&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;width&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;980px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;auto&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-left&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;auto&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-top&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;10px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;clear&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;both&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;ul&amp;nbsp;li&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;left&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.cn&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;right&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.cn&amp;nbsp;.next&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-left&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;6px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.cn&amp;nbsp;a&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;left&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#E6E6E6&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;width&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;60px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;text-align&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;center&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;text-decoration&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;none&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;line-height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;_padding-top&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;5px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;_height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;17px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;_line-height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;14px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#0a93c9&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.cn&amp;nbsp;a:hover&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#CCCCCC&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;&lt;br /&gt;#gpager&amp;nbsp;.en&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;right&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.en&amp;nbsp;a&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#E6E6E6&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;text-decoration&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;none&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;line-height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;left&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;4px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding-left&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;4px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;6px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;font-size&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;14px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#0a93c9&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.en&amp;nbsp;a:hover&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#BEBEBE&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.en&amp;nbsp;.cur&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#FFFFFF&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;background-color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#CCCCCC&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;left&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;display&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;inline&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;line-height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;6px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;4px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding-left&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;4px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;font-size&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;14px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#CCCCCC&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;font-weight&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;bold&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;#gpager&amp;nbsp;.an&lt;/span&gt;{&lt;span style="color: #FF0000;"&gt;&amp;nbsp;line-height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;height&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;22px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;font-size&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;14px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;border&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#E1E1E1&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;float&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;right&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;margin-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;6px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding-right&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;5px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;padding-left&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;5px&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;color&lt;/span&gt;:&lt;span style="color: #0000FF;"&gt;&amp;nbsp;#0a93c9&lt;/span&gt;;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;&lt;/span&gt;}&lt;span style="color: #800000;"&gt;&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span  style="color: #339933; font-family: Verdana; font-size: 12px; line-height: 18px; "&gt;background:#ffc; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; 对firefox/chrome有效*/&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style="color: #339933; font-family: Verdana; font-size: 12px; line-height: 18px; "&gt;*background:#ccc; &amp;nbsp; &amp;nbsp; /* 对ie7/ie6有效 */&lt;br /&gt;_background:#000; &amp;nbsp; /* 只对ie6有效 */&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;div&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;id&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="gpager"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;ul&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="cn"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="pre"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;上一页&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;nbsp;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="next"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;下一页&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;ul&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;ul&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="en"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;2&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="cur"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;3&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;4&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;5&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;6&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;7&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;8&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;9&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;href&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="#"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;10&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;a&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;li&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;ul&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;ul&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;class&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="an"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; color: #0000ff; "&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; color: #800000; "&gt;li&lt;/span&gt;&lt;span style="font-family: 'Courier New'; color: #0000ff; "&gt;&amp;gt;&lt;/span&gt;3&amp;nbsp;/&amp;nbsp;600&lt;span  style="color: #0000ff; "&gt;&lt;span style="font-family: 'Courier New'; color: #0000ff; "&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span  style="color: #0000ff; "&gt;&lt;span style="font-family: 'Courier New'; color: #800000; "&gt;li&lt;/span&gt;&lt;/span&gt;&lt;span  style="color: #0000ff; "&gt;&lt;span style="font-family: 'Courier New'; color: #0000ff; "&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;ul&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="color: #0000ff; "&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000; "&gt;div&lt;/span&gt;&lt;span style="color: #0000ff; "&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span  style="font-family: 'Courier New'; font-size: 13px; line-height: 19px; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2192346.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/09/26/2192346.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/09/20/2182779.html</id><title type="text">数字分页(转)</title><summary type="text">http://www.cnblogs.com/msos/archive/2009/07/15/1524196.htmlhttp://www.cnblogs.com/lli0077/archive/2008/09/03/1282862.html• 数据分页概述• 数据层分页技术• 应用层分页技术• 展现层分页技术数据分页概述• 通常在Web页面中，在数据量比较大时，无法在一个页面中显示所有数据• 在某些特定场景下，并不需要返回所有满足条件的数据• 从数据的角度看，需要返回指定范围内的数据数据层分页技术• 在数据库查询时，只查询特定页面的数据• 主要由T-SQL 来完成• 适用于比较大的数据表• </summary><published>2011-09-20T11:21:00Z</published><updated>2011-09-20T11:21:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/20/2182779.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/20/2182779.html"/><content type="html">&lt;div&gt;&lt;span style="font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px; "&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&lt;a href="http://www.cnblogs.com/msos/archive/2009/07/15/1524196.html"&gt;http://www.cnblogs.com/msos/archive/2009/07/15/1524196.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/lli0077/archive/2008/09/03/1282862.html"&gt;http://www.cnblogs.com/lli0077/archive/2008/09/03/1282862.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;#8226; 数据分页概述&lt;br /&gt;&amp;#8226; 数据层分页技术&lt;br /&gt;&amp;#8226; 应用层分页技术&lt;br /&gt;&amp;#8226; 展现层分页技术&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&lt;strong&gt;数据分页概述&lt;/strong&gt;&lt;br /&gt;&amp;#8226; 通常在Web页面中，在数据量比较大时，无法在一个页面中显示所有数据&lt;br /&gt;&amp;#8226; 在某些特定场景下，并不需要返回所有满足条件的数据&lt;br /&gt;&amp;#8226; 从数据的角度看，需要返回指定范围内的数据&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&lt;strong&gt;数据层分页技术&lt;/strong&gt;&lt;br /&gt;&amp;#8226; 在数据库查询时，只查询特定页面的数据&lt;br /&gt;&amp;#8226; 主要由T-SQL 来完成&lt;br /&gt;&amp;#8226; 适用于比较大的数据表&lt;br /&gt;&amp;#8226; 优点：返回的结果集小，查询速度快&lt;br /&gt;&amp;#8226; 缺点：需要多次查询数据库&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;1、数据层分页技术－使用临时表&lt;br /&gt;&amp;#8226; 在查询数据前，创建一个临时表&lt;br /&gt;&amp;#8226; 表的列比要返回的结果集多一个标识列&lt;br /&gt;&amp;#8226; 按照特定列排序，将结果插入到临时表中&lt;br /&gt;&amp;#8226; 此时，可以按照标识列返回特定页面&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;２、数据层分页技术－使用表变量&lt;br /&gt;&amp;#8226; 在查询数据前，创建一个表变量&lt;br /&gt;&amp;#8226; 表的列比要返回的结果集多一个标识列&lt;br /&gt;&amp;#8226; 按照特定列排序，将结果插入到表变量中&lt;br /&gt;&amp;#8226; 此时，可以按照标识列返回特定页面&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;3、数据层分页技术－反复取Top&lt;br /&gt;&amp;#8226; 若要按特定列正排序取第91－100 行数据&lt;br /&gt;&amp;#8226; 首先，按特定列正排序取Top 100&lt;br /&gt;&amp;#8226; 然后，反向排序取Top 10&lt;br /&gt;&amp;#8226; 最后，再将结果正排序后返回&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;4、数据层分页技术－使用行号&lt;br /&gt;&amp;#8226; 在SQL Server 2005/2008 中&lt;br /&gt;&amp;#8226; 查询结果集时，添加一个&lt;strong&gt;ROW_NUMBER()&lt;/strong&gt;表示行号&lt;br /&gt;&amp;#8226; 将上述结果集作为子查询，通过ROW_NUMBER() 筛选出特定页面&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;u&gt;比较几种数据层分页技术&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre style="margin-top: 0px; margin-bottom: 0px; margin-right: 0px; margin-left: 22px; font-size: 1em; "&gt;&lt;span style="color: blue; "&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;pre style="margin-top: 0px; margin-bottom: 0px; margin-right: 0px; margin-left: 22px; font-size: 1em; "&gt;&lt;span  style="font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: normal; "&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;USE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;AdventureWorks2008&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SELECT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;COUNT&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;strong&gt;)&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;FROM&lt;/span&gt;&lt;strong&gt;&amp;nbsp;Production.TransactionHistoryArchive&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SELECT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;TOP&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;50&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;FROM&lt;/span&gt;&lt;strong&gt;&amp;nbsp;Production.TransactionHistoryArchive&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ORDER&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;BY&lt;/span&gt;&lt;strong&gt;&amp;nbsp;ReferenceOrderID&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ASC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #008080; font-weight: bold; font-size: 14pt; "&gt;--&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; font-size: 14pt; "&gt;USE&amp;nbsp;temp&amp;nbsp;table(耗时&amp;nbsp;1156&amp;nbsp;ms)&amp;nbsp;&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Sql&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;varchar&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;max&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;5000&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;--&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;页号&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;10&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;--&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;每页显示数&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;create&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;table&lt;/span&gt;&lt;strong&gt;&amp;nbsp;#local_variable(RowNumber&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;int&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;identity&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;),&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;TransactionID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ProductID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ReferenceOrderID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ReferenceOrderLineID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;TransactionDate&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;TransactionType&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;nchar&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;),&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;Quantity&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ActualCost&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;money&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ModifiedDate&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;insert&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;into&lt;/span&gt;&lt;strong&gt;&amp;nbsp;#local_variable&amp;nbsp;(TransactionID,&amp;nbsp;ProductID,&amp;nbsp;ReferenceOrderID,&amp;nbsp;ReferenceOrderLineID,&amp;nbsp;TransactionDate,&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;TransactionType,&amp;nbsp;Quantity,&amp;nbsp;ActualCost,&amp;nbsp;ModifiedDate)&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SELECT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;TOP&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;50000&lt;/span&gt;&lt;strong&gt;&amp;nbsp;TransactionID,&amp;nbsp;ProductID,&amp;nbsp;ReferenceOrderID,&amp;nbsp;ReferenceOrderLineID,&amp;nbsp;TransactionDate,&amp;nbsp;TransactionType,&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Quantity,&amp;nbsp;ActualCost,&amp;nbsp;ModifiedDate&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;from&lt;/span&gt;&lt;strong&gt;&amp;nbsp;Production.TransactionHistoryArchive&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ORDER&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;BY&lt;/span&gt;&lt;strong&gt;&amp;nbsp;ReferenceOrderID&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ASC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;select&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;from&lt;/span&gt;&lt;strong&gt;&amp;nbsp;#local_variable&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;where&lt;/span&gt;&lt;strong&gt;&amp;nbsp;RowNumber&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;&amp;gt;&lt;/span&gt;&lt;strong&gt;&amp;nbsp;(&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;-&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;)&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;and&lt;/span&gt;&lt;strong&gt;&amp;nbsp;RowNumber&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;&amp;lt;=&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;PRINT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;Datediff&lt;/span&gt;&lt;strong&gt;(millisecond,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #008080; font-weight: bold; font-size: 14pt; "&gt;--&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; font-size: 14pt; "&gt;USE&amp;nbsp;table&amp;nbsp;variable(耗时&amp;nbsp;1676&amp;nbsp;ms)&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Sql&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;varchar&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;max&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;5000&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;10&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@local_variable&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;table&lt;/span&gt;&lt;strong&gt;&amp;nbsp;(RowNumber&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;int&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;identity&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;),&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;TransactionID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ProductID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ReferenceOrderID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ReferenceOrderLineID&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;TransactionDate&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;TransactionType&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;nchar&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;),&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;Quantity&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;int&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ActualCost&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;money&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;ModifiedDate&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;[&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;]&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;insert&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;into&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@local_variable&lt;/span&gt;&lt;strong&gt;&amp;nbsp;(TransactionID,&amp;nbsp;ProductID,&amp;nbsp;ReferenceOrderID,&amp;nbsp;ReferenceOrderLineID,&amp;nbsp;TransactionDate,&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;TransactionType,&amp;nbsp;Quantity,&amp;nbsp;ActualCost,&amp;nbsp;ModifiedDate)&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SELECT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;TOP&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;50000&lt;/span&gt;&lt;strong&gt;&amp;nbsp;TransactionID,&amp;nbsp;ProductID,&amp;nbsp;ReferenceOrderID,&amp;nbsp;ReferenceOrderLineID,&amp;nbsp;TransactionDate,&amp;nbsp;TransactionType,&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Quantity,&amp;nbsp;ActualCost,&amp;nbsp;ModifiedDate&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;from&lt;/span&gt;&lt;strong&gt;&amp;nbsp;Production.TransactionHistoryArchive&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ORDER&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;BY&lt;/span&gt;&lt;strong&gt;&amp;nbsp;ReferenceOrderID&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ASC&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;select&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;from&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@local_variable&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;where&lt;/span&gt;&lt;strong&gt;&amp;nbsp;RowNumber&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;&amp;gt;&lt;/span&gt;&lt;strong&gt;&amp;nbsp;(&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;-&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;)&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;and&lt;/span&gt;&lt;strong&gt;&amp;nbsp;RowNumber&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;&amp;lt;=&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;PRINT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;Datediff&lt;/span&gt;&lt;strong&gt;(millisecond,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: #008080; font-size: 14pt; "&gt;--&lt;/span&gt;&lt;span style="color: #008080; font-size: 14pt; "&gt;Use&amp;nbsp;Top*Top(耗时&amp;nbsp;546&amp;nbsp;ms)&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Sql&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;varchar&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;max&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;5000&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;10&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Sql&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;'&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;SELECT&amp;nbsp;T2.*&amp;nbsp;FROM&amp;nbsp;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SELECT&amp;nbsp;TOP&amp;nbsp;10&amp;nbsp;T1.*&amp;nbsp;FROM&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(SELECT&amp;nbsp;TOP&amp;nbsp;&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;'&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;+&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;STR&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;)&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;+&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;'&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;&amp;nbsp;*&amp;nbsp;FROM&amp;nbsp;Production.TransactionHistoryArchive&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ORDER&amp;nbsp;BY&amp;nbsp;ReferenceOrderID&amp;nbsp;ASC)&amp;nbsp;AS&amp;nbsp;T1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ORDER&amp;nbsp;BY&amp;nbsp;ReferenceOrderID&amp;nbsp;DESC)&amp;nbsp;AS&amp;nbsp;T2&lt;br /&gt;ORDER&amp;nbsp;BY&amp;nbsp;ReferenceOrderID&amp;nbsp;ASC&lt;/span&gt;&lt;span style="color: #ff0000; font-weight: bold; "&gt;'&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;EXEC&lt;/span&gt;&lt;strong&gt;&amp;nbsp;(&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@sql&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;PRINT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;Datediff&lt;/span&gt;&lt;strong&gt;(millisecond,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;--&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;Use&amp;nbsp;ROW_NUMBER(耗时&amp;nbsp;283&amp;nbsp;ms)&lt;/span&gt;&lt;span style="color: #008080; font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;datetime&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;DECLARE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;INT&lt;/span&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Sql&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;varchar&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;max&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;5000&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;10&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SELECT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;FROM&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SELECT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;ROW_NUMBER()&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;OVER&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;ORDER&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;BY&lt;/span&gt;&lt;strong&gt;&amp;nbsp;ReferenceOrderID)&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;AS&lt;/span&gt;&lt;strong&gt;&amp;nbsp;RowNumber,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;FROM&lt;/span&gt;&lt;strong&gt;&amp;nbsp;Production.TransactionHistoryArchive)&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;AS&lt;/span&gt;&lt;strong&gt;&amp;nbsp;T&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;WHERE&lt;/span&gt;&lt;strong&gt;&amp;nbsp;T.RowNumber&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;&amp;lt;=&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;AND&lt;/span&gt;&lt;strong&gt;&amp;nbsp;T.RowNumber&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;&amp;gt;&lt;/span&gt;&lt;strong&gt;(&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@PageNumber&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;-&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold; "&gt;1&lt;/span&gt;&lt;strong&gt;)&lt;/strong&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;*&lt;/span&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Count&lt;/span&gt;&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;SET&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;span style="color: #808080; font-weight: bold; "&gt;=&lt;/span&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;getdate&lt;/span&gt;&lt;strong&gt;();&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;PRINT&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style="color: #ff00ff; font-weight: bold; "&gt;Datediff&lt;/span&gt;&lt;strong&gt;(millisecond,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@Start&lt;/span&gt;&lt;strong&gt;,&lt;/strong&gt;&lt;span style="color: #008000; font-weight: bold; "&gt;@end&lt;/span&gt;&lt;strong&gt;);&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-weight: bold; "&gt;GO&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-top: 0px; margin-bottom: 0px; margin-right: 0px; margin-left: 22px; font-size: 1em; "&gt;&lt;span  style="font-family: Verdana, 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: normal; "&gt;&lt;strong&gt;应用层分页技术&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&amp;#8226; 在应用层/逻辑层缓存数据，并进行数据的分段显示&lt;br /&gt;&amp;#8226; 主要由程序代码完成&lt;br /&gt;&amp;#8226; 优点：查询数据库次数少，每次返回结果快&lt;br /&gt;&amp;#8226; 缺点：第一次查询慢，占用应用层内存资源&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;1、应用层分页技术－GridView&lt;br /&gt;&amp;#8226; 应用GridView 的分页功能&lt;br /&gt;&amp;#8226; 启用XxxDataSource 控件的缓存功能&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;２、应用层分页技术－DataPager&lt;br /&gt;&amp;#8226; .NET 3.5 当中的新控件&lt;br /&gt;&amp;#8226; 更加灵活定义分页格式&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;３、应用层分页技术－LINQ&lt;br /&gt;&amp;#8226; 自定义数据绑定&lt;br /&gt;&amp;#8226; 使用LINQ 进行查询&lt;br /&gt;&amp;#8226; 使用Skip() 和Take() 函数&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;&lt;strong&gt;展现层分页技术&lt;/strong&gt;&lt;br /&gt;&amp;#8226; 在客户端进行数据分页&lt;br /&gt;&amp;#8226; 主要通过客户端脚本来实现&lt;br /&gt;&amp;#8226; 优点：减少网络传输量，提高带宽利用率&lt;br /&gt;&amp;#8226; 缺点：需要编写大量客户端脚本，增加开发与维护成本&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;１、展现层分页技术－UpdatePanel&lt;br /&gt;&amp;#8226; 通过ASP.NET AJAX 中的UpdatePanel 控件，可以将应用层所提供的分页功能转换到客户端&lt;br /&gt;&amp;#8226; 无需维护代码&lt;br /&gt;&amp;#8226; 充分利用服务器端控件功能&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px; "&gt;２、展现层分页技术－ado.net 3.5　Data Services&lt;br /&gt;&amp;#8226; 使用Data Services 所提供的基于URI 的数据访问，可以实现数据分页&lt;br /&gt;&amp;#8226; 在展现层，可以直接通过Javascript 进行解析&lt;br /&gt;&amp;#8226; 轻量级数据传输格式：XML/JSON&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2182779.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/09/20/2182779.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/09/12/2174149.html</id><title type="text">正则表达式示例及总结</title><summary type="text">服务器端验证代码：publicstaticboolValidatePhone(stringphone){returnSystem.Text.RegularExpressions.Regex.IsMatch(phone,@&amp;quot;^[1]+[3,5]+\d{9}&amp;quot;);}C#中正则表达式 (一)1.匹配HTML标记的正则表达式：&amp;lt;(.*)&amp;gt;.*&amp;lt;\/\1&amp;gt;|&amp;lt;(.*) \/&amp;gt; 例如：&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;2. 正整数: ^[0-9]*[1-9][0-9]*$3.负整数: ^-[0-9]*[1-9][0-9]*$4.整</summary><published>2011-09-12T09:39:00Z</published><updated>2011-09-12T09:39:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/12/2174149.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/12/2174149.html"/><content type="html">&lt;p&gt;&lt;span style="font-size: 18pt; "&gt;&lt;strong&gt;服务器端验证代码：&lt;/strong&gt;&lt;/span&gt;&#xD;
&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span  style="font-family: 'Courier New'; font-size: 13px; line-height: 19px; "&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;bool&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;ValidatePhone(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;string&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;phone)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&#xD;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&#xD;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #0000FF;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;System.Text.RegularExpressions.Regex.IsMatch(phone,&amp;nbsp;&lt;/span&gt;&lt;span style="color: #800000;"&gt;@"&lt;/span&gt;&lt;span style="color: #800000;"&gt;^[1]+[3,5]+\d{9}&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&#xD;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&#xD;
&lt;div&gt;&lt;span style="color: #393939; font-family: verdana, 'ms song', 微软雅黑, 宋体, Arial, Helvetica, sans-serif; "&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;span style="color: red; font-size: 18pt; "&gt;C#中正则表达式 (一)&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;1.匹配HTML标记的正则表达式：&amp;lt;(.*)&amp;gt;.*&amp;lt;\/\1&amp;gt;|&amp;lt;(.*) \/&amp;gt; 例如：&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;2. 正整数: ^[0-9]*[1-9][0-9]*$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;3.负整数: ^-[0-9]*[1-9][0-9]*$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;4.整数: -?\d+$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;5.正浮点数: ^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*))$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;6.负浮点数: ^(-(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*)))$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;7.浮点数:^(-?\d+)(\.\d+)?$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;8.26个英文字(不区分大小写): ^[A-Za-z]+$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;9.26个大写英文字母: ^[A-Z]+$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;10.26个小写英文字母:^[a-z]+$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;11.数字和26个英文字母混合: ^[A-Za-z0-9]+$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;12.数字和26个英文字母和下划线混合: ^\w+$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;13.电子邮件地址: \w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*h&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;14.网址URL: ^[a-zA-z]+://(\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;15.中国电话: ((d{3,4})|d{3,4}-)?d{7,8}(-d{3})* 例如：021-8888888 或者0515-88888888 或者 021-88888888-888&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;16.字母开头，允许5-16字节，允许字母数字下划线: ^[a-zA-Z][a-zA-Z0-9_]{6,20}$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;17.QQ号: ^[1-9]*[1-9][0-9]*$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;18.IP地址: ^(d{1,2}|1dd|2[0-4]d|25[0-5]).(d{1,2}|1dd|2[0-4]d|25[0-5]).(d{1,2}|1dd|2[0-4]d|25[0-5]).(d{1,2}|1dd|2[0-4]d|25[0&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;-5])$&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;19.首尾空格:(^\s*)|(\s*$)&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;20.空行：\n[\s| ]*\r&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;21.中国邮政编码：[1-9]\d{5}(?!\d)&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;22. 中国手机：(86)*0*13\d{9}&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;23.中国电话(包括手机)：(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;24.数字：(-?\d*)(\.\d+)?&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;25.双字节字符：[^\x00-\xff]*&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;26.过滤不安全的字符：^(([A-Z]*|[a-z]*|\d*|[-_\~!@#\$%\^&amp;amp;\*\.\(\)\[\]\{\}&amp;lt;&amp;gt;\?\\\/\'\"]*)|.{0,5})$|\s&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;27.日期：((((19){1}|(20){1})d{2})|d{2})[01]{1}d{1}[0-3]{1}d{1} 如:20060518&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;span style="color: red; font-size: 18pt; "&gt;C#中正则表达式 (二)&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入数字："^[0-9]*$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入n位的数字："^\d{n}$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入至少n位的数字："^\d{n,}$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入m~n位的数字：。"^\d{m,n}$"&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入零和非零开头的数字："^(0|[1-9][0-9]*)$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入有两位小数的正实数："^[0-9]+(.[0-9]{2})?$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入有1~3位小数的正实数："^[0-9]+(.[0-9]{1,3})?$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入非零的正整数："^\+?[1-9][0-9]*$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入非零的负整数："^\-[1-9][]0-9"*$。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入长度为3的字符："^.{3}$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入由26个英文字母组成的字符串："^[A-Za-z]+$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入由26个大写英文字母组成的字符串："^[A-Z]+$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入由26个小写英文字母组成的字符串："^[a-z]+$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入由数字和26个英文字母组成的字符串："^[A-Za-z0-9]+$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入由数字、26个英文字母或者下划线组成的字符串："^\w+$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证用户密码："^[a-zA-Z]\w{5, }$"正确格式为：以字母开头，长度在6~18之间，只能包含字符、数字和下划线。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证是否含有^%&amp;amp;&amp;#8217;,;=?$\"等字符："[^%&amp;amp;&amp;#8217;,;=?$\x22]+"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;只能输入汉字："^[\u4e00-\u9fa5]{0,}$"&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证Email地址："^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证InternetURL："^http://([\w-]+\.)+[\w-]+(/[\w-./?%&amp;amp;=]*)?$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证电话号码："^(\(\d{3,4}-)|\d{3.4}-)?\d{7,8}$"正确格式为："XXX-XXXXXXX"、"XXXX-XXXXXXXX"、"XXX-XXXXXXX"、"XXX-XXXXXXXX"、"XXXXXXX"和"XXXXXXXX"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证身份证号(15位或18位数字)："^\d{15}|\d{18}$"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证一年的12个月："^(0?[1-9]|1[0-2])$"正确格式为："01"～"09"和"1"～"12"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;验证一个月的31天："^((0?[1-9])|((1|2)[0-9])|30|31)$"正确格式为;"01"～"09"和"1"～"31"。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;利用正则表达式限制网页表单里的文本框输入内容：&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;用正则表达式限制只能输入中文：onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,&amp;#8217;&amp;#8217;)" onbeforepaste="clipboardData.setData(&amp;#8217;text&amp;#8217;,clipboardData.getData(&amp;#8217;text&amp;#8217;).replace(/[^\u4E00-\u9FA5]/g,&amp;#8217;&amp;#8217;))"&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;用正则表达式限制只能输入全角字符： onkeyup="value=value.replace(/[^\uFF00-\uFFFF]/g,&amp;#8217;&amp;#8217;)" onbeforepaste="clipboardData.setData(&amp;#8217;text&amp;#8217;,clipboardData.getData(&amp;#8217;text&amp;#8217;).replace(/[^\uFF00-\uFFFF]/g,&amp;#8217;&amp;#8217;))"&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;用正则表达式限制只能输入数字：onkeyup="value=value.replace(/[^\d]/g,&amp;#8217;&amp;#8217;) "onbeforepaste="clipboardData.setData(&amp;#8217;text&amp;#8217;,clipboardData.getData(&amp;#8217;text&amp;#8217;).replace(/[^\d]/g,&amp;#8217;&amp;#8217;))"&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;用正则表达式限制只能输入数字和英文：onkeyup="value=value.replace(/[\W]/g,&amp;#8217;&amp;#8217;) "onbeforepaste="clipboardData.setData(&amp;#8217;text&amp;#8217;,clipboardData.getData(&amp;#8217;text&amp;#8217;).replace(/[^\d]/g,&amp;#8217;&amp;#8217;))"&lt;/p&gt;&#xD;
&lt;/span&gt;&lt;/div&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span  style="font-family: 'Segoe UI', Verdana, Arial; line-height: normal; color: #ff0000; font-size: 18pt; "&gt;&lt;strong&gt;下表包含了元字符的完整列表以及它们在正则表达式上下文中的行为：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;div&gt;&lt;span style="font-family: 'Segoe UI', Verdana, Arial; line-height: normal; "&gt;&#xD;
&lt;div id="sectionSection0" style="font-size: 13px; "&gt;&#xD;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&#xD;
&lt;div&gt;&#xD;
&lt;table width="100%" style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; border-collapse: collapse; width: 562px; "&gt;&#xD;
     &lt;tbody&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;th style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #e5e5e5; padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: #000000; font-style: normal; font-weight: normal; "&gt;字符&lt;/th&gt;&lt;th style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #e5e5e5; padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px; text-align: left; height: 21px; font-family: 'Segoe UI', Verdana, Arial; font-size: 1.077em; color: #000000; font-style: normal; font-weight: normal; "&gt;说明&lt;/th&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;将下一字符标记为特殊字符、文本、反向引用或八进制转义符。例如，&amp;#8220;n&amp;#8221;匹配字符&amp;#8220;n&amp;#8221;。&amp;#8220;\n&amp;#8221;匹配换行符。序列&amp;#8220;\\&amp;#8221;匹配&amp;#8220;\&amp;#8221;，&amp;#8220;\(&amp;#8221;匹配&amp;#8220;(&amp;#8221;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;^&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配输入字符串开始的位置。如果设置了&amp;nbsp;&lt;strong&gt;RegExp&lt;/strong&gt;&amp;nbsp;对象的&amp;nbsp;&lt;strong&gt;Multiline&lt;/strong&gt;&amp;nbsp;属性，^ 还会与&amp;#8220;\n&amp;#8221;或&amp;#8220;\r&amp;#8221;之后的位置匹配。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;$&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配输入字符串结尾的位置。如果设置了&amp;nbsp;&lt;strong&gt;RegExp&lt;/strong&gt;&amp;nbsp;对象的&amp;nbsp;&lt;strong&gt;Multiline&lt;/strong&gt;&amp;nbsp;属性，$ 还会与&amp;#8220;\n&amp;#8221;或&amp;#8220;\r&amp;#8221;之前的位置匹配。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;*&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;零次或多次匹配前面的字符或子表达式。例如，zo* 匹配&amp;#8220;z&amp;#8221;和&amp;#8220;zoo&amp;#8221;。* 等效于 {0,}。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;+&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;一次或多次匹配前面的字符或子表达式。例如，&amp;#8220;zo+&amp;#8221;与&amp;#8220;zo&amp;#8221;和&amp;#8220;zoo&amp;#8221;匹配，但与&amp;#8220;z&amp;#8221;不匹配。+ 等效于 {1,}。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;?&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;零次或一次匹配前面的字符或子表达式。例如，&amp;#8220;do(es)?&amp;#8221;匹配&amp;#8220;do&amp;#8221;或&amp;#8220;does&amp;#8221;中的&amp;#8220;do&amp;#8221;。? 等效于 {0,1}。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;{&lt;em&gt;n&lt;/em&gt;}&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;em&gt;n&amp;nbsp;&lt;/em&gt;是非负整数。正好匹配&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;次。例如，&amp;#8220;o{2}&amp;#8221;与&amp;#8220;Bob&amp;#8221;中的&amp;#8220;o&amp;#8221;不匹配，但与&amp;#8220;food&amp;#8221;中的两个&amp;#8220;o&amp;#8221;匹配。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;{&lt;em&gt;n&lt;/em&gt;,}&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;em&gt;n&amp;nbsp;&lt;/em&gt;是非负整数。至少匹配&amp;nbsp;&lt;em&gt;n&amp;nbsp;&lt;/em&gt;次。例如，&amp;#8220;o{2,}&amp;#8221;不匹配&amp;#8220;Bob&amp;#8221;中的&amp;#8220;o&amp;#8221;，而匹配&amp;#8220;foooood&amp;#8221;中的所有 o。&amp;#8220;o{1,}&amp;#8221;等效于&amp;#8220;o+&amp;#8221;。&amp;#8220;o{0,}&amp;#8221;等效于&amp;#8220;o*&amp;#8221;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;{&lt;em&gt;n&lt;/em&gt;,&lt;em&gt;m&lt;/em&gt;}&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;em&gt;M&lt;/em&gt;&amp;nbsp;和&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是非负整数，其中&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;&amp;lt;=&amp;nbsp;&lt;em&gt;m&lt;/em&gt;。匹配至少&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;次，至多&amp;nbsp;&lt;em&gt;m&lt;/em&gt;&amp;nbsp;次。例如，&amp;#8220;o{1,3}&amp;#8221;匹配&amp;#8220;fooooood&amp;#8221;中的头三个 o。'o{0,1}' 等效于 'o?'。注意：您不能将空格插入逗号和数字之间。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;?&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;当此字符紧随任何其他限定符（*、+、?、{&lt;em&gt;n&lt;/em&gt;}、{&lt;em&gt;n&lt;/em&gt;,}、{&lt;em&gt;n&lt;/em&gt;,&lt;em&gt;m&lt;/em&gt;}）之后时，匹配模式是&amp;#8220;非贪心的&amp;#8221;。&amp;#8220;非贪心的&amp;#8221;模式匹配搜索到的、尽可能短的字符串，而默认的&amp;#8220;贪心的&amp;#8221;模式匹配搜索到的、尽可能长的字符串。例如，在字符串&amp;#8220;oooo&amp;#8221;中，&amp;#8220;o+?&amp;#8221;只匹配单个&amp;#8220;o&amp;#8221;，而&amp;#8220;o+&amp;#8221;匹配所有&amp;#8220;o&amp;#8221;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;.&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配除&amp;#8220;\n&amp;#8221;之外的任何单个字符。若要匹配包括&amp;#8220;\n&amp;#8221;在内的任意字符，请使用诸如&amp;#8220;[\s\S]&amp;#8221;之类的模式。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;(&lt;em&gt;pattern&lt;/em&gt;)&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配&amp;nbsp;&lt;em&gt;pattern&lt;/em&gt;&amp;nbsp;并捕获该匹配的子表达式。可以使用&amp;nbsp;&lt;strong&gt;$0&amp;#8230;$9&lt;/strong&gt;&amp;nbsp;属性从结果&amp;#8220;匹配&amp;#8221;集合中检索捕获的匹配。若要匹配括号字符 ( )，请使用&amp;#8220;\(&amp;#8221;或者&amp;#8220;\)&amp;#8221;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;(?:&lt;em&gt;pattern&lt;/em&gt;)&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配&amp;nbsp;&lt;em&gt;pattern&lt;/em&gt;&amp;nbsp;但不捕获该匹配的子表达式，即它是一个非捕获匹配，不存储供以后使用的匹配。这对于用&amp;#8220;or&amp;#8221;字符 (|) 组合模式部件的情况很有用。例如，'industr(?:y|ies) 是比 'industry|industries' 更经济的表达式。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;(?=&lt;em&gt;pattern&lt;/em&gt;)&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;执行正向预测先行搜索的子表达式，该表达式匹配处于匹配&amp;nbsp;&lt;em&gt;pattern&lt;/em&gt;&amp;nbsp;的字符串的起始点的字符串。它是一个非捕获匹配，即不能捕获供以后使用的匹配。例如，'Windows (?=95|98|NT|2000)' 匹配&amp;#8220;Windows 2000&amp;#8221;中的&amp;#8220;Windows&amp;#8221;，但不匹配&amp;#8220;Windows 3.1&amp;#8221;中的&amp;#8220;Windows&amp;#8221;。预测先行不占用字符，即发生匹配后，下一匹配的搜索紧随上一匹配之后，而不是在组成预测先行的字符后。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;(?!&lt;em&gt;pattern&lt;/em&gt;)&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;执行反向预测先行搜索的子表达式，该表达式匹配不处于匹配&amp;nbsp;&lt;em&gt;pattern&lt;/em&gt;&amp;nbsp;的字符串的起始点的搜索字符串。它是一个非捕获匹配，即不能捕获供以后使用的匹配。例如，'Windows (?!95|98|NT|2000)' 匹配&amp;#8220;Windows 3.1&amp;#8221;中的 &amp;#8220;Windows&amp;#8221;，但不匹配&amp;#8220;Windows 2000&amp;#8221;中的&amp;#8220;Windows&amp;#8221;。预测先行不占用字符，即发生匹配后，下一匹配的搜索紧随上一匹配之后，而不是在组成预测先行的字符后。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;em style="color: #ff0000; "&gt;x&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;|&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;y&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;匹配&amp;nbsp;&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;x&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;&amp;nbsp;或&amp;nbsp;&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;y&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;。例如，'z|food' 匹配&amp;#8220;z&amp;#8221;或&amp;#8220;food&amp;#8221;。'(z|f)ood' 匹配&amp;#8220;zood&amp;#8221;或&amp;#8220;food&amp;#8221;。&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;[&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;xyz&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;]&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;字符集。匹配包含的任一字符。例如，&amp;#8220;[abc]&amp;#8221;匹配&amp;#8220;plain&amp;#8221;中的&amp;#8220;a&amp;#8221;。&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;[^&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;xyz&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;]&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;反向字符集。匹配未包含的任何字符。例如，&amp;#8220;[^abc]&amp;#8221;匹配&amp;#8220;plain&amp;#8221;中的&amp;#8220;p&amp;#8221;。&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;[&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;a-z&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;]&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;字符范围。匹配指定范围内的任何字符。例如，&amp;#8220;[a-z]&amp;#8221;匹配&amp;#8220;a&amp;#8221;到&amp;#8220;z&amp;#8221;范围内的任何小写字母。&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;[^&lt;/span&gt;&lt;em style="color: #ff0000; "&gt;a-z&lt;/em&gt;&lt;span style="color: #ff0000; "&gt;]&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;&lt;span style="color: #ff0000; "&gt;反向范围字符。匹配不在指定的范围内的任何字符。例如，&amp;#8220;[^a-z]&amp;#8221;匹配任何不在&amp;#8220;a&amp;#8221;到&amp;#8220;z&amp;#8221;范围内的任何字符。&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\b&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配一个字边界，即字与空格间的位置。例如，&amp;#8220;er\b&amp;#8221;匹配&amp;#8220;never&amp;#8221;中的&amp;#8220;er&amp;#8221;，但不匹配&amp;#8220;verb&amp;#8221;中的&amp;#8220;er&amp;#8221;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\B&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;非字边界匹配。&amp;#8220;er\B&amp;#8221;匹配&amp;#8220;verb&amp;#8221;中的&amp;#8220;er&amp;#8221;，但不匹配&amp;#8220;never&amp;#8221;中的&amp;#8220;er&amp;#8221;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\c&lt;em&gt;x&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配&amp;nbsp;&lt;em&gt;x&lt;/em&gt;&amp;nbsp;指示的控制字符。例如，\cM 匹配 Control-M 或回车符。&lt;em&gt;x&lt;/em&gt;&amp;nbsp;的值必须在 A-Z 或 a-z 之间。如果不是这样，则假定 c 就是&amp;#8220;c&amp;#8221;字符本身。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\d&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;数字字符匹配。等效于 [0-9]。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\D&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;非数字字符匹配。等效于 [^0-9]。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\f&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;换页符匹配。等效于 \x0c 和 \cL。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\n&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;换行符匹配。等效于 \x0a 和 \cJ。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\r&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配一个回车符。等效于 \x0d 和 \cM。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\s&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配任何空白字符，包括空格、制表符、换页符等。与 [&amp;nbsp;\f\n\r\t\v] 等效。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\S&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配任何非空白字符。与 [^&amp;nbsp;\f\n\r\t\v] 等效。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\t&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;制表符匹配。与 \x09 和 \cI 等效。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\v&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;垂直制表符匹配。与 \x0b 和 \cK 等效。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\w&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配任何字类字符，包括下划线。与&amp;#8220;[A-Za-z0-9_]&amp;#8221;等效。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\W&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;与任何非单词字符匹配。与&amp;#8220;[^A-Za-z0-9_]&amp;#8221;等效。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\x&lt;em&gt;n&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配&amp;nbsp;&lt;em&gt;n&lt;/em&gt;，此处的&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是一个十六进制转义码。十六进制转义码必须正好是两位数长。例如，&amp;#8220;\x41&amp;#8221;匹配&amp;#8220;A&amp;#8221;。&amp;#8220;\x041&amp;#8221;与&amp;#8220;\x04&amp;#8221;&amp;amp;&amp;#8220;1&amp;#8221;等效。允许在正则表达式中使用 ASCII 代码。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\&lt;em&gt;num&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配&amp;nbsp;&lt;em&gt;num&lt;/em&gt;，此处的&amp;nbsp;&lt;em&gt;num&lt;/em&gt;&amp;nbsp;是一个正整数。到捕获匹配的反向引用。例如，&amp;#8220;(.)\1&amp;#8221;匹配两个连续的相同字符。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\&lt;em&gt;n&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;标识一个八进制转义码或反向引用。如果 \&lt;em&gt;n&lt;/em&gt;&amp;nbsp;前面至少有&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;个捕获子表达式，那么&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是反向引用。否则，如果&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是八进制数 (0-7)，那么&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是八进制转义码。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\&lt;em&gt;nm&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;标识一个八进制转义码或反向引用。如果 \&lt;em&gt;nm&lt;/em&gt;&amp;nbsp;前面至少有&amp;nbsp;&lt;em&gt;nm&lt;/em&gt;&amp;nbsp;个捕获子表达式，那么&amp;nbsp;&lt;em&gt;nm&lt;/em&gt;&amp;nbsp;是反向引用。如果 \&lt;em&gt;nm&lt;/em&gt;&amp;nbsp;前面至少有&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;个捕获，则&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是反向引用，后面跟有字符&amp;nbsp;&lt;em&gt;m&lt;/em&gt;。如果两种前面的情况都不存在，则 \&lt;em&gt;nm&lt;/em&gt;&amp;nbsp;匹配八进制值&amp;nbsp;&lt;em&gt;nm&lt;/em&gt;，其中&amp;nbsp;&lt;em&gt;n&amp;nbsp;&lt;/em&gt;和&amp;nbsp;&lt;em&gt;m&lt;/em&gt;&amp;nbsp;是八进制数字 (0-7)。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\&lt;span style="font-style: italic; "&gt;nml&lt;/span&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;当&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是八进制数 (0-3)，&lt;em&gt;m&lt;/em&gt;&amp;nbsp;和&amp;nbsp;&lt;em&gt;l&lt;/em&gt;&amp;nbsp;是八进制数 (0-7) 时，匹配八进制转义码&lt;em&gt;nml&lt;/em&gt;。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
         &lt;tr style="vertical-align: top; "&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;\u&lt;em&gt;n&lt;/em&gt;&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
             &lt;td style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: #bbbbbb; border-right-color: #bbbbbb; border-bottom-color: #bbbbbb; border-left-color: #bbbbbb; background-color: #ffffff; line-height: 18px; padding-right: 4px; padding-left: 4px; padding-bottom: 9px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px; padding-top: 9px; "&gt;&#xD;
             &lt;p style="margin-top: 0px; margin-bottom: 0px; position: relative; "&gt;匹配&amp;nbsp;&lt;em&gt;n&lt;/em&gt;，其中&amp;nbsp;&lt;em&gt;n&lt;/em&gt;&amp;nbsp;是以四位十六进制数表示的 Unicode 字符。例如，\u00A9 匹配版权符号 (&amp;#169;)。&lt;/p&gt;&#xD;
             &lt;/td&gt;&#xD;
         &lt;/tr&gt;&#xD;
     &lt;/tbody&gt;&#xD;
&lt;/table&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;h1 style="font-size: 13px; "&gt;&lt;span id="seeAlsoNoToggle" style="font-size: 18pt; "&gt;请参见 &amp;nbsp;&lt;/span&gt;&lt;span  style="color: #1364c4; font-weight: normal; font-size: 18pt; "&gt;微软&lt;a href="http://msdn.microsoft.com/zh-cn/library/28hw3sce(v=VS.80).aspx" style="color: #1364c4; text-decoration: none; "&gt;&lt;span style="font-size: 18pt; "&gt;正则表达式介绍&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;=================================================================&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;strong style="font-size: 18pt; "&gt;个人总结&lt;span style="font-size: 18pt; "&gt;例子：&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;^([\u4e00-\u9fa5]|[,]){1,25}$&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;1.&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;^&lt;/span&gt;&lt;span  style="border-collapse: collapse; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 18pt; color: #ff0000; "&gt;匹配输入字符串开始的位置&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;2. [&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;\u4e00-\u9fa5&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;]&lt;/span&gt;&lt;span  style="border-collapse: collapse; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 18pt; color: #ff0000; "&gt;字符集,匹配中文包含的任一字符。&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;[,|a]&amp;nbsp;&lt;/span&gt;&lt;span  style="border-collapse: collapse; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 18pt; color: #ff0000; "&gt;字符集,可以含有 , 或 a&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;3. | 或的意思&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;4.{&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;1,25&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;} 字符的长度1到25长度之间&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 18pt; color: #ff0000; "&gt;$&lt;/span&gt;&lt;span  style="border-collapse: collapse; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 18pt; color: #ff0000; "&gt;匹配输入字符串开始的结束&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&lt;p style="font-size: 13px; "&gt;&lt;/p&gt;&#xD;
&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2174149.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/09/12/2174149.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/09/10/2173245.html</id><title type="text">C#文件IO操作</title><summary type="text">1.Server.MapPath(&amp;quot;/&amp;quot;) 应用程序根目录所在的位置 如 C:\Inetpub\wwwroot\2.Server.MapPath(&amp;quot;./&amp;quot;) 表示所在页面的当前目录 注：等价于Server.MapPath(&amp;quot;&amp;quot;) 返回 Server.MapPath(&amp;quot;&amp;quot;)所在页面的物理文件路径3.Server.MapPath(&amp;quot;../&amp;quot;)表示上一级目录4.Server.MapPath(&amp;quot;~/&amp;quot;)表示当前应用级程序的目录，如果是根目录，就是根目录，如果是虚拟目录，就是虚拟目录所</summary><published>2011-09-10T09:19:00Z</published><updated>2011-09-10T09:19:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/10/2173245.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/09/10/2173245.html"/><content type="html">&lt;div&gt;&lt;span  style="color: #111111; font-family: verdana, arial; font-size: 13px; line-height: 23px; "&gt;1.Server.MapPath("/") 应用程序根目录所在的位置 &amp;nbsp;如 C:\Inetpub\wwwroot\&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: #111111; font-family: verdana, arial; font-size: 13px; line-height: 23px; "&gt;2.Server.MapPath("./") 表示所在页面的当前目录 &amp;nbsp; 注：等价于Server.MapPath("") 返回 Server.MapPath("")所在页面的物理文件路径&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;3.Server.MapPath("../")表示上一级目录&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;4.Server.MapPath("~/")表示当前应用级程序的目录，如果是根目录，就是根目录，如果是虚拟目录，就是虚拟目录所在的位置 如：C:\Inetpub\wwwroot\Example\&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;注：等效于Server.MapPath("~")。&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span  style="font-family: 'Courier New'; line-height: 28px; color: red; "&gt;C#删除文件&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New'; line-height: 28px; "&gt;string delFile = Server.MapPath("./")+"\\kkkk.txt";&amp;nbsp;&lt;br style="clear: both; " /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span  style="font-family: 'Courier New'; line-height: 28px; "&gt;File.Delete(delFile);&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New'; line-height: 28px; color: red; "&gt;C#创建目录&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; line-height: 28px; "&gt;&lt;br style="clear: both; " /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span  style="font-family: 'Courier New'; line-height: 28px; "&gt;DirectoryInfo d=Directory.CreateDirectory(Server.MapPath("./")+&lt;span  style="font-family: verdana, 'courier new'; line-height: 21px; "&gt;&lt;span  style="font-family: 'Courier New'; line-height: 28px; "&gt;"\\sixAge");&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span style="color: #ff0000; font-family: 'Courier New'; line-height: 28px; "&gt;C#删除目录(从里到外删除)&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span style="font-family: 'Courier New'; line-height: 28px; "&gt;public void DeleteFolder(string dir)&amp;nbsp;&lt;br style="clear: both; " /&gt;{&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Directory.Exists(dir)) //如果存在这个文件夹删除之&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach(string d in Directory.GetFileSystemEntries(dir))&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(File.Exists(d))&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File.Delete(d); //直接删除其中的文件&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeleteFolder(d); //递归删除子文件夹&amp;nbsp;&lt;span  style="font-family: arial, 宋体, sans-serif; line-height: 24px; color: red; "&gt;一般来说，递归需要有边界条件、递归前进段和递归返回段。当边界条件不满足时，递归前进；当边界条件满足时，递归返回。&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory.Delete(dir); //删除已空文件夹&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(dir+" 文件夹删除成功");&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&amp;nbsp;&lt;br style="clear: both; " /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(dir+" 该文件夹不存在"); //如果文件夹不存在则提示&amp;nbsp;&lt;br style="clear: both; " /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span  style="font-family: 'Courier New'; line-height: 28px; "&gt;}&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2173245.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/09/10/2173245.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/08/31/2161253.html</id><title type="text">关于SQL连接查询的几种方式</title><summary type="text">一、概述 通过连接运算符可以实现多个表查询。连接是关系数据库模型的主要特点，也是它区别于其它类型数据库管理系统的一个标志。多表连接查询是使用Sql的基本操作，但连接的方式却有多种，熟练使用这些连接方式能够简化Sql语句，提高数据库运行效率。 在关系数据库管理系统中，表建立时各数据之间的关系不必确定，常把一个实体的所有信息存放在一个表中。当检索数据时，通过连接操作查询出存放在多个表中的不同实体的信息。连接操作给用户带来很大的灵活性，他们可以在任何时候增加新的数据类型。为不同实体创建新的表，然后通过连接进行查询。 连接可以在SELECT 语句的FROM子句或WHERE子句中建立，似是而非...</summary><published>2011-08-31T11:33:00Z</published><updated>2011-08-31T11:33:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/08/31/2161253.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/08/31/2161253.html"/><content type="html">&lt;div&gt;&lt;span style="color: #393939; font-family: verdana, 'ms song', Arial, Helvetica, sans-serif; "&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;一、概述　&lt;/strong&gt;　&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;通过连接运算符可以实现多个表查询。连接是关系数据库模型的主要特点，也是它区别于其它类型数据库管理系统的一个标志。多表连接查询是使用Sql的基本操作，但连接的方式却有多种，熟练使用这些连接方式能够简化Sql语句，提高数据库运行效率。&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;在关系数据库管理系统中，表建立时各数据之间的关系不必确定，常把一个实体的所有信息存放在一个表中。当检索数据时，通过连接操作查询出存放在多个表中的不同实体的信息。连接操作给用户带来很大的灵活性，他们可以在任何时候增加新的数据类型。为不同实体创建新的表，然后通过连接进行查询。&amp;nbsp;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;连接可以在SELECT 语句的FROM子句或WHERE子句中建立，似是而非在FROM子句中指出连接时有助于将连接操作与WHERE子句中的搜索条件区分开来。所以，在Transact-SQL中推荐使用这种方法。&amp;nbsp;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;二、基本语法与方法&lt;/strong&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　SQL-92标准所定义的FROM子句的连接语法格式为：&amp;nbsp;&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;FROM&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; join_table join_type join_table &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;  &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #ff0000; "&gt;[&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #ff0000; "&gt;ON (join_condition)&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #ff0000; "&gt;]&lt;/span&gt; &lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;其中join_table指出参与连接操作的表名，连接可以对同一个表操作，也可以对多表操作，对同一个表操作的连接又称做自连接。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　join_type 指出连接类型，可分为三种：&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;内连接&lt;/span&gt;、&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;外连接&lt;/span&gt;和&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;交叉连接&lt;/span&gt;。&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;内连接(INNER JOIN)&lt;/span&gt;使用比较运算符进行表间某(些)列数据的比较操作，并列出这些表中与连接条件相匹配的数据行。根据所使用的比较方式不同。&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;1、内连接又分为&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;等值连接&lt;/span&gt;、&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;自然连接&lt;/span&gt;和&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #ff0000; "&gt;不等连接&lt;/span&gt;三种。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　2、外连接分为左外连接(LEFT OUTER JOIN或LEFT JOIN)、右外连接(RIGHT OUTER JOIN或RIGHT JOIN)和全外连接(FULL OUTER JOIN或FULL JOIN)三种。与内连接不同的是，外连接不只列出与连接条件相匹配的行，而是列出左表(左外连接时)、右表(右外连接时)或两个表(全外连接时)中所有符合搜索条件的数据行。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　3、交叉连接(CROSS JOIN)没有WHERE 子句，它返回连接表中所有数据行的笛卡尔积，其结果集合中的数据行数等于第一个表中符合查询条件的数据行数乘以第二个表中符合查询条件的数据行数。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　连接操作中的ON (join_condition) 子句指出连接条件，它由被连接表中的列和比较运算符、逻辑运算符等构成。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　无论哪种连接都不能对text、ntext和image数据类型列进行直接连接，但可以对这三种列进行间接连接。例如：&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;　　SELECT&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; p1.pub_id,p2.pub_id,p1.pr_info &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;　　FROM&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; pub_info &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;AS&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; p1 &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;INNER&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;JOIN&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; pub_info &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;AS&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; p2 &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;　　ON&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #ff00ff; "&gt;DATALENGTH&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;(p1.pr_info)&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;=&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #ff00ff; "&gt;DATALENGTH&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;(p2.pr_info)&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;　(一)内连接&lt;/strong&gt;&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　内连接查询操作列出与连接条件匹配的数据行，它使用比较运算符比较被连接列的列值。内连接分三种：&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;1、等值连接&lt;/strong&gt;：在连接条件中使用等于号(=)运算符比较被连接列的列值，其查询结果中列出被连接表中的所有列，包括其中的重复列。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;2、不等连接：&lt;/strong&gt;&amp;nbsp;在连接条件使用除等于运算符以外的其它比较运算符比较被连接的列的列值。这些运算符包括&amp;gt;、&amp;gt;=、&amp;lt;=、&amp;lt;、!&amp;gt;、!&amp;lt;和&amp;lt;&amp;gt;。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;3、自然连接：&lt;/strong&gt;在连接条件中使用等于(=)运算符比较被连接列的列值，但它使用选择列表指出查询结果集合中所包括的列，并删除连接表中的重复列。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　例，下面使用等值连接列出authors和publishers表中位于同一城市的作者和出版社：&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;　　SELECT&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;*&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;　　FROM&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; authors &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;AS&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; a &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;INNER&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;JOIN&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; publishers &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;AS&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; p &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;　　ON&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; a.city&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;=&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;p.city &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;   SELECT&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; a.&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;*&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;,p.pub_id,p.pub_name,p.country &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;   FROM&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; authors &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;AS&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; a &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;INNER&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;JOIN&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; publishers &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;AS&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; p &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;   ON&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; a.city&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;=&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;p.city&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;又如使用自然连接，在选择列表中删除authors 和publishers 表中重复列(city和state)：&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;(二)外连接&lt;/strong&gt;&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　内连接时，返回查询结果集合中的仅是符合查询条件( WHERE 搜索条件或 HAVING 条件)和连接条件的行。而采用外连接时，它返回到查询结果集合中的不仅包含符合连接条件的行，而且还包括左表(左外连接时)、右表(右外连接时)或两个边接表(全外连接)中的所有数据行。&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　1、left join或left outer join（左外连接）&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;　　左外连接 ：&lt;/strong&gt;(也叫左外连接，给出两个表的配匹行，并且以左边的表为准，如果左边表有而右边表没有的行，则在右边表的相应行选择的列显示为NULL，允许左边的基准表对应右边表多条满足条件的记录)左连接就是返回左边的匹配行，不考虑右边的表是否有相应的行&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;select&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; field1,field2 &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;from&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; table1 &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;left&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;join&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; table2&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;on&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; field1&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;=&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;field2(基准字段，可以多个)&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;where&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; table1.field3&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;=&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;table2.field3&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;2、right join或right outer join（右外连接）&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;　　右连接：&lt;/strong&gt;(也叫右外连接，给出两个表的配匹行，并且以右边的表为准，如果右边表有而左边表没有的行，则在右边表的相应行选择的列显示为NULL，允许右边的基准表对应左边表多条满足条件的记录)&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;语法与做链接差不多！&amp;nbsp;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;(三)交叉连接&lt;/strong&gt;&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　交叉连接不带WHERE 子句，它返回被连接的两个表所有数据行的笛卡尔积，返回到结果集合中的数据行数等于第一个表中符合查询条件的数据行数乘以第二个表中符合查询条件的数据行数。&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　例，titles表中有6类图书，而publishers表中有8家出版社，则下列交叉连接检索到的记录数将等于6*8=48行。&amp;nbsp;&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;　　&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;SELECT&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; type,pub_name &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;FROM&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; titles &lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;CROSS&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #808080; "&gt;JOIN&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; publishers &lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;　　&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;ORDER&lt;/span&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;BY&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt; type&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2161253.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/08/31/2161253.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/chixiaojin/archive/2011/08/29/2158834.html</id><title type="text">如何在IIS5.1/IIS6.0上使用ASP.NET URL Routing</title><summary type="text">.NET Framework 3.5 SP1中包含了ASP.NET URL Routing组件，笔者也在《如何在Web Form中使用URL Routing？》一文中简单描述了在Web Form中使用URL Routing的要点，细心的读者或许发现了一个问题：上文提供的代码在VS2010调试状态下可以正常运行，但发布到IIS5.1/IIS6.0后却会出现404错误。注：这个错误在IIS7.0及以上版本里不存在。1voidApplication_Start(objectsender,EventArgse)2{3RegisterRoutes(RouteTable.Routes);4}56voidR</summary><published>2011-08-29T12:39:00Z</published><updated>2011-08-29T12:39:00Z</updated><author><name>小小池</name><uri>http://www.cnblogs.com/chixiaojin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/chixiaojin/archive/2011/08/29/2158834.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/chixiaojin/archive/2011/08/29/2158834.html"/><content type="html">&lt;div&gt;&lt;span style="color: #333333; font-family: verdana, ����, Arial; "&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;.NET Framework 3.5 SP1中包含了ASP.NET URL Routing组件，笔者也在《&lt;a target="_blank" href="http://www.cnblogs.com/jailu/archive/2010/07/02/how_to_use_url_routing_in_aspnet_web_form.html" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; color: #000000; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; "&gt;如何在Web Form中使用URL Routing？&lt;/a&gt;》一文中简单描述了在Web Form中使用URL Routing的要点，细心的读者或许发现了一个问题：上文提供的代码在VS2010调试状态下可以正常运行，但发布到IIS5.1/IIS6.0后却会出现404错误。注：这个错误在IIS7.0及以上版本里不存在。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;1&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;void&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;Application_Start(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;object&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;sender,&amp;nbsp;EventArgs&amp;nbsp;e)&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;2&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;{&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;3&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RegisterRoutes(RouteTable.Routes);&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;4&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;5&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;6&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;void&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;RegisterRoutes(RouteCollection&amp;nbsp;routes)&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;7&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;{&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;8&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;routes.Add(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;Demo1&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;new&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;Route(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;Demo1/&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;new&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;CustomRouteHandler(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;~/WebForm1.aspx&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;)));&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;9&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;当我们把网站部署到IIS5.1/IIS6.0后，使用http://mysite.com/Demo1访问时，将得到如下图所示的404错误。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;img src="http://images.cnblogs.com/cnblogs_com/chixiaojin/URL_Routing_404.gif" width="527" height="457" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;http://mysite.com/Demo1这样的请求，在旧版本IIS（IIS5.1/IIS6.0）中，默认情况下是不会被传递给ASP.NET框架的，因些路由功能更是无从谈起。IIS把这些请求看成了是对目录Demo1的请求，因些返回404错误。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;在旧版IIS中，IIS只会把具有特定扩展名的URL传递给ASP.NET框架。比如Demo1.aspx页面会被传递给ASP.NET框架，但Demo1.html页面则会不传递给ASP.NET框架。如此看来，我们只需要想办法把请求传递给ASP.NET框架，404错误就会迎刃而解了。&lt;/strong&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;如下图所示，打开站点属性面板里的ISAPI扩展面板，我们可以发现所有的.aspx页面都会交由aspnet_isapi.dll处理，所以我们只需要在路由表中加入相应的扩展名就可以通知IIS把请求传递给ASP.NET框架了。&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;img src="http://images.cnblogs.com/cnblogs_com/chixiaojin/URL_Routing_iis.gif" width="493" height="457" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;修改代码如下：&lt;/p&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-color: #f5f5f5; font-family: 'Courier New'; font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; word-break: break-all; overflow-x: auto; overflow-y: auto; "&gt;&lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;1&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;void&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;Application_Start(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;object&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;sender,&amp;nbsp;EventArgs&amp;nbsp;e)&amp;nbsp;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;2&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;{&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;3&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RegisterRoutes(RouteTable.Routes);&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;4&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;}&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;5&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;6&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;void&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;RegisterRoutes(RouteCollection&amp;nbsp;routes)&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;7&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;{&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;8&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;routes.Add(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;Demo1&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;new&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;Route(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;Demo1.aspx/&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #0000ff; "&gt;new&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;&amp;nbsp;CustomRouteHandler(&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;~/WebForm1.aspx&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #800000; "&gt;"&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;)));&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/span&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #008080; "&gt;9&lt;/span&gt;&amp;nbsp;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 'Courier New'; line-height: 1.5; color: #000000; "&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;尝试请求http://mysite.com/Demo1.aspx/时发面，页面正常加载！&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;img src="http://images.cnblogs.com/cnblogs_com/chixiaojin/URL_Routing_ok.gif" width="581" height="225" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;当然了，你也可以创建一个自定义扩展（如.myext），并交由aspnet_isapi.dll处理即可。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " /&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 0px; "&gt;BTW，&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;ASP.NET Routing是ASP.NET MVC的核心功能之一，因此想在IIS5.1/IIS6.0上运行ASP.NET MVC的话，也务必注意改写路由表，加上可由aspnet_isapi.dll处理的扩展。&lt;/strong&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/chixiaojin/aggbug/2158834.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/chixiaojin/archive/2011/08/29/2158834.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
