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
Ïà¹ØÎĵµ£º
ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔǰµÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕß¶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......
1. µÄ.net£¬ÓÃÊó±êÓÒ»÷ÄãµÄ¹¤³Ì(½â¾ö·½°¸)£¬Ñ¡Ôñadd new project(Ìí¼Óн¨ÏîÄ¿)¡£
2.Ñ¡Ôñsetup and deployment projects£¨°²×°ºÍ²¿ÊðÏîÄ¿£©µÄ web setup project(web°²×°ÏîÄ¿)¡££¨×¢ÒâsetupprojectµÄ´æ·Å·¾¶¡£Í¨³£Ä¬ÈÏ£©
3.vsµÄ´°¿Ú»áÏÔʾÎļþϵͳ£¨you setup name£©¡£ÓÃÊó±êµã»÷×óÀ¸ÏµÄ"web application folder" µÄ¼Óº ......
²éѯÁËÍøÉϵ쬶¼ÊÇÄã¸´ÖÆÎÒ£¬ÎÒ¸´ÖÆÄãµÄ£¬Õæ²»ÖªµÀÕâЩÈËÄÔ×Ó³¤ÔÚÄÄÀËùÒÔ×Ô¼ºÐ´Ï¸ø´ó¼Ò·ÖÏí
Èç¹ûÄãÒª×ªÔØ£¬Âé·³ÄãÐÞ¸Äһϰɣ¬±ðÒ»ËÑË÷³öÀ´µÄÎÄÕ¶¼ÊÇÒ»×Ö²»²î£¡
ÔÚcsÎļþÀïÎÒÕâôдµÄ
public string NewPic(int row)
{
if (row<3)
&nb ......
¿ÉÒÔ˵¼¸ºõÿ¸ö×ö¹ýWeb¿ª·¢µÄÈ˶¼Îʹý£¬µ½µ×ÔªËØµÄIDºÍNameÓÐÊ²Ã´Çø±ð°¢£¿ÎªÊ²Ã´ÓÐÁËID»¹ÒªÓÐNameÄØ?!
¶øÍ¬ÑùÎÒÃÇÒ²¿ÉÒԵõ½×îclassicalµÄ´ð°¸£ºID¾ÍÏñÊÇÒ»¸öÈ˵ÄÉí·ÝÖ¤ºÅÂ룬¶øName¾ÍÏñÊÇËûµÄÃû×Ö£¬IDÏÔÈ»ÊÇΨһµÄ£¬¶øNameÊÇ¿ÉÒÔÖØ¸´
µÄ¡£
ÉÏÖÜÎÒÒ²Óöµ½ÁËIDºÍNameµÄÎÊÌ⣬ÔÚÒ³ÃæÀïÊäÈëÁËÒ»¸öinput
type= ......
×ªÔØ
£ºLoveCherry
¼¼ÊõÎÞ¼«ÏÞ
ͻ񻣼
±¾ÎĽéÉÜÁËÔõôÔÚ
ASP.NET 2.0
ÖÐʹÓÃ
Membership
ÐÂÌØÐÔ£¬²¢ÇÒ½éÉÜÁËÔõôÁ½ÖÖ²»Í¬µÄ
Membership
µÄ
Provider
£º
ActiveDirectoryMembershipProvider
ºÍ
SqlMembershipProvider
£¬Ç°ÕßÊÇ»ùÓÚ΢Èí»î¶¯Ä¿Â¼·þÎñ´æ´¢Óû§ÐÅÏ¢µÄ£¬»òÕßÊÇ»ùÓÚ
SQL SERVER
´æ´¢µÄ¡£
2.0
......