asp.netÖдËÒ³µÄ״̬ÐÅÏ¢ÎÞЧ£¬¿ÉÄÜÒÑË𻵵Ľâ¾öÖ®µÀ
asp.netÖдËÒ³µÄ״̬ÐÅÏ¢ÎÞЧ£¬¿ÉÄÜÒÑË𻵵Ľâ¾öÖ®µÀ[ת]
ĬÈÏ·ÖÀà 2009-02-06 16:16:06 ÔĶÁ137 ÆÀÂÛ0 ×ֺţº´óÖÐС
Õë¶Ô´ËÎÊÌâÍøÉÏÓÐÒ»ÖÖ½â¾ö°ì·¨£¬¾ÍÊÇÔڸù¤³ÌÖеÄweb.configÖÐÌí¼ÓÈçÏ´úÂ룺 <pages enableEventValidation="False" viewStateEncryptionMode="Never" /> £¬µ«Ò²Óкܶà¼ÓÁËÕâ¶ÎÓï¾äºó£¬»¹Êdzö´íµÄÇé¿ö£¬²»Öª¸ÃÈçºÎ½â¾ö¡£
ÎÒ¸ù¾ÝÎÒµÄʵ¼ÊÇé¿ö£¬Ò²ÓÐÒ»ÖÖ½â¾ö·½·Û£ºÄãÔÚä¯ÀÀÆ÷Öв鿴һϳö´íÒ³ÃæµÄÔ´´úÂëÀ¿´¿´Ô´´úÂëÀïÃæÊDz»ÊÇÓÐÁ½¸öÒÔÉϵÄform±íµ¥£¬Èç¹ûÓжà¸öform±íµ¥£¬ÄÇôÔÚÒ³Ãæ»Øµ÷ʱ¾Í°üº¬Á˶à·ÝpostÊý¾Ý£¬µ«»Øµ÷ʱ£¬·þÎñÆ÷·½ÈÔÈ»°ÑËüµ±×÷Ò»·Ý¿´´ý£¬½á¹û·þÎñÆ÷·ÖÎö²»³öpostÊý¾Ý£¬Ö»¸øÄã·µ»ØÁËÒ»¸öÍøҳ״̬ÒÑË𻵵ÄÏûÏ¢¡£Ö»ÒªÄã°ÑÆäÖм¸¸ö²»Ì«ÖØÒªµÄform±íµ¥É¾³ý£¬Ö»ÁôÏÂÒ»¸öÖ÷ÒªµÄform±íµ¥£¬±£´æ²¢ÖØÆôIISºó¾Í»á·¢ÏÖ£¬ÎÊÌâ½â¾öÁË£¡
Ïà¹ØÎĵµ£º
ÓкܾÃÒ»¶Îʱ¼äÎÒµÄBLOGÉÏûÓгöÏÖAJAXÏà¹ØѶϢÁË£¬Ö÷Òªµ±È»ÊÇÒòΪ¾ø´ó²¿·ÖµÄÖØÐĶ¼·Åµ½ÁËSilverlightÉíÉÏ(¿ÉÔ¤ÆÚµÄδÀ´Ó¦¸ÃÒ²»áÊÇÈç´Ë)¡£
µ«ÓÉÓÚ¹¤×÷ÉϵÄÐèÒª£¬×î½ü»¹ÊÇ»ØÍ·¿´ÁËһϼ´½«ÍƳöµÄASP.NET Ajax Library...£¬Ë³±ãÕÒÁËÒ»ÏÂÍøÂçÉϵÄѶϢ£¬¿´Õâ¸ö̬ÊÆÎÒ²ÂÏëÓ¦¸Ã²»ÉÙASP.NET¿ª·¢ÈËÔ±ºöÂÔµôÁËÕâ¸öÆäʵÒѾbet ......
/// <summary>
/// HTML½âÂë
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public string HtmlDecode(string input)
&nb ......
½ñÌìÑо¿ÁËÒ»ÏÂÔÚasp.netÏÂÓÃC#ÓïÑÔѹËõÎļþ£¬ºÍ½âѹÎļþ£¬ÔÚÍøÉϺÃÁ˺þòÅÕÒµ½Ô´´úÂ룬£¬Õæ²»ÈÝÒ×°¡£¡£¡
ÔÚ ASP.NET ÖÐÓÐÁ½¸öÀࣺDeflateStream ºÍ GZipStream ÓÃÓÚ´¦ÀíѹËõºÍ½âѹËõ£¬ÕâÁ½¸öÀà·Ö±ðʹÓõÄÊÇ DEFLATE ºÍ gzip ѹËõËã·¨£¬ÕâÁ½¸öËã·¨±»Ò»Ð©Ñ¹ËõÈí¼þÖ§³Ö£¬±ÈÈç WinRAR ¾ÍÖ§³Ö gzip¡£ÕâÁ½¸öÀàµÄÃû³Æ¿Õ¼ä¾ùΪ£ ......
//»ñÈ¡µ±Ç°½ø³ÌµÄÍêÕû·¾¶£¬°üº¬ÎļþÃû(½ø³ÌÃû)¡£
string str = this.GetType().Assembly.Location;
result: X:\xxx\xxx\xxx.exe (.exeÎļþËùÔÚµÄĿ¼+.exeÎļþÃû)
//»ñÈ¡Ð嵀 Process ×é¼þ²¢½«ÆäÓ뵱ǰ»î¶¯µÄ½ø³Ì¹ØÁªµÄÖ÷Ä£¿éµÄÍêÕû·¾¶£¬°üº¬ÎļþÃû(½ø³ÌÃû)¡£
s ......
1.
ClientScript.RegisterStartupScript(this.GetType(), "js1", "alert('ɾ³ý³É¹¦');window.location='QuerySortList.aspx';", true);
2.
this.cmdSave.Attributes.Add("onclick", "return f_StringCheck()"); ......