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

ת:ASP.NETÒ³Ãæ´«ÖµµÄ¼¸ÖÖ·½Ê½

Ò». ʹÓÃQueryString±äÁ¿
¡¡¡¡¡¡¡¡QueryStringÊÇÒ»Öַdz£¼òµ¥Ò²ÊÇʹÓñȽ϶àµÄÒ»ÖÖ´«Öµ·½Ê½£¬µ«ÊÇËü½«´«µÝµÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖÐ,Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ£¬¿ÉÒÔʹÓÃÕâ¸ö·½·¨¡£
         Response.Redirect( "target.aspx?param1=hello&param2=hi ")
        ½ÓÊÕÒ³Ãæ£º   string   str   =   Request.QueryString["param1"];
                               string   str1   = Request.QueryString["param2];
¶þ.ʹÓÃCookie¶ÔÏó±äÁ¿(CookieÊÇ´æ·ÅÔÚ¿Í»§¶ËµÄ)
¡¡      ÉèÖÃCookie:   HttpCookie cookie_name = new HttpCookie("name");
                         cookie_name.Value = Label1.Text;
                         Reponse.AppendCookie(cookie_name);
   
          »ñÈ¡Cookie:
                       string name= Request.Cookie["name"].Value.ToString();
Èý. ʹÓÃSession±äÁ¿(sessionÊÇ´æ·ÅÔÚ·þÎñÆ÷¶ËµÄ)
¡¡¡¡ÉèÖÃSession:¡¡     Session["name"] ="hello";
        »ñÈ¡Session:        string name = Session["name"].ToString();
ËÄ.ʹÓÃApplication ¶ÔÏó±äÁ¿
¡¡¡¡Application¶ÔÏóµÄ×÷Ó÷¶Î§ÊÇÕû¸öÈ«¾Ö£¬Ò²¾ÍÊÇ˵¶ÔËùÓÐÓû§¶¼ÓÐЧ¡£´ËÖÖ·½·¨²»³£Ê¹Óã¬ÒòΪApplicationÔÚÒ»¸öÓ¦ÓóÌÐòÓò·¶Î§¹²Ïí£¬ËùÓÐÓû§¿ÉÒԸı估ÉèÖÃÆäÖµ£¬¹ÊÖ»Ó¦ÓüÆÊýÆ÷µÈÐèҪȫ¾Ö±äÁ¿µÄµØ·½¡£
  &n


Ïà¹ØÎĵµ£º

ASP.netµÄurlÖØÐ´

1.
ÓйØÓÚURLµÄÖØÐ´£¬±¾ÎÄÒ²Ö»ÊÇÄÃÀ´Ö÷Òâ¡£Ïà¼ÌÓÐMSµÄ×é¼þ“URLRewriter”ºÍÔÚGlobal.asaxÀïµÄ“Application_BeginRequest()”±àÂ뷽ʽ£¬ÒÔ¼°IISÀïµÄISAPIÉèÖá£
ÄÈÁÐÏÂÀ´£¬ÊµÏÖ·½·¨Ò²¶¼ºÜ¼òµ¥¡£
 
·½·¨Ò»£ºMS×é¼þ
ÕâÀïÒ²²»ÓÃÏê½âÁË£¬Ïà¹ØÇë¿´£º
http://www.microsoft.com/china/msdn/libra ......

Asp.NetÖÐSession

Session¼´»á»°£¬ÊÇÖ¸Ò»¸öÓû§ÔÚÒ»¶Îʱ¼äÄÚ¶Ôijһ¸öÕ¾µãµÄÒ»´Î·ÃÎÊ¡£ 
Session¶ÔÏóÔÚ.NETÖжÔÓ¦HttpSessionStateÀ࣬±íʾ“»á»°×´Ì¬”£¬¿ÉÒÔ±£´æÓ뵱ǰÓû§»á»°Ïà¹ØµÄÐÅÏ¢¡£
Session¶ÔÏóÓÃÓÚ´æ´¢´ÓÒ»¸öÓû§¿ªÊ¼·ÃÎÊij¸öÌØ¶¨µÄaspxµÄÒ³ÃæÆð£¬µ½Óû§À뿪Ϊֹ£¬Ìض¨µÄÓû§»á»°ËùÐèÒªµÄÐÅÏ¢¡£Óû§ÔÚÓ¦ÓóÌÐòµ ......

FCKeditor 2.X ÔÚ Asp.NetÖеÄÉèÖÃ

FCKeditorÏà¹Ø×ÊÁϼò½é£º
¹Ù·½ÍøÕ¾http://www.fckeditor.net/
¹Ù·½Îĵµhttp://wiki.fckeditor.net/
ÏÂÔØµØÖ·http://www.fckeditor.net/download/default.html
¹Ù·½ÑÝʾhttp://www.fckeditor.net/demo/default.html
FCKEditor asp.netÉèÖÃ
ÏÂÔØ£ºhttp://www.fckeditor.net
£¨ÒªÏÂÔØFCKeditor2.4.2.zipºÍFCKeditor.NET ......

ASP.NET³£ÓÃÓï¾ä

1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
Response.Write(" <script>window.alert('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡')
</script>");
Response.Write(" <script>window.location
='http://www.51aspx.com/bizpulic/upmeb.aspx' </script>");
2.//µ¯³ö¶Ô»°¿ò
Response.Write(" <script lang ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ