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

¿ª·¢asp.net×Ô¶¨Òå¿Ø¼þ

ѧϰ×Ô¶¨Òå¿Ø¼þµÄ¿ª·¢²»½ö¿ÉÒÔʹÄ㿪·¢³ö¸üÁé»îµÄϵͳ¸üÖØÒªµÄÊÇËü¿ÉÒÔʹÄã¼ÓÉî¶ÔÒÑÓзþÎñÆ÷¿Ø¼þµÄÀí½â£¬µÃÒÔ¸üÁé»îµÄÓ¦Óá£
½ÏÖ®ÓÚasp£¬asp.netÌṩÁ˸üÇ¿´óµÄ¹¦ÄÜ£¬ÎұȽÏϲ»¶ËüµÄ´úÂë·ÖÀë¼¼ÊõºÍ¶ÔÖîÈçC#¡¢VB.NetµÈÇ¿ÀàÐÍÓïÑÔµÄʹÓã¬ÕâÊÇ´Ó¿ª·¢ÕߵĽǶÈÀ´¿´
µÄ£¬´ÓÓû§µÄ½Ç¶ÈÀ´¿´£¬»á¾õµÃËüËٶȸü¿ì£¬ÔËÐиüÎȶ¨£¬°²È«ÐÔÒ²¸ü¸ß¡£²»¹ÜÔõô˵£¬Ð¼¼ÊõµÄ²úÉú×Ü»áʹÐí¶àÈ˸е½¸ßÐË£¬²»¹ý¶Ô¿ª·¢ÕßÀ´Ëµ£¬»µÏûÏ¢ÊÇËûÃÇÐè
Ҫѧϰ¸ü¶àеÄ֪ʶ¡£
Asp.netÓÐÁ˺ܶàµÄ¸Ä±ä£¬±ÈÈçÄã¿ÉÄܻᷢÏÖ¹©ÎÒÃDzÙ×÷µÄÔªËØÒ²ºÍÒÔÇ°ÓÐÁ˺ܴóµÄ²»Í¬£¬Ô­À´±ê×¼µÄHTMLÔªËرä³ÉÁËÏÖÔڵķþÎñÆ÷¿Ø¼þ£¬Ëùν·þÎñÆ÷¿Ø
¼þ£¬¾ÍÊÇÔÚ·þÎñÆ÷ÉÏÔËÐУ¬²¢¿ÉÒÔÓ³Éäµ½ËùÓÐä¯ÀÀÆ÷Ö§³ÖµÄ±ê×¼ HTML ±ê¼ÇµÄ¿Ø¼þ£¬ÔÚÄãµÄweb´°ÌåÖУ¬·²ÊÇ°üº¬ runat="server"
ÊôÐÔÉùÃ÷µÄÔªËض¼½Ð×ö·þÎñÆ÷¿Ø¼þ£¨ÔÚVS.NetÖеÄÉè¼ÆÒ³ÃæÖУ¬ÓÃÒ»¸öССµÄÂÌÉ«¼ýÍ·±íʾ£©£¬Äã¿ÉÒÔÓÃÔ­ÓеÄHTMLÔªËز¢¼ÓÉÏ
runat=”server”ÊôÐÔʹÆä±äΪһ¸ö·þÎñÆ÷¿Ø¼þ£¬Õâ½Ð×öHtmlControls£¬Ëü¿ÉÒÔÖ±½ÓÓ³Éäµ½±ê×¼HTML±ê¼Ç£»Ò²¿ÉÒÔʹÓÃ.NetÌṩ
µÄȫеÄWebControls£¬Ëü±ÈÇ°Õ߸ü³éÏ󣬹¦ÄÜÒ²¸ü¼ÓÇ¿´ó¡£²»¹Ü²ÉÓÃÄÄÒ»Àà¿Ø¼þ£¬runat=”server”ÊôÐÔ¶¼½«»áʹÄã¿ÉÒÔÒÔ±à³Ì·½Ê½·ÃÎÊ
ÕâЩԪËØ¡£
ÕâºÜÈÝÒ×Àí½â£¬·þÎñÆ÷¿Ø¼þ¾ÍÊÇÔÚ·þÎñÆ÷¶ËÔËÐеĿؼþ£¬¾­¹ý·þÎñÆ÷¶ËijЩ³ÌÐòµÄ½âÎöÔÙÉú³É±ê×¼µÄHTML´úÂëÏÔʾÔÚÎÒÃǵÄä¯ÀÀÆ÷ÉÏ£¬ÊÂʵÉÏ£¬Web
FormÖ®ËùÒÔ¿ÉÒÔÌṩ×î´ó¿ÉÄܵÄä¯ÀÀÆ÷¼æÈÝÐÔÒ²ÊÇ»ùÓÚ´ËÀí¡£Óëͨ³£µÄÀí½âÉÔÉÔÓÐЩ²»Í¬£¬ÔÚasp.netÖÐ,Ò»¸öÒ³Ãæ(Page)£¬Ò»¸öÑéÖ¤¿Ø¼þ£¬Ò»¸ö
Óû§¿Ø¼þ(User
Control)£¬¶¼¿ÉÒÔ¿´×÷ÊÇÒ»¸ö¶ÀÁ¢µÄ¿Ø¼þ£¬ËüÀ´×ÔÓÚÆäËü¿Ø¼þµÄ×éºÏ¡£³ýÁËʹÓÃ.NetÌṩµÄһϵÁпؼþÍ⣬Ä㻹¿ÉÒÔµ½ÍøÉÏÕÒһЩÃâ·ÑµÄ¿Ø¼þ£¬
[url]www.asp.net[/url]ÖеÄControl GalleryÒ»À¸¾ÍÊÕ¼¯Á˺ܶೣÓõÄControl¡£
ÔÚasp.netÖУ¬(´«Í³ÒâÒåÉÏ)¿É¹©Ä㿪·¢µÄ¿Ø¼þʵ¼ÊÉÏÓÐÁ½ÖÖ£ºCustom Control ºÍ User Control¡£Custom
Control ÊÇ×ÝÏòµÄ£¬ÊǶÔϵͳ±¾Éí¿Ø¼þµÄ¼Ì³ÐºÍÀ©³ä£¬ÔÚ³ÌÐòÖÐÒÔDLLÎļþÐÎʽ´æÔÚ£¬User Control
ÔòÊǺáÏòµÄ£¬ÊǶÔϵͳ±¾Éí¿Ø¼þµÄ×éºÏ£¬ÔÚϵͳÖÐÒÔ.ascxΪºó׺Ãû¡£ÕâÁ½Öֿؼþ¹¦ÄÜÏàͬ£¬¶¼¿ÉÒÔΪ¿ª·¢ÈËÔ±Ìṩ¿É¸´ÓõĿÉÊÓ»¯UI×é¼þ£¬Ïà±ÈÖ®ÏÂÇ°Õß¾ß
Óиü´óµÄÁé»îÐÔ£¬Í¬Ê±¿ª·¢ÆðÀ´±È½Ï¸´ÔÓ£¬¶øºóÕßÈÝÒ׿ª·¢£¬µ«¿ÉÖØÓÃÐԾͱȽϲһ°ãÀ´ËµÓû§»áÏÈÓÃUser
ControlÀ´¿ª·¢£¬Ö»Óе±Æä²»¿°ÖØÓõÄʱºò²Åת¶øʹÓÃ


Ïà¹ØÎĵµ£º

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

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

ASP.NETÒ³Ãæˢз½·¨×ܽá


 ASP.NETÒ³Ãæˢз½·¨×ܽá
ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script lang ......

ASP.NETÒ³ÃæÖ®¼ä´«²Î

ASP.NETÌṩÁË׿ԽµÄʼþÇý¶¯±à³ÌÄ£ÐÍ£¬Èÿª·¢Õß¼ò»¯ÁËÓ¦ÓóÌÐòµÄ×ÜÌåÉè¼Æ£¬µ«ÊÇÕâ¸öÒ²Ôì³ÉÁËËü¹ÌÓеÄһЩÎÊÌ⣬ÀýÈ磬ʹÓô«Í³µÄASPÀÎÒÃÇ¿ÉÒÔͨ¹ýʹÓÃPOST·½·¨ºÜÈÝÒ×µØʵÏÖÒ³Ãæ¼ä´«µÝÖµ£¬Í¬ÑùµÄÊÂÇ飬ÔÚʹÓÃʼþÇý¶¯±à³ÌÄ£Ð͵ÄASP.NET¾Í²»ÊÇÄÇôÈÝÒ×ÁË£¬µ±È»ÁË£¬ÎÒÃÇÈÔÈ»ÓÐһЩ·½·¨¿ÉÒÔʵÏÖͬÑùµÄ¹¦ÄÜ¡£±¾ÎĽ«ÊÔ×ÅʹÓò ......

ÀûÓÃASP.NET¿ò¼ÜÖÆ×÷»ùÓÚ½ÇÉ«µÄ°²È«µÇ½

ÎÒ¿´ÁËÓкܶàÅóÓѶ¼ÔÚ³¢ÊÔд³ö´øÓеǽÕâÑù¹¦ÄܵÄÍøÕ¾£¬Æä·½·¨¼¸ºõ¶¼ÊÇÑéÖ¤Óû§µÄµÇ½ºÏ·¨£¬È»ºó·¢ËÍÒ»¸ö±íʾÑéÖ¤µÄCookie£¬»òÕßÔÚSessionÖб£´æÐÅÏ¢ÒÔ±ãÓÚ×·×Ù½ÓÏÂÀ´µÄ·ÃÎÊÊÚȨ£¬Æäʵ£¬ÕâЩϸ½Ú»¯µÄ²Ù×÷£¬.NET¶¼ÌṩÁËÒ»Öַdz£ÓÐЧµÄ½â¾ö°ì·¨£¬ÄÜʹÄã´Ó·±ËöµÄ°²È«ÑéÖ¤ÉϽâÍѳöÀ´£¬¶øÇÒ£¬¾¡¹ÜÄã¿ÉÄܺÜСÐĵض¨ÒåÄÇЩҳÃæ²»Ä ......

ASP.NET ÑÝÁ·£ºÔÚ TreeView ¿Ø¼þÖÐÏÔʾ·Ö²ãÊý¾Ý


      ASP.NET µÄ TreeView ¿Ø¼þÖ¼ÔÚÒÔ·Ö²ã½á¹¹½«Êý¾ÝÏÔʾ¸øÓû§¡£Óû§¿ÉÒÔ´ò¿ªµ¥¶ÀµÄ½Úµã£¬ÕâЩ½Úµã½ø¶ø¿ÉÒÔ°üº¬×ӽڵ㡣TreeView ¿Ø¼þÊʺÏÓÚÏÔʾ XML Êý¾Ý£¬µ«¿ÉÒÔÓÃÓÚÈκοÉÔÚ²ã´Î½á¹¹ÖбíʾµÄÊý¾Ý¡£´ËÑÝÁ·ÑÝʾʹÓà TreeView ¿Ø¼þµÄ»ù´¡ÖªÊ¶¼°ÏÔʾ·Ö²ãÊý¾ÝµÄ¸÷ÖÖ·½Ê½¡£
 
±¾ÑÝÁ·ÖвûÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ