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

js C# ASP.Net ÕýÔòÈ¥µô³¬Á´½Ó(Ö»ÊÇ ºÍ )

//Ìæ»»ËùÓÐ
Regex reg = new Regex(@"(?is)</?a\b[^>]*>(?:(?!</?a).)*</a>");
string result = reg.Replace(yourStr, "");
//±£Áôwww.abc.comÁ´½Ó
Regex reg = new Regex(@"(?is)</?a\b.*?href=(['""]?)(?!(?:http://)?www\.abc\.com)[^'""\s>]+\1[^>]*>(?<text>(?:(?!</?a).)*)</a>");
string result = reg.Replace(yourStr, "");
//Ìæ»»ËùÓÐ
string ds = Regex.Replace(row["products_description"].ToString(),"<a (.*?)>","",RegexOptions.Compiled);
ds = Regex.Replace(ds, "</a>", "");


Ïà¹ØÎĵµ£º

ASP.Net 2.0´°ÌåÉí·ÝÑéÖ¤»úÖÆ

±¾ÆªÎÄÕ½éÉÜÁËÔÚASP.Net 2.0ÈçºÎ×ö´°ÌåÉí·ÝÑéÖ¤£¬²¢ÇÒ½²½âÁËIISºÍASP.Net2.0´°ÌåÉí·ÝÑéÖ¤»úÖÆÊÇÈçºÎ½áºÏÔÚÒ»ÆðµÄ¡£ÎÒÃÇ»¹»áÏêϸ½²½âÒ»ÏÂ2.0ÖйØÓÚ´°ÌåÉí·ÝÑéÖ¤µÄÒ»¸öÀࣺFormsAuthenticationModule¡£
l         ×ÛÊö
µ±Ä³Ò»¸öÓû§Ê¹ÓÃÓû§Ãû³É¹¦µÇ½Íøվʱ£¬FormsAuthenticatio ......

ASP.NET ѧϰ ing

×î½üÕýÔÚѧϰ ASP.NET£¨C#£© ,¸Ð¾õÈÏʶÉÏÈ¥Á˾Ͳ»ÊÇÄÇôÄÑÒÔÀí½âÁË¡£ÎÒÊÇASP ³öÉí£¬ÓеÄʱºòѧASP.NET ×ÜÊÇ»ìÏýµÄһЩµØ·½¡£ºÇºÇ£¬²»¹ýÀí½âÉÏÈ¥Á˾ͺúܶàÁË¡£ÎÒÏ£ÍûºÃÅóÓÑÃÇÌáÌáºÃµÄ½¨Òé¡£°ï°ïСµÜ£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡1 ......

asp/asp.netÁ¬½Ósql anywhereÊý¾Ý¿â


<%
set conn= server.createobject("ADODB.connection")
conn.open "driver={sybase driver 10};"
"srvr=SYBASE;"
"UID=sa;"
"pwd=sybase;"
sql="select no from tab_st ......

ZZʹÓÃSQL Server´æ´¢ASP.NET Session±äÁ¿

´´½¨ºÍÅäÖÃASP.NET Session״̬Êý¾Ý¿â
ÔÚ»ùÓÚNLB£¨ÍøÂ縺ÔØƽºâ£©»·¾³ÏµÄASP.NET WebÓ¦ÓóÌÐò¿ª·¢£¬ÎÒÃÇÐèÒª½«Session´æ´¢ÔÚÊý¾Ý¿âÖ驶à¸öWebÓ¦ÓóÌÐòµ÷Óã¬ÒÔÏÂΪÅäÖ÷½·¨¼°×¢ÒâÊÂÏî¡£
1.´´½¨ÓÃÓÚ´æ´¢ASP.NET SessionµÄÊý¾Ý¿â£¨Ô¶³Ì¡¢±¾µØ½Ô¿É£¬Ê¹ÓÃÊý¾Ý¿âÓû§Éí·ÝÈÏÖ¤£©
ÔÚWindows\Microsoft.NET\Framework/V2.0.507 ......

asp.net»ñÈ¡´«ÖµgetºÍpostÇëÇó

//postÇëÇó
string name = Request["name"].toString();
string name =Request.Form.Get("name").toString();
//getÇëÇó
string name = Request.QueryString["name"].toString();
µ«ÎÒ·¢ÏÖ ÎÞÂÛÊÇ·ñÊÇpostÓëget´«Öµ¶¼¿ÉÓÃ
string name = Request["name"].toString();

±íµ¥Ìá½»ÖÐgetºÍpost·½Ê½µÄÇø±ð¹éÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ