asp.netÖйýÂÔhtml´úÂë
// <summary>
/// ¹ýÂËhtml´úÂë
/// </summary>
public static string RphtmlStr(string html)
{
try
{
System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"<script[\s\S]+</script *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex2 = new System.Text.RegularExpressions.Regex(@" href *= *[\s\S]*script *:", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex3 = new System.Text.RegularExpressions.Regex(@" no[\s\S]*=", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex4 = new System.Text.RegularExpressions.Regex(@"<iframe[\s\S]+</iframe *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex5 = new System.Text.RegularExpressions.Regex(@"<frameset[\s\S]+</frameset *>", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
System.Text.RegularExpressions.Regex regex6 = new System.Text.RegularExpressions.Regex(@"\<img[^\>]+\>", System.Text.RegularExpres
Ïà¹ØÎĵµ£º
1¡¢Îı¾±êÇ©(ÃüÁî)
<pre></pre> ´´½¨Ô¤¸ñʽ»¯Îı¾
<h1></h1> ´´½¨×î´óµÄ±êÌâ
<h6></h6> ´´½¨×îСµÄ±êÌâ
<b&g ......
ÒõÑôÃá
¡¡¡¡´Ó½ñÌ쿪ʼÆð£¬»ù¶½É½½«ºÍ´ó¼ÒÒ»Æð½øÈëASP.net Öî¶à³ÌÐòµÄѧϰÖУ¬ÀÏʵ˵£¬.netµ½µ×ÊÇ·¨±¦»¹ÊÇÀ¬»ø£¬ÎÒÃÇÊÃÄ¿ÒÔ´ý¡£ÓÐÈκÎÎÊÌ⣬ÁªÂç»ù¶½É½ seaman@163.com
ʲôÊÇASP.net£¬ASP.netµÄ°²×°
¡¡¡¡1.1 ʲôÊÇASP.net
¡¡¡¡ASP.net ÊÇÒ»ÖÖ½¨Á¢ÔÚͨÓÃÓïÑÔÉϵijÌÐò¹¹¼Ü£¬Äܱ»ÓÃÓÚһ̨Web·þÎñÆ÷À´½¨Á¢Ç¿´óµÄWebÓ¦Óó ......
ÔÚתÏòеÄÒ³ÃæÊ±£¬»á³öÏÖÏÂÃæµÄ´íÎó
ÎÞ·¨ÕÒµ½×ÊÔ´¡£
˵Ã÷: HTTP 404¡£ÄúÕýÔÚ²éÕÒµÄ×ÊÔ´(»òÕßËüµÄÒ»¸öÒÀÀµÏî)¿ÉÄÜÒѱ»ÒƳý£¬»òÆäÃû³ÆÒѸü¸Ä£¬»òÔÝʱ²»¿ÉÓá£Çë¼ì²éÒÔÏ URL ²¢È·±£ÆäƴдÕýÈ·¡£
ÇëÇóµÄ URL: /lonin.aspx
½â¾ö·½·¨ÈçÏ£º
1.Ê×ÏÈ£¬ÒªÖØÐÂ×¢²áIIS £ºÔËÐÐcmd ºó ½øÈë“C:\WINDOWS\Microsoft.NET\Fra ......
CheckBoxÑ¡Ôñ×é¼þÊÇÒ»¸ö³ÌÐòÖж¼¾³£µÄ×é¼þ¡£ÔÚ³ÌÐòÉè¼ÆÖÐʹÓõ½¸Ã×é¼þ£¬Ò»°ã¶¼²»»áֻʹÓõ½Ò»¸ö£¬ÍùÍùÊÇÒÔ¶à¸ö´ËÀà×é¼þµÄÐÎʽ³öÏֵġ£ÔÚASP.NETÒ³ÃæÖÐÈç¹ûҪʹÓõ½¶à¸öCheckBox×é¼þ£¬³ýÁËÌí¼Ó¶à¸öCheckBox×é¼þÔÚÒ³ÃæÖÐÖ®Í⣬»¹ÓÐÒ»ÖֱȽϷ½±ãµÄ·½·¨£¬¾ÍÊÇʹÓÃCheckBoxList ×é¼þ¡£CheckBoxList×é¼þÊÇÓÉÒ»×éµÄCheckBox×é¼þ×é ......
ÔÚ½¨Á¢Óë·þÎñÆ÷µÄÁ¬½Óʱ³ö´í¡£ÔÚÁ¬½Óµ½ SQL Server 2005 ʱ£¬ÔÚĬÈϵÄÉèÖÃÏ SQL Server ²»ÔÊÐí½øÐÐÔ¶³ÌÁ¬½Ó¿ÉÄܻᵼÖ´Ëʧ°Ü¡£ (provider: SQL ÍøÂç½Ó¿Ú, error: 26 - ¶¨Î»Ö¸¶¨µÄ·þÎñÆ÷/ʵÀýʱ³ö´í)
1.Ê×ÏÈÔËÐÐSQLServer
2.È»ºóÔËÐÐC:\WINDOWS\Microsoft.NET\Framework\v2.0.5072 ......