ÈçºÎѧϰASP.net¼¼Êõ
Íê³ÉÈκÎÒ»¸öÊÂÇ飬Ŀ±êºÍÁ÷³ÌÊÇÎÒÃÇÊ×ÏÈÒªÇåÎúµÄ¡£
ѧϰASP.net¼¼ÊõÒ²ÊÇÕâÑù£¬
ÎÒÕâÀï°ÑASP.netÍêÈ«ÕÆÎÕÐèÒªµÄÒ»¸öÍƼöѧϰÁ÷³Ì¸æËß´ó¼Ò¡£
´ó¼Ò¿ÉÒԲο¼Ò»Ï£¬ÓÐЩ²»Ò»¶¨ÒªÍêÈ«ÕÆÎÕ£¬µ«Ò»¶¨ÒªÁ˽âÁ˽⡣
µÈÓÐÁ˺ÏÀíµÄ֪ʶ½á¹¹£¬ÔÙÀ´ÕûÌåÌá¸ß£¬ÓÐʱºò£¬¿ÉÒÔÈÚ»ã¹áͨ£¬Ð§¹û¸üºÃ¡£
ÓÐɶѧϰÉϵÄÎÊÌ⣬¿ÉÒÔ·¢ÈºÓʼþÎÊ˹ÇÙ°ÍͼÀÏʦ£¬Ëû»áÔÚÓпյÄʱºò£¬¸ø´ó¼Ò»Ø¡£
ÃæÏò¶ÔÏó£¨OO£©»ù´¡
µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C££×îºÃ¡£
µ±È»£¬²»ÒªÇóÄãÄܱàдºÜ¸ßÉîµÄ³ÌÐò£¬¼òµ¥µÄ¼´¿É£¬ºóÃæÖð²½Ìá¸ßÒ²¿ÉÒÔ¡£
Ç¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó£¨OO£©ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥£¡
µÚ¶þ²½¡¡Á˽â.NET FrameworkÀà¿â
¿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓóÌÐòÀ´Ñ§Ï°.NET Framework¡£ASP.NETÊǽ¨¹¹ÔÚ.NET FrameworkÖ®Éϵļ¼Êõ£¬¶Ô.NET FrameworkÁ˽âµÃÔ½ÉѧϰASP.NET¾ÍÔ½¿ì¡£
¾Ù¸öÀý×Ó£ºÏÂÃæ¼òµ¥Áгö¼¸¸ö¶ÔÕÆÎÕASP.NET·Ç³£ÖØÒªµÄ¸ÅÄ
¶ÔÏóµÄÄÚ´æÄ£ÐÍ£¬Î¯ÍУ¬Ê¼þ£¬¶àỊ̈߳¬³ÌÐò¼¯ºÍÓ¦ÓóÌÐòÓò£¬°²È«Ä£Ð͵ȣ»
.NET Frameworkµ±È»»¹ÓÐÐí¶àÆäËüµÄ¶«Î÷£¬µ«²»Àí½âÓë°ÑÎÕÇå³þÉÏÊöÕâЩ¶«Î÷£¬ÊǺÜÄÑÕæÕý°ÑÎÕASP.NETµÄ¡£ ³öÓÚ¼±ÆȵÄÐÄÇéÓëÏÖʵµÄ¿¼ÂÇ£¬²»ÉÙÈËûÓÐÔúʵµÄÃæÏò¶ÔÏó»ù´¡¾ÍÏëÖ±½ÓѧϰASP.NET£¬Æä½á¹ûÖ»ÄÜÊÇÓûËÙÔò²»´ï¡£
µ±È»£¬ÕâЩ¸ÅÄ»¹ÐèÒªÎÒÃDz»¶Ï×ÁÄ¥£¬¼ÓÉîÀí½â¡£
ѧϰASP.NET¼¼Êõ
¾ß±¸£¨OO£©»ù´¡Ö®ºó£¬ÒÔÏÂÊǾßÌåµÄ²½Ö裺
µÚÒ»²½£ºÑ§Ï°HTMLÓëCSS
Õâ²¢²»ÐèҪȥѧһ´ó¶ÑµÄÖîÈçDreamweaver£¬FireworkÖ®ÀàµÄ¸÷ÖÖÍøÒ³Éè¼Æ¹¤¾ß£¬¹Ø¼üÊÇÀí½âHTMLÍøҳǶÌ×µÄblock½á¹¹ÓëCSSµÄboxÄ£ÐÍ¡£Ðí¶àASP.NET¿Ø¼þ×îºó¶¼±ØÐëת»¯ÎªHTML¡£¶øÇÒ£¬(div+css)Êǵ±Ç°Ö÷Á÷µÄÍøÒ³²¼¾ÖÄ£ÐÍ¡£ ѧϰÕⲿ·Öʱ£¬¹Ø¼üÔÚÓÚÀí½â¸ÅÄ¶ø²»ÐèÒª½«¾«Á¦»¨ÔÚÃÀ»¯Ò³ÃæµÄÐí¶à¼¼ÇÉÉÏ£¬ÄÇÊÇÍøÕ¾ÃÀ¹¤µÄ¹¤×÷£¬²»ÊdzÌÐòÔ±µÄ¹¤×÷¡£
µÚ¶þ²½£ºÑ§Ï°JavaScript
JavaScript²»ÊÇJava£¬ËüÖ÷ÒªÔËÐÐÓÚä¯ÀÀÆ÷¶Ë¡£¿ÉÒÔÍê³ÉÐí¶à¹¤×÷£¬¹¦ÄÜÒ²ºÜÇ¿´ó£º±ÈÈçËü½«¿Í»§¶ËÍøÒ³ÖеÄHTMLÔªËØ¿´³ÉÒ»¿ÃÊ÷£¬¿ÉÒÔ±àд´úÂë·ÃÎʲ¢ÐÞ¸ÄÊ÷½Úµã£¬¶¯Ì¬Éú³ÉеÄHTML´úÂ룬´Ó¶ø´ïµ½¶¯Ì¬ÐÞ¸ÄÍøÒ³ÏÔʾÌØÐÔµÄÄ¿µÄ¡£
JavaScriptÔÚÄ¿Ç°µÄÍøÕ¾¿ª·¢ÖÐÓõúܶ࣬·Ç³£ÖØÒª¡£
ÁíÍ⣬ËüÒ²ÊÇÄ¿Ç°·Ç³£Á÷ÐеÄAJAX¼¼ÊõµÄ»ù´¡¡£
µ±È»£¬Õⲿ·Ö¼¼Êõ£¬Ò²¿ÉÒÔÔÚʵ¼ùÖÐÖð²½ÕÆÎÕÌá¸ß£¬ÏÈÁ˽⼴¿É¡£
µÚÈý²½£ºÑ§Ï°¼ÆËã»úÍøÂçÔÀí
ÕÒÒ»±¾´óѧ¡¶¼ÆËã»úÍøÂç¡·½Ì²Ä£¬Öص㿴¿´Ëü
Ïà¹ØÎĵµ£º
FormExtensionsÀà
FormExtensionsÀàÊÇÒ»¸ö¾²Ì¬À࣬¶¨ÒåÁË3ÖÖÀàÐ͵ÄÀ©Õ¹·½·¨£ºBeginForm¡¢BeginRouteForm¡¢EndForm£»ÔÚʵ¼Ê¿ª·¢ÖУ¬Ò²¿ÉÒÔʹÓÃusingÓï¾ä£¬¶ø²»ÐèҪдEndFormÀ©Õ¹·½·¨¡£
InputExtensionsÀà
InputExtensionsÀඨÒåÁË5ÖÖÀàÐ͵ÄÀ©Õ¹·½·¨£ºCheckBox,Hidden,Password,RadioButton,TextBox.
<field ......
Ò»¡¢ÈÏʶWeb.configÎļþ
Web.config ÎļþÊÇÒ»¸öXMLÎı¾Îļþ£¬ËüÓÃÀ´´¢´æ ASP.NET Web Ó¦ÓóÌÐòµÄÅäÖÃÐÅÏ¢£¨Èç×î³£ÓõÄÉèÖÃASP.NET Web Ó¦ÓóÌÐòµÄÉí·ÝÑéÖ¤·½Ê½£©£¬Ëü¿ÉÒÔ³öÏÖÔÚÓ¦ÓóÌÐòµÄÿһ¸öĿ¼ÖС£µ±Äãͨ¹ý.NETн¨Ò»¸öWebÓ¦ÓóÌÐòºó£¬Ä¬ÈÏÇé¿öÏ»áÔÚ¸ùĿ¼×Ô¶¯´´½¨Ò»¸öĬÈϵÄWeb.configÎļþ£¬°üÀ¨Ä¬ÈϵÄÅäÖÃÉèÖã ......
³ÌÐò´úÂë
public static string GetRealIP()
{
string ip;
try
{
HttpRequest request = HttpContext.Current.Request;
if (request.ServerVariables["HTTP_VIA"] != null)
{
ip = request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString().Split(',')[0].Trim();
}
else
{
ip = requ ......
´Ë´¦ÌṩµÄ´úÂëÓÃÀ´ÊµÏÖµ±asp.netÒ³ÃæÖеÄij¸öButton±»µã»÷ºódisableµô¸ÃÒ³ÃæÖÐËùÓеÄButton£¬´Ó¶ø·ÀÖ¹Ìá½»ÑÓʱµ¼ÖµĶà´ÎÌá½»¡£»ùÓÚ֮ǰµÄonceclickbutton½Å±¾.
//ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂë:javascript< script language="javascript"> < !-- function disableOtherSubmit() {
var o ......