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

ת£ºÔÚASP.NETÖÐÔÚ²»Í¬Ò³Ãæ¼ä½øÐÐÊý¾Ý´«µÝÓÐÄÄЩ·½·¨

Ëѵģ¬ÍøÂçºÜÇ¿´óµÄ
1. Get(¼´Ê¹ÓÃQueryStringÏÔʽ´«µÝ)
     ·½Ê½£ºÔÚurlºóÃæ¸ú²ÎÊý¡£
     Ìص㣺¼òµ¥¡¢·½±ã¡£
     ȱµã£º×Ö·û´®³¤¶È×Ϊ255¸ö×Ö·û£»Êý¾Ýй©ÔÚurlÖС£
     ÊÊÓÃÊý¾Ý£º¼òµ¥¡¢ÉÙÁ¿¡¢¹Ø¼üµÄÊý¾Ý¡£
     ÊÊÓ÷¶Î§£º´«µÝ¸ø×Ô¼º¡¢´«µÝ¸øÁíÒ»¸öÄ¿±êÒ³Ã棻³£ÓÃÓÚ2¸öÒ³Ãæ¼ä´«µÝÊý¾Ý¡£
     Ó÷¨£ºÀýÈ磺urlºó¼Ó?UserID=…£¬Ìøתµ½Ä¿±êÒ³Ã棬Ŀ±êÒ³ÃæÔÚËÅ·þ¶Ë¿ÉÓÃRequest.QueryString["InputText"]»ñÈ¡ÆäÖ¸¶¨²ÎÊýÖµ¡£
2. Post
     ·½Ê½£ºÍ¨Óõķ½Ê½¡£ÀûÓÃformÌá½»¡£
     Ìص㣺×î³£Óõķ½·¨¡£³£Óü¼ÇÉÊÇ°ÑÒþÃصÄÊý¾Ý´æÔÚÒþ²ØÓòÖÐÓÉformÌá½»¡£
     ÊÊÓÃÊý¾Ý£º´óÁ¿Êý¾Ý£¬°üÀ¨ÎļþÉÏ´«¡£
     ÊÊÓ÷¶Î§£ºÍ¬Get·½·¨
     Ó÷¨£ºÔÚ¿Í»§¶ËformÖ¸¶¨actionÄ¿±êºósubmit¡¢ÔÚasp.netµÄËÅ·þ¶ËÖÐʹÓÃserver.Transfer(url)Ìá½»£»ÔÚËÅ·þ¶ËÖÐÓÃRequest.Form["FormFieldID"]»ñÈ¡¡£
3. Ò³Ãæ¶ÔÏóµÄÊôÐÔ
     ·½Ê½£ºasp.netÌØÓз½Ê½ ¡£ÀûÓÃHttpContext»ñÈ¡·¢ÇëÇóµÄÒ³ÃæµÄÐÅÏ¢¡£
     Ìص㣺¿ÉÒÔÖ±½Ó´æ´¢¶ÔÏó¡£
     ȱµã£º×¢ÒâÇ¿ÖÆת»»µÄÀàÐÍÒªÕýÈ·¡£
     ÊÊÓÃÊý¾Ý£º¸÷ÖÖÊý¾Ý¡£
     ÊÊÓ÷¶Î§£ºÒ³ÃæÖ®¼ä´«µÝ¸´ÔÓÊý¾Ý¡£
     Ó÷¨£º»ñÈ¡Context.Handler½«Æäת»»Îª·¢ÇëÇóµÄÒ³ÃæµÄʵÀý£¬Ëæºó¾Í¿ÉÒÔÇáËÉ·ÃÎÊÆäformÖеÄ×ֶΡ¢ÉõÖÁÊôÐÔ¡£ÆäÖеÄContextÊÇÖ¸HttpContext¶ÔÏó£¬HandlerÊÇÆäÊôÐÔ£¬Context.HandlerµÄÒâ˼¿ÉÒÔÀí½âΪ´´½¨Ô´Ò³ÀàµÄʵÀý±äÁ¿£¬¶øµÃµ½´ËʵÀýÖ®ºó£¬¾Í¿ÉÒÔÖ±½Ó·ÃÎÊÆäÖеÄÊôÐÔºÍPublic·½·¨ÁË¡£
4. cookie
     ·½Ê½£º½«Êý¾Ý´æÔÚ¿Í»§¶ËµÄ¾­µä·½·¨¡£
     ȱµã£º°²È«ÐԵ͡¢ÊÜ¿Í»§¶ËÉèÖÃÏÞÖÆ¡¢Ò»¸öÕ¾µã½ö´æ20¸öcookie£¬Ã¿¸öÈÝÁ¿4096×Ö½Ú¡£
     ÓÐЧÆÚ£º×Ô¶¨Òå»ò±»Óû§Çå³ý
     ÊÊÓÃÊý¾Ý£ºÓû§µÄ»á»°Êý¾Ý(Ò»°ãÊÇÓû§Ãû£¬Óû§µÄ¸öÐÔ»¯ÉèÖÃÐÅÏ¢µÈ)
     ÊÊÓ÷¶Î§£ºµ¥¸öÓû§¡¢Õû¸öÕ¾µãËùÓÐÒ³Ãæ
     Ó÷¨£ºÒýÓÃRequest


Ïà¹ØÎĵµ£º

ASP.NET·ÀºóÍË

ÈçÓÐÒ³ÃæAdmin£¬ÔòÔÚÆäcsÎļþÖÐдÈçÏ´úÂ룺
protected void Page_Load(object sender, EventArgs e)
{
Response.AddHeader("Cache-Control", "no-cache");
Response.Expires = -1;
Response.Cache.SetNoStore();
Response.AddHeader("Pragma", "no-cache");
Response ......

Asp.netË®¾§±¨±í°²×°²¿Êð(vs2008)

ÔÚ²¿ÊðË®¾§±¨±íʱÖ÷ÒªÓöµ½Ö§³Ö×é¼þµÄÎÊÌâ¡£
Ê×ÏÈ£¬ÐèÒªÔÚ·þÎñÆ÷ÉÏÐèÒª°²×°“CRRedist2008_x86.msi”ºÍºº»¯°ü“CRRedist2008_x86_chs.msi”¡£
vs.net 2008£¬ÔÚÕâ¸öĿ¼
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5
vs.net 2005£¬ÔÚÕâ¸öĿ¼
C:\Progr ......

asp.net(c#)ÍøÒ³ÌøתÆßÖÖ·½·¨Ð¡½á

asp.net(c#)ÍøÒ³ÌøתÆßÖÖ·½·¨Ð¡½á
·¢²¼Ê±¼ä£º2009-11-25 11:13:03
¡¡¡¡1.Response.Redirect("http://www.yayiba.com",false);
¡¡¡¡Ä¿±êÒ³ÃæºÍÔ­Ò³Ãæ¿ÉÒÔÔÚ2¸ö·þÎñÆ÷ÉÏ£¬¿ÉÊäÈëÍøÖ·»òÏà¶Ô·¾¶¡£ºóÃæµÄboolֵΪÊÇ·ñÍ£Ö¹Ö´Ðе±Ç°Ò³¡£
ÌøתÏòеÄÒ³Ã棬ԭ´°¿Ú±»´úÌæ¡£"
ä¯ÀÀÆ÷ÖеÄURLΪз¾¶¡£
:Response.Redirect·½ ......

ASP.Net ѧϰ֮·µ»ØÉÏÒ»Ò³µÄʵÏÖ·½·¨


ASP.Net ѧϰ֮·µ»ØÉÏÒ»Ò³µÄʵÏÖ·½·¨
[ÈÕÆÚ£º01-20] [×ÖÌ壺´ó ÖРС]
·µ»ØÉÏÒ»Ò³µÄÕâ¸ö¶«¶«ÔÚÎÒÃÇ×öÏîÄ¿µÄʱºòÒ»°ãÊÇÓÃÓÚÌîдÍê±íµ¥ºóÈ·ÈϵÄʱºò£¬ÓжÔÔ­À´ÊäÈëµÄÊý¾Ý½øÐÐÐÞ¸ÄʱÓõģ¬»òÕßÊÇÒòΪÍøվΪÁË·½±ãä¯ÀÀÕ߶øÓÐÐÄÌí¼ÓµÄÒ»¸ö¶«¶«£¬Ò»°ãÕâÖÖ¹¦ÄܵÄʵÏÖÔÚASP.netÖж¼ÊÇÓÃÒ»¸öbuttonµÄ¿Ø¼þÀ´ÊµÏֵģ¬ÊµÏֵķ ......

Asp.netÒ³ÃæÖÐÒýÓÃjsÎļþÎÞЧµÄÎÊÌâµÄ½â¾ö·½·¨

ÔÚBSÏîÄ¿ÖУ¬Ä³¸öaspxÒ³ÃæÐèÒªÒýÓÃÍⲿ½Å±¾Îļþ£¬Í¨¹ýÔÚÒ³Ãæhead½Ú<script language="" src="">·½Ê½ÒýÓÃÖ¸¶¨µÄjsÖ®ºó£¬ÈÔÈ»ÎÞЧ¡£Í¨¹ýalert·½Ê½µ÷ÊÔ£¬·¢ÏÖÊÇÓÉÓÚjsÎļþ±àÂëÓëjsÎļþÄÚÈݲ»·û¡£ÓÉÓÚjsÎļþÖаüº¬ÖÐÎÄ×¢ÊÍ£¬ËùÒÔÐèÒªÉèÖÃjsÎļþΪ¿Éʶ±ðÖÐÎĵÄgb2312±àÂë¡£Æä·½·¨ÔÚÍøÉÏÒ²½²Êö£¬ÒÔÏÂΪÍøÕªÄÚÈÝ£º
 &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ