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

asp.netºǫ́Ïòǰ̨ע²ájsº¯ÊýºÍÊý×é

1. ×¢²ájsº¯Êý
String scriptString = "<script language=JavaScript>function doClick(){";
scriptString += "for(var index=0;index<myArray.length;index++)";
scriptString += "alert(myArray[index]);}<";
scriptString += "/" + "script>";
ClientScript.RegisterStartupScript(typeof(WebForm2), "arrayScript", scriptString);
2. ×¢²áÊý×é
ClientScript.RegisterArrayDeclaration("myArray", "\"x\",\"y\",\"z\"");


Ïà¹ØÎĵµ£º

asp.netÈçºÎ½«¶¯Ì¬Ò³Ãæ×ª³É¾²Ì¬Ò³Ãæ


¶¯Ì¬Ò³ÃæÉú³É¾²Ì¬Ò³ÃæËµÆðÀ´Æäʵ²»ÄÑ£¬Ö÷ÒªÊÇ˼ÏëµÄÎÊÌ⣬ÏñÄÇЩÐÂÎŲ»Ì«³£¸Ä¶¯µÄ£¬ÎÒÃÇ¿ÉÒÔ½«ËûÉú³É¾²Ì¬µÄ£¬À´Ìá¸ßÍøÕ¾µÄ·ÃÎÊËÙ¶È£¬ÒÔϾÍÊÇÎҵķ½·¨£¬ºÜ¼òµ¥
ÎÒÃÇÏȽ«ÎÒÃǵĶ¯Ì¬ÍøÕ¾·Åµ½ÍøÉÏ£¬²¢ÇÒ¿ÉÒÔÕý³£·ÃÎÊ£¬È»ºó¾ÍÊÇÓõ½ÁË×¥È¡Ò³ÃæµÄ¼¼ÊõÁË
  /// <summary>
    /// »ñµÃÍøÒ³ÄÚÈÝ
& ......

ASP.NET²Ù×÷web.config

      ASP.NET¿ÉÒÔÀûÓÃWebConfigurationManagerºÍÖ±½ÓÀûÓÃXML·½Ê½²Ù×÷web.config,WebConfigurationManager±È½Ï¼òµ¥£¬µ«ÊÇÇå³ý×¢ÊÍ´úÂë¡£Á½Õß²Ù×÷·½Ê½¶¼ÐèÒªÓÐдȨÏÞ¡£
      ·½·¨Ò»£¬ÀûÓÃWebConfigurationManager£¬ÐèÒªÒýÓÃSystem.Web.Configuration.WebConfigurationM ......

asp.net ½Ó¿ÚµÄ×÷ÓÃ


¼Ì³Ð"»ùÀà"¸ú¼Ì³Ð"½Ó¿Ú"¶¼ÄÜʵÏÖijЩÏàͬµÄ¹¦ÄÜ£¬µ«ÓÐЩ½Ó¿ÚÄܹ»Íê³ÉµÄ¹¦ÄÜÊÇÖ»ÓûùÀàÎÞ·¨ÊµÏÖµÄ
1.½Ó¿ÚÓÃÓÚÃèÊöÒ»×éÀàµÄ¹«¹²·½·¨/¹«¹²ÊôÐÔ. Ëü²»ÊµÏÖÈκεķ½·¨»òÊôÐÔ£¬Ö»ÊǸæË߼̳ÐËüµÄÀà
¡¶ÖÁÉÙ¡·ÒªÊµÏÖÄÄЩ¹¦ÄÜ,¼Ì³ÐËüµÄÀà¿ÉÒÔÔö¼Ó×Ô¼ºµÄ·½·¨. 
2.ʹÓýӿڿÉÒÔʹ¼Ì³ÐËüµÄÀà: ÃüÃûͳһ/¹æ·¶,Ò×ÓÚά»¤.±ÈÈç: Á½ ......

¹ØÓÚASP.NETÒ³Ãæ´òÓ¡¼¼ÊõµÄ×ܽá

ÍøÂç´òÓ¡¸ÅÊö
¡¡¡¡• B/S½á¹¹µ¼ÖÂÁËWebÓ¦ÓóÌÐòÖдòÓ¡µÄÌØÊâÐÔ¡£
¡¡¡¡• ³ÌÐòÔËÐÐÔÚä¯ÀÀÆ÷ÖУ¬´òÓ¡»úÔÚ±¾µØ£¬¶øÎļþÈ·¿ÉÄÜÔÚ·þÎñÆ÷ÉÏ£¬µ¼ÖÂÁË´òÓ¡¿ØÖƲ»ÊǺÜÁé»î¡£
¡¡¡¡• ¸ñʽÈçºÎ¿ØÖƺͶ¨ÖƵȣ¬ÊÇÎÒÃÇ¿ª·¢ÖпÉÄÜ»áÃæ¶ÔµÄÎÊÌâ¡£
¡¡¡¡´òÓ¡ÎĵµµÄÉú³É
¡¡¡¡• 1¡¢¿Í»§¶Ë½Å±¾·½Ê½
¡¡¡¡Ò»°ãÇé¿öÏ£¬Ö÷ÒªÊ ......

Asp.net AJAX Web Serviceµ÷ÊÔ

  ¸ÕѧϰASP.NET AJAX¿ª·¢£¬½ñÌìÓöµ½Ò»¸öÆæ¹ÖµÄÎÊÌ⣬¿ÉÄÜÊÇ×Ô¼º²»ÊìµÄÔ­Òò£¡£¡
ÔÚvs2005Æô¶¯µÄʱºò£¬ÔÚasmxÎļþÖУ¬Ìí¼Ó¶Ïµã£¬Æô¶¯µ÷ÊÔÄÜÕý³£½øÈëµ½µ÷ÊÔÒ³Ãæ£¬È»ºóÐÞ¸ÄasmxÒ³ÃæÒÔºó£¬
ÖØÐÂÆô¶¯µ÷ÊÔ£¬¾Í²»ÄÜÕý³£½øÈëµ½asmxÎļþÖеĶϵ㣬¶øÇÒÎļþÐ޸ĵĵط½£¬¶ÔÓÚÒ³Ãæµ÷ÓÃÖ±½ÓÎÞЧ£¬ÏÔʾЧ¹ûʼÖÕÊÇÐÞ¸ÄǰµÄЧ¹û£¡£¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ