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

asp.net(vs2005)ʹÓÃupdatepanel¿Ø¼þÏê½â

  ×î½ü×öÒ»¸öÍøÕ¾£¬ÀïÃæÉæ¼°µ½¼¶ÁªµÄÎÊÌ⣨ÈçÊ¡-ÊУ¬Æ·ÅÆ-ÐͺŵÈ), ÎÒÓõÄÊÇDropDownListÀ´ÊµÏֵģ¬ÉèÖø¸¼¶µÄAutoPostBackÊôÐÔΪÕæ.È»ºóÔÚËüµÄSelectedIndexChanged()ʼþÀïдÏàÓ¦µÄ´úÂ룬ÕâÑù¾ÍÄÜʵÏÖ¼¶Áª¹Øϵ£¨µ±È»ÕâÀïҪעÒâIsPostBackµÄÎÊÌ⣩.  ×öºÃÖ®ºóÓÃʱ·¢ÏÖÒ»¸ö·Ç³£²»Ë¬µÄÎÊÌ⣬ÄǾÍÊÇÿ´Î¶¼»áˢУ¬ÕâÑùµÄÌåÑé×ÔÒѶ¼¸Ð¾õ·Ç³£²»Ë¬£¨¸ü²»¸Ò½»¸ø¿Í»§£©.ËùÒÔ¾ÍÉÏÍøÕÒһЩ¹ØÓÚÎÞˢм¶ÁªµÄ¶«¶«£¬¶«¶«Õæ²»ÉÙ£¬ÓÐjavascript £¬ajrx, updatepanelµÈ,¹ØÓÚÕâЩÇø±ð¿ÉÄÜÉÏÍø²é¡£
     ÓÉÓÚÊǵÚÒ»´ÎÓÃÕâЩ¶«¶«£¬¶øÇÒÏîÄ¿ÖÜÆÚËùÏÞ£¬¾ÍºóÑ¡Ôñ×î¼òµ¥µÄupdatepanel.ËäÈ»ºÜ¼òµ¥£¬µ«ÔÚÕâ¸ö¹ý³ÌÖÐÒ²ÓÐһЩÎÊÌ⣬Ìرð¶ÔÓÚÏñÎÒÕâÑùÍêȫûÓнӴ¥¹ýajaxµÄ²ËÄñÁË£¨¸Õ¿ªÊ¼Á¬updatepanelÔÚÄÄ£¬ÔõôÌí¼Ó¶¼²»ÖªµÀ£¿£©¡£ºÇºÇ·Ñ»°ÒÑ˵Á˺ܶàÁË£¬½ÓÏÂÀ´ÎÒÀ´ËµËµÎÒµÄÕû¸ö¹ý³Ì.
      1¡¢°²×°Ajax×é¼þ(ÕâÑù×î¼òµ¥·½±ã)¡£ÔÚ°Ù¶ÈÊäÈë(ASP.NET AJAX 1.0 ÏÂÔØ)¼´¿ÉÕÒµ½ÐèÒªÏÂÔصÄÈí¼þ¡£
         °²×°ºó½«X:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 Ajax Extensions\v1.0.61025
Ŀ¼ÏµÄSystem.Web.Extensions.Design.dllÎļþ¼Óµ½ÏîÄ¿µÄbinĿ¼Ï£¬Îļþ¸´ÖƵ½ÍøÕ¾binĿ¼
         °²×°ÁËasp.net Ajaxºó»áÓÐÈý¸ödllÎļþ
                                     System.Web.Extensions.Design.dll
                                     AjaxExtensionsToolbox.dll
                                     System.Web.Extensions.dll
         Ò»°ãÓ¦¸Ã½«ÕâÈý¸öÎļþ¶¼Ìí¼Óµ½ÏîÄ¿µÄbinÄ¿


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

asp.net ²Ù×÷xmlÎļþ

using System.Xml;//Í·²¿¼Ó´ËÃüÃû¿Õ¼ä
        XmlDocument xd = new XmlDocument();//±íʾXMLÎĵµ
        XmlDeclaration xde;//±íʾ XML ÉùÃ÷½Úµã£º<?xml version='1.0'...?>
        xde = xd.Cre ......

asp.net±éÀú¿Ø¼þ

1¡¢ÔÚÒ³Ã涯̬Ìí¼ÓÒ»¸ö¿Ø¼þµÄ·½·¨¡£       ÔÚÒ³ÃæµÄ HTML ´úÂëÉÏÉèÖÃÒ»¸ö asp:PlaceHolder  վλ¿Ø¼þ£¬µ±Ò³Ãæ±»¼ÓÔصÄʱºò£¬ÔÚÕâ¸ö PlaceHolder ¿Ø¼þÉÏÌí¼ÓËùÐèÒªµÄÆäËû¿Ø¼þ¡£
<asp:PlaceHolder runat="server" id="PutLabelHere" />  Sub Page_Load(sender as Object, e ......

ASP.NET


ObjectDataSource ¿Ø¼þ»ùÓÚ SelectMethod¡¢InsertMethod¡¢UpdateMethod »ò DeleteMethod ÊôÐÔÖÐËù±êʶµÄ·½·¨Ãû³ÆÒÔ¼°×é³ÉÒµÎñ¶ÔÏó·½·¨Ç©ÃûµÄ²ÎÊýÃûÀ´µ÷ÓÃÒµÎñ¶ÔÏó·½·¨¡£ÔÚÒµÎñ¶ÔÏóÖд´½¨·½·¨Ê±£¬±ØÐëÈ·±£ÒµÎñ¶ÔÏó·½·¨Ëù½ÓÊܵIJÎÊýÃûºÍÀàÐÍÓë ObjectDataSource ¿Ø¼þ´«µÝµÄ²ÎÊýÃûºÍÀàÐÍÆ¥Åä¡££¨²ÎÊý˳Ðò²¢²»ÖØÒª¡££©
  ......

asp.net(vs2005)ʹÓÃupdatepanel¿Ø¼þÏê½â

     ×î½ü×öÒ»¸öÍøÕ¾£¬ÀïÃæÉæ¼°µ½¼¶ÁªµÄÎÊÌ⣨ÈçÊ¡-ÊУ¬Æ·ÅÆ-ÐͺŵÈ), ÎÒÓõÄÊÇDropDownListÀ´ÊµÏֵģ¬ÉèÖø¸¼¶µÄAutoPostBackÊôÐÔΪÕæ.È»ºóÔÚËüµÄSelectedIndexChanged()ʼþÀïдÏàÓ¦µÄ´úÂ룬ÕâÑù¾ÍÄÜʵÏÖ¼¶Áª¹Øϵ£¨µ±È»ÕâÀïҪעÒâIsPostBackµÄÎÊÌ⣩.  ×öºÃÖ®ºóÓÃʱ·¢ÏÖÒ»¸ö·Ç³£²»Ë¬µÄÎÊÌ⣬ÄǾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ