ÈçºÎѧϰ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¼¼ÊõµÄ»ù´¡¡£
µ±È»£¬Õⲿ·Ö¼¼Êõ£¬Ò²¿ÉÒÔÔÚʵ¼ùÖÐÖð²½ÕÆÎÕÌá¸ß£¬ÏÈÁ˽⼴¿É¡£
µÚÈý²½£ºÑ§Ï°¼ÆËã»úÍøÂçÔÀí
ÕÒÒ»±¾´óѧ¡¶¼ÆËã»úÍøÂç¡·½Ì²Ä£¬Öص㿴¿´Ëü
Ïà¹ØÎĵµ£º
//private string datapatch = ConfigurationSettings.AppSettings["acessconn"];//Êý¾Ý¿âµØÖ·
private string datapatch = "db/global.asa";//Êý¾Ý¿âµØÖ·
///
/// È¡µÃdataset
//
/// ²éѯÓï¾ä
///
public DataSet GetDataSet(string Commandtext)
{&nbs ......
1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±ÕÊ ......
´Ë´¦ÌṩµÄ´úÂëÓÃÀ´ÊµÏÖµ±asp.netÒ³ÃæÖеÄij¸öButton±»µã»÷ºódisableµô¸ÃÒ³ÃæÖÐËùÓеÄButton£¬´Ó¶ø·ÀÖ¹Ìá½»ÑÓʱµ¼ÖµĶà´ÎÌá½»¡£»ùÓÚ֮ǰµÄonceclickbutton½Å±¾.
//ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂë:javascript< script language="javascript"> < !-- function disableOtherSubmit() {
var o ......
ASP.NETÉú³ÉËæ»úÃÜÂë
ÔÚ¿ª·¢ÐèÒªÓû§×¢²áºó²ÅÄÜʹÓÃÌṩµÄ¸÷ÏÄܵÄÓ¦ÓóÌÐòʱ£¬ÔÚÐÂÓû§Ìá½»×¢²áÐÅÏ¢ºó£¬½Ï³£¼ûµÄ×ö·¨ÊÇÓɳÌÐòÉú³ÉËæ»úÃÜÂ룬Ȼºó·¢ËÍÃÜÂëµ½Óû§×¢²áʱÌîдµÄµç×ÓÐÅÏ䣬Óû§ÔÙÓÃÊÕµ½µÄÃÜÂëÀ´¼¤»îÆäÕÊ»§¡£
ʵÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
publicstaticstring ......
asp.netºÍajaxδ²¶»ñÒì³£´¦Àí»úÖÆ
ÕâÀïµÄÒì³£´¦ÀíÖ÷ÒªÊÇÖ¸¿ª·¢ÈËÔ±ÔÚÒµÎñ´úÂëÖÐδ²¶»ñµÄÒì³£¡£Î´²¶»ñÒì³£´¦ÀíµÄÄ¿µÄ£º
1£ºÔÚÓ¦ÓóÌÐòÓò¼¶±ð¶ÔÒì³£ÀàÐͽøÐд¦Àí£»
2£ºÔÚ´¦ÀíµÄ»ù´¡ÉÏ£¬¿ÉÒÔ½«´íÎóÐÅÏ¢¼Ç¼ÈÕÖ¾£»
3£ºÒÔÓѺõķ½Ê½Ìáʾ×îÖÕÓà ......