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

asp.net¿Ø¼þ¿ª·¢(Èý)£º´¦Àí±êÇ©¼äÄÚÈÝ

asp.net½Ì³Ì:asp.net¿Ø¼þ¿ª·¢(Èý)£º´¦Àí±êÇ©¼äÄÚÈÝ
asp.net¿Ø¼þ±êÇ©¼äµÄÄÚÈÝÓеÄʱºò´¦Àí³É½ÚµãÓеÄʱºò´¦Àí³É×ӿؼþ¡£È磺¼äµÄ½Úµã¾Í»á´¦Àí³ÉÊôÐÔTextµÄÖµ£¬¶øÈçPanelÕâÑùµÄ¿Ø¼þÔò¾ÍÊǽ«Æä´¦Àí³É×ӿؼþ¡£Ê×ÏÈ¿´ÈçºÎ´¦Àí³ÉÊôÐԵġ£
¡¡¡¡Ò»¡¢´¦Àí³ÉΪÊôÐÔ
¡¡¡¡¶ÔÓڿؼþ±êÇ©¼äµÄÄÚÈÝÎÒÃÇ¿ÉÒÔͨ¹ýÀàSystem.Web.UI.ParseChildrenAttributeÀà¿ØÖƿؼþ¶ÔÆäÄÚÈݵĽâÎöÐÐΪ¡£
¡¡¡¡ParseChildrenAttributeÊÇÒ»¸öÀ༶±ðµÄÊôÐÔ±êʶ£¬ÓÐËĸö¹¹Ô캯Êý£º
¡¡¡¡1.ParseChildrenAttribute(),ChildrenAsPropertiesÊôÐÔÉèÖÃΪfalse,¾ÍÊDz»½âÎö³É¿Ø¼þ¡£
¡¡¡¡2.ParseChildrenAttribute(Boolean),Ö¸¶¨½âÎö³É¿Ø¼þÊôÐÔ¡£
¡¡¡¡3.ParseChildrenAttribute(Type),¿Ø¼þ±êÇ©ÖеÄÄÚÈݽâÎö³É¿Ø¼þTypeÀàÐ͵Ŀؼþ¡£
¡¡¡¡4.ParseChildrenAttribute(Boolean,String)Ö¸¶¨ChildrenAsPropertiesµÄÖµ£¬Í¬Ê±Ö¸¶¨Ä¬ÈϽâÎöµÄÊôÐÔ(DefaultProperty)¡£
¡¡¡¡Ä¬ÈÏÇé¿öÏ£¬Control½«ÄÚÈݽâÎö³É×ӿؼþ£¬¶øWebControlÒòΪ¿ÉÒÔ±êʶÁË[ParseChildren(true,"Text")],ËùÒÔĬÈϽâÎöΪÊôÐÔ.¶ÔÓÚ¼òµ¥µÄÊôÐÔÈçTextBox,Ö»ÐèÒª±íʾΪ[ParseChildren(true,"Text"),DefaultProperty("Text")]¼´¿É£¬¶ø¶ÔÓÚDropDownList¿Ø¼þµÄItemsÊôÐÔ£¬Èç¹ûÖ»ÊDZêʶÁË[ParseChildren(true,"Item"),DefaultProperty("Items")]£¬ÄÇôItemsÄÚ²¿ÈçºÎ½âÎöÄØ£¿ËùÒԿ϶¨Òª¸æËßÊôÐÔ¶ÔÓ¦µÄ½âÎö·½Ê½¡£
¡¡¡¡System.Web.UI.PersistenceModeAttributeÓÃÓÚ¿ØÖƿؼþÊôÐԵı£´æ·½Ê½¡£½ÓÊյIJÎÊýΪPersistenceModeö¾ÙµÄÖµ£¬¹²ËÄÖÖÀàÐÍ£º
¡¡¡¡¡ôAttribute:Ö¸¶¨ÊôÐÔ (Property) »òʼþ±£³ÖΪÊôÐÔ (Attribute);
¡¡¡¡¡ôEncodedInnerDefaultProperty:Ö¸¶¨ÊôÐÔ×÷Ϊ ASP.NET ·þÎñÆ÷¿Ø¼þµÄΨһÄÚ²¿Îı¾¶ø½øÐб£³Ö¡£ÊôÐÔÖµÊÇ HTML ±àÂëµÄ¡£Ö»ÄܶÔ×Ö·û´®×öÕâÖÖÖ¸¶¨;
¡¡¡¡¡ôInnerDefaultProperty:Ö¸¶¨ÊôÐÔÔÚ ASP.NET ·þÎñÆ÷¿Ø¼þÖб£³ÖΪÄÚ²¿Îı¾¡£»¹Ö¸Ê¾½«¸ÃÊôÐÔ¶¨ÒåΪԪËصÄĬÈÏÊôÐÔ¡£Ö»ÄÜÖ¸¶¨Ò»¸öÊôÐÔΪĬÈÏÊôÐÔ;
¡¡¡¡¡ôInnerProperty:Ö¸¶¨ÊôÐÔÔÚ ASP.NET ·þÎñÆ÷¿Ø¼þÖб£³ÖΪǶÌ×±ê¼Ç¡£Õâͨ³£ÓÃÓÚ¸´ÔÓ¶ÔÏó£¬ËüÃǾßÓÐ×Ô¼ºµÄ³Ö¾ÃÐÔÊôÐÔ¡£
¡¡¡¡ËùÒÔÎÒÃÇ¿ÉÒÔ¿´µ½DropDownListµÄItemsÊôÐÔÉϵıêʶΪ:[PersistenceMode(PersistenceMode.InnerProperty)],È»ºóÔÚListItemµÄTextÊôÐÔÉϱêʶΪ[PersistenceMode[PersistenceMode.EncodedInnerDefaultProperty]]¡£½âÊÍÏ£¬ÒòΪItemsÊôÐÔΪ¸´ÔÓÊôÐÔ£¬´æÔÚ±êÇ©µÄǶÌ×£¬ËùÒÔÎÒÃÇ¿ÉÒԿ϶¨µÄÊDZêʶÀàÐÍΪInnerPrope


Ïà¹ØÎĵµ£º

asp.net³¬Ê±ÎÊÌâ̽ÌÖ

Ç°Õó×Ó¿ª·¢µÄÒ»¸öÏîÄ¿³ÌÐòÖУ¬×ÜÊÇ´æÔÚ³¬Ê±ÎÊÌ⣬ÎÒÔÚiisºÍweb.configÖж¼ÅäÖÃÁ˳¬Ê±Îª120·ÖÖÓ£¬µ«ÊǾ­³£ÊDz»µ½40·ÖÖӾͳ¬Ê±ÁË£¬ºÜÊÇ·³ÈËÈ´¿àÓÚһֱûÓÐÕÒµ½±È½ÏºÃµÄÒ»ÖÖ·½°¸£¬ºóÀ´²éѯÁËÐí¶àÏà¹ØµÄ×ÊÁϲÅÕÒµ½Ò»¸ö¿ÉÒÔʵʩµÄ·½°¸¡£
ÕâÀïÖ÷Òª½²ÊöÒ»ÏÂweb.config¹ØÓÚsessionState½ÚµãµÄÅäÖ÷½°¸£¬sessionStateÓÐËÄÖÖģʽ£ºof ......

asp.netΪɶҪÒýÓÃconfigSections?

ÒòΪÓû§µÄһЩ¶ÔÏó, ¿ÉÄÜÔÚconfigÀï½øÐÐÅäÖÃ, µ«ÊÇconfigÔõôÄÜËæ±ãÈÃÄãÌí¼Ó×Ô¼ºµÄ½ÚµãÄØ! ²»ÐÐÄã×Ô¼ºÊÔÊÔ, ÔÚÈκÎλÖÃÌí¼ÓÈκÎûÓÐÉêÃ÷µÄ½Úµã, ϵͳ¶¼²»»áÈÃÄãͨ¹ý, ¸ü²»»áÈÃÄãÈ¥¶ÁËüÁË, µ±È», Äã´òËãÔÚ±ðµÄxmlÎļþÀïÌí¼Ó½Úµã, È»ºó¶Á³öÀ´, ´´½¨¶ÔÏó, Õâ¸öûÎÊÌâ. ΪÁËϵͳÄÜÓÐ×éÖ¯µÄ¹ÜÀíÓû§µÄÔÚÅäÖÃÎļþÀïµÄ×Ô¶¨ÒåÐÅÏ¢ ......

asp.netÎÊÌ⣬Çë½Ì£¬¼±£¡£¡£¡

asp.net  »ùÓÚvb¡£net±à³ÌÓïÑÔ   sqlÊý¾Ý¿â
±í1                                         ......

¸øasp.net ÍøÒ³Ìí¼Ó±êÌâ¡¢¹Ø¼ü×Ö¡¢ÃèÊö±¾ÎÄ

ÔÚÍøÒ³µÄ¿ª·¢ÖÐΪÁËËÑË÷ÒýÇæµÄÓÅ»¯£¬Ìí¼ÓÒ³ÃæµÄtitle
keyword descriptionÊÇ×î³£Óõķ½·¨Ö®Ò»¡£
asp.netµÄ·½·¨´úÂëÈçÏÂËùʾ£º
 
 
 
 
 
public void SEO_HEAD(string title, string keyword, string
description)
 
 
 
 
 
 
 
{
  ......

asp.netÖÐ×öÊÓƵת»»£¬½«¸÷ÖÖÊÓƵÎļþת»»³É.flv¸ñʽ

asp.netÖÐ×öÊÓƵת»»£¬½«¸÷ÖÖÊÓƵÎļþת»»³É.flv¸ñʽ ×öÒ»¸öÊÓƵת»»µÄDemo,ÏÖÔÚ³öÏֺܵÄÍøÉÏÔÚÏßÊÓƵÆäÎļþ¸ñʽ¶¼ÊÇ.FLV¸ñʽ£¬ÄÇЩÊÓƵÍøÕ¾´ó¸ÅÒ²ÓÐÒ»¸öÊÓƵת»»Èí¼þ£¬ËùÎÒÔÚÒ²ÊÔ×ÅÈ¥×öÁËÒ»¸ödemoÄóöÀ´ºÍ´ó¼Ò¹²Ïíһϣ¬ÓÉÓÚ×Ô¼ºµÄ¼¼ÊõÓÐÏÞ£¬×öµÄ²»ÔõôÑù£¬Ô¸ÓиßÈË¿´Íê¸ø
ÔÚÏÂÖ¸µãÒ»¶þ. ºÇ....¡¡·Ñ»°²»¶à˵ÁË£¬ÏÂÃæÀ´·Ö½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ