Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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


Ïà¹ØÎĵµ£º

HTML»ù´¡

1¡¢Îı¾±êÇ©(ÃüÁî)
<pre></pre>         ´´½¨Ô¤¸ñʽ»¯Îı¾
<h1></h1>          ´´½¨×î´óµÄ±êÌâ
<h6></h6>          ´´½¨×îСµÄ±êÌâ
<b&g ......

HTML´úÂëÈëÃÅ


ѧϰSEOÐèÒªÁ˽âÍøÒ³ÖÆ×÷£¬·ñÔòÍøÕ¾±¾ÉíµÄÓÅ»¯¾ÍÎÞ´ÓÏÂÊÖ¡£±È½ÏÁ÷ÐеÄÍøÒ³ÖÆ×÷¹¤¾ßÊÇMicrosoft¹«Ë¾¿ª·¢µÄ
Dreamweaver£¬Ö§³ÖËù¼û¼´ËùµÃµÄ±à¼­·½Ê½£¬ÔÚÕ¾µãµÄ¹ÜÀí·½Ãæ×öµÄÒ²ºÜ³öÉ«£¬²»ÐèÒªÄãÕÆÎÕºÜÉîµÄÍøÒ³ÖÆ×÷¼¼Êõ֪ʶ£¬ÉõÖÁ²»ÐèÒªÄãÁ˽â HTMLµÄ»ù±¾Óï·¨¡£Ëü»¹Ö§³Ö²ãµÄ²Ù×÷£¬²¢ÇÒ¿ÉÒÔ±ÜÃâÉú³ÉÈßÓà´úÂ룬²¢ÇÒÖ§³Ö¶Ô HTMLÔ ......

ASP.NETÒ³ÃæË¢Ð·½·¨×ܽá

ÏÈ¿´¿´ASP.NETÒ³ÃæË¢ÐµÄʵÏÖ·½·¨£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); }
µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.locat ......

ASP.NETµÄÎå´óÊý¾Ý¿Ø¼þdz̸£¨×ª£©

CheckBoxÑ¡Ôñ×é¼þÊÇÒ»¸ö³ÌÐòÖж¼¾­³£µÄ×é¼þ¡£ÔÚ³ÌÐòÉè¼ÆÖÐʹÓõ½¸Ã×é¼þ£¬Ò»°ã¶¼²»»áֻʹÓõ½Ò»¸ö£¬ÍùÍùÊÇÒÔ¶à¸ö´ËÀà×é¼þµÄÐÎʽ³öÏֵġ£ÔÚASP.NETÒ³ÃæÖÐÈç¹ûҪʹÓõ½¶à¸öCheckBox×é¼þ£¬³ýÁËÌí¼Ó¶à¸öCheckBox×é¼þÔÚÒ³ÃæÖÐÖ®Í⣬»¹ÓÐÒ»ÖֱȽϷ½±ãµÄ·½·¨£¬¾ÍÊÇʹÓÃCheckBoxList ×é¼þ¡£CheckBoxList×é¼þÊÇÓÉÒ»×éµÄCheckBox×é¼þ×é ......

ASP.NET 2.0ÖÐʹÓÃMembership

×ªÔØ
£ºLoveCherry
¼¼ÊõÎÞ¼«ÏÞ
ͻ񻣼
±¾ÎĽéÉÜÁËÔõôÔÚ
ASP.NET 2.0
ÖÐʹÓÃ
Membership
ÐÂÌØÐÔ£¬²¢ÇÒ½éÉÜÁËÔõôÁ½ÖÖ²»Í¬µÄ
Membership
µÄ
Provider
£º
ActiveDirectoryMembershipProvider
ºÍ
SqlMembershipProvider
£¬Ç°ÕßÊÇ»ùÓÚ΢Èí»î¶¯Ä¿Â¼·þÎñ´æ´¢Óû§ÐÅÏ¢µÄ£¬»òÕßÊÇ»ùÓÚ
SQL SERVER
´æ´¢µÄ¡£
2.0
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ