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

ASP.NET


      ÔÚÐí¶àÓ¦ÓóÌÐòÖУ¬ÐèÒª´æ´¢²¢Ê¹ÓöÔÓû§Î¨Ò»µÄÐÅÏ¢¡£Óû§·ÃÎÊÕ¾µãʱ£¬Äú¿ÉÒÔʹÓÃÒÑ´æ´¢µÄÐÅÏ¢ÏòÓû§ÏÔʾ Web Ó¦ÓóÌÐòµÄ¸öÐÔ»¯°æ±¾¡£¸öÐÔ»¯Ó¦ÓóÌÐòÐèÒª´óÁ¿µÄÔªËØ£º±ØÐëʹÓÃΨһµÄÓû§±êʶ·û´æ´¢ÐÅÏ¢£¬Äܹ»ÔÚÓû§ÔٴηÃÎÊʱʶ±ðÓû§£¬È»ºó¸ù¾ÝÐèÒª»ñÈ¡Óû§ÐÅÏ¢¡£ÈôÒª¼ò»¯Ó¦ÓóÌÐò£¬¿ÉÒÔʹÓà ASP.NET ÅäÖÃÎļþ¹¦ÄÜ£¬¸Ã¹¦ÄÜ¿ÉΪÄúÖ´ÐÐËùÓÐÉÏÊöÈÎÎñ¡£
ASP.NET ÅäÖÃÎļþ¹¦Äܽ«ÐÅÏ¢Óëµ¥¸öÓû§¹ØÁª£¬²¢²ÉÓó־ÃÐԵĸñʽ´æ´¢ÕâЩÐÅÏ¢¡£Í¨¹ýÅäÖÃÎļþ£¬¿ÉÒÔ¹ÜÀíÓû§ÐÅÏ¢£¬¶øÎÞÐè´´½¨ºÍά»¤×Ô¼ºµÄÊý¾Ý¿â¡£´ËÍ⣬ͨ¹ýʹÓÿɴÓÓ¦ÓóÌÐòÖеÄÈκÎλÖ÷ÃÎʵÄÇ¿ÀàÐÍ API£¬¾Í¿ÉÒÔ½èÖú ASP.NET ÅäÖÃÎļþ¹¦ÄÜʹÓÃÏà¹ØµÄÓû§ÐÅÏ¢¡£
¿ÉÒÔʹÓÃÅäÖÃÎļþ´æ´¢ÈκÎÀàÐ͵ĶÔÏó¡£ÅäÖÃÎļþ¹¦ÄÜÌṩÁËÒ»ÏîͨÓô洢¹¦ÄÜ£¬Ê¹ÄúÄܹ»¶¨ÒåºÍά»¤¼¸ºõÈκÎÀàÐ͵ÄÊý¾Ý£¬Í¬Ê±ÈÔ¿ÉÓÃÀàÐͰ²È«µÄ·½Ê½Ê¹ÓÃÊý¾Ý¡£
 
1¡¢ASP.NET ÅäÖÃÎļþµÄ¹¤×÷·½Ê½
ÈôҪʹÓÃÅäÖÃÎļþ£¬Ê×ÏÈӦͨ¹ýÐÞ¸Ä ASP.NET Web Ó¦ÓóÌÐòµÄÅäÖÃÎļþÀ´ÆôÓÃÅäÖÃÎļþ¡£ÒªÔÚÅäÖÃÖÐÖ¸¶¨ÅäÖÃÎļþÌṩ³ÌÐò£¬¸ÃÌṩ³ÌÐòÊÇÖ´Ðд洢ºÍ¼ìË÷ÅäÖÃÎļþÊý¾ÝµÈµÍ¼¶ÈÎÎñµÄ»ù´¡Àà¡£¿ÉÒÔʹÓà .NET Framework ÖаüÀ¨µÄÅäÖÃÎļþÌṩ³ÌÐò£¨»á½«ÅäÖÃÎļþÊý¾Ý´æ´¢ÔÚ SQL Server ÖУ©£¬Ò²¿ÉÒÔ°´ÕÕ ÊµÏÖÅäÖÃÎļþÌṩ³ÌÐò Ö÷ÌâÖÐÃèÊöµÄÄÇÑù´´½¨²¢Ê¹ÓÃ×Ô¼ºµÄÅäÖÃÎļþÌṩ³ÌÐò¡£¿ÉÒÔÖ¸¶¨Á¬½Óµ½ËùÑ¡µÄÊý¾Ý¿âµÄ SqlProfileProvider ʵÀý£¬Ò²¿ÉÒÔʹÓý«ÅäÖÃÎļþÊý¾Ý´æ´¢ÔÚ±¾µØ Web ·þÎñÆ÷ÉϵÄĬÈÏ SqlProfileProvider ʵÀý¡£
ͨ¹ý¶¨ÒåҪά»¤ÆäÖµµÄÊôÐÔµÄÁÐ±í£¬¿ÉÒÔ¶ÔÅäÖÃÎļþ¹¦ÄܽøÐÐÅäÖá£ÀýÈ磬Äú¿ÉÄÜÐèÒª´æ´¢Óû§µÄÓÊÕþ±àÂ룬ÒÔʹÄúµÄÓ¦ÓóÌÐò¿ÉÒÔÌá¹©ÌØ¶¨ÓÚÇøÓòµÄÐÅÏ¢£¬ÈçÌìÆøÔ¤±¨µÈ¡£ÔÚÅäÖÃÎļþÖУ¬Ó¦¶¨ÒåÒ»¸öÃûΪ PostalCode µÄÅäÖÃÎļþÊôÐÔ¡£ÅäÖÃÎļþµÄ profile ½ÚÓëÈçÏÂËùʾÀàËÆ£º
<profile>
  <properties>
    <add name="PostalCode" />
  </properties>
</profile>
      Ó¦ÓóÌÐòÔËÐÐʱ£¬ASP.NET »á´´½¨Ò»¸ö ProfileCommon À࣬¸ÃÀàÊÇÒ»¸ö¶¯Ì¬Éú³ÉµÄÀ࣬´Ó ProfileBase Àà¼Ì³Ð¶øÀ´¡£¶¯Ì¬µÄ ProfileCommon Àà°üÀ¨¸ù¾ÝÔÚÓ¦ÓóÌÐòÅäÖÃÖÐÖ¸¶¨µÄÅäÖÃÎļþÊôÐÔ¶¨Òå´´½¨µÄÊôÐÔ¡£È»ºó£¬»á½«´Ë¶¯Ì¬ ProfileCommon ÀàµÄʵÀýÉèÖÃΪµ±Ç° HttpContext µÄ Profile ÊôÐÔµÄÖµ£¬²¢ÇÒ¿ÉÔÚÓ¦ÓóÌÐòµÄÒ³ÖÐʹÓá£
ÔÚÓ¦ÓóÌÐòÖÐ


Ïà¹ØÎĵµ£º

ASP.NETÌí¼ÓwebserviceÒýÓò¢²¿Êðµ½·þÎñÆ÷

¼òµ¥¾ÍÏÂÔÚ.NET¿ª·¢ÍøÕ¾ÖÐÒýÓÃwebservice²¢ÇÒ·¢²¼µ½·þÎñÆ÷µÄ×ö·¨£¬ÕâÀï²»½ØÍ¼ÁË¡£
1¡¢ÔÚÍøÕ¾ÏîÄ¿ÉÏ£¬ÓÒ¼ü-->Ìí¼ÓwebÒýÓà £¬½«webÒýÓõĵØÖ·Õ³Ìù£¬ÀýÈç http://192.168.14.222:6666/IbeBaseWebServicePublicWeb/IbeJourneyOdd.asmx
2¡¢¸øwebserviceÆð±ðÃû£¬Ò²¾ÍÊÇÒÔºóÄãµ÷ÓõÄÃüÃû¿Õ¼ä  ÀýÈçIbeJourneyOdd
ÕâÑùÔ ......

ʲôÊÇAsp.NetÓ¦ÓóÌÐò

 ASP.NET defines an application as the sum of all files, pages, handlers, modules, and executable code that can be invoked or run in the scope of a given virtual directory (and its subdirectories) on a Web application server. For example, an "order" application might be published in the "/order ......

ASP.NET2.0Á¬½ÓORACLE½â¾ö·½°¸

½çÃæ: Default.aspx
 
½çÃæÉÏÌí¼ÓµÄ¿Ø¼þ:
Á½¸öTextBox: tEmail(ÓÃÓÚÊäÈëÓû§email),tPassword(ÓÃÓÚÊäÈë×¢²áÃÜÂë)
Ò»¸öButton: bReg
Ò»¸öLabel: lLable(ÓÃÓÚ×¢²á³É¹¦ºóÏÔʾӦ´ð)
DemoµÄ´úÂë: Default.aspx.cs
ÎÒÃÇÏȰÑÊý¾ÝµÄÁ¬½Ó×Ö·û´®Ð´ÔÚWeb.configÀï:
<appSettings>
<add key="oracleconn" value= ......

ASP.netÖеÄAJAXѧϰ¼Ç¼

 ½ñÌìÎÒÖ÷ҪѧϰÁËUpdateModeÊôÐÔ¼°Ê¹ÓÃUpdateTriggers£¬°ÑÊéÖÐËù½ÌÊÚµÄÄÚÈÝÓöà¸öÀý×Óʵ¼ùÁËһϣ¬È·ÊµÃ÷°×ÁËÐí¶à¡£
  UpdateMode
      Ê×ÏÈÔÚÉÏһƪҲÌáµ½¹ýÕâÑùÒ»¸öÀíÂÛ£ºÔÚ̸ÂÛUpdatePanel¿Ø¼þµÄË¢ÐÂʱ£¬µ±UpdatePanel¿Ø¼þÖеÄ×ӿؼþ´¥·¢Async-Postback¶¯×÷ʱ£¬Ë¢ÐµÄÇøÓòÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ