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

Asp.net ²»ÔÊÐíÑ­»·ÎļþÒýÓÃ

Õâ¶Îʱ¼äÒ»Ö±ÔÚ×öÒ»¸öµÄÏîÄ¿£¬ÏÈÇ°buildÏîĿʱ£¬Ò»Ö±ÊÇÕý³£µÄ£¬Ã»ÓÐÈκÎÎÊÌâ¡£×òÌ죬ÔÚ½«Íê³ÉµÄ²¿·ÖÎļþÇ©Èë·þÎñÆ÷ºó£¬ÖØÐÂÉú³É½â¾ö·½°¸
ʱ£¬buildʧ°Ü£¬×ÜÊÇÌáʾ²»ÔÊÐíÑ­»·ÎļþÒýÓ㬺ÍÓû§¿Ø¼þÏà¹ØµÄһЩ´íÎó--δ֪·þÎñÆ÷±ê¼Ç¡£½Ó×ÅÔÙÉú³É½â¾ö·½°¸£¬»¹ÊÇʧ°Ü£¬µ«ÊǶàÉú¼¸´ÎÖ®ºó£¬¾¡È»
ÓÖÉú³É³É¹¦ÁË£¬ÎÊÌâºÜÊǹÖÒì¡£ÓÉÓÚÏîĿʹÓÃÁË´óÁ¿µÄÓû§¿Ø¼þ£¬Ò»¿ªÊ¼ÒÔΪÊÇÓû§¿Ø¼þÒýÆðµÄ´íÎó£¬Ä³¸öÎļþ¿ÉÄܶà²ú´Î×¢²áͬһ¸öÓû§¿Ø¼þ¡£µ«¾­¹ýÈÏÕæµÄ¼ì²é
ÁËËùÓÐÒ³Ãæºó£¬ÅųýÁËÕâÖÖ¿ÉÄÜÐÔ¡£ÓÉÓÚÏîÄ¿ÖеÄÐí¶àÓû§¿Ø¼þÓÖÒýÓÃÁËÆäËüµÄÓû§¿Ø¼þ£¬ËùÒÔÎÒÈ϶¨ÊÇÒòΪÕâ¸öÔ­Òòµ¼ÖµĴíÎó¡£ËùÒÔ½«Ô­À´Asp.net
1.1 ÖÐʹÓõÄ
×¢²áÓû§¿Ø¼þµÄ·½Ê½£¨Ö±½Ó×¢²áµ½Ò³Ã棩µÄ´úÂ룬ȫ²¿Ð޸ijÉÁËasp.net
2.0ÖеÄз½Ê½£¬½«Óû§¿Ø¼þ×¢²áµ½Web.configÎļþÖеÄ<controls>½áµãÏ£¬µ«ÖØÐÂÉú³É½â¾ö·½°¸ºó,ÎÊÌâÒÀȻûÓнâ¾ö¡£½Ó
×ÅÔÚÍøÉϲéÔÄһЩÏà¹Ø×ÊÁÏ£¬µ«Ò²Î´ÄÜÕÒµ½Ò»¸öºÃµÄ½â¾ö·½°¸¡£°¾ÁËÒ»Ò¹£¬¾¡È»ÎÞ¹¦¶ø·µ£¬ÕæÊÇÓôÃƵ½Á˼«µã¡£
       
½ñÌìͻȻÏëÆð¿ÉÒÔ½«ÎļþÔÝʱ´ÓÏîÄ¿ÖÐÅųý£¬ËùÒÔ½«ËùÓеÄÎļþ´ÓÏîÄ¿ÖÐÅųý£¬È»ºóÔÙ½«ÎļþÒ»¸ö¸öµÄ°üÀ¨µ½ÏîÄ¿ÖУ¬ÒÔ±ãÄÜÕÒµ½³öÎÊÌâµÄÒ³Ãæ¡£×îºó·¢ÏÖ²»ÔÊÐíÑ­
»·Îļþ´íÎóºÍĸ°åÒ³ÓÐЩ¹Øϵ£¬Ö»°üÀ¨Ä¸°åҳʱ£¬Ã»ÓдíÎ󣬵«ÊÇÔÙ½«ÄÚÈÝÒ³°üÀ¨½øÀ´ºó£¬³ÌÐò¾Í³öÏÖ´íÎóÁË¡£×ÐϸcheckÄÚÈÝÒ³ºÍĸ°åÒ³£¬·¢ÏÖËüÃǸ÷´¦¶¼ÊÇ
ÕýÈ·µÄ¡£¾­¹ý¶à´Î²âÊÔ£¬ÖÕÓÚÕÒµ½ÁËÎÊÌâµÄ¸ùÔ´£¬ ÄÚÈÝÒ³ÒýÓÃÁËÉϼ¶Ä¿Â¼µÄĸ°åÒ³
¡£ÄÚÈÝÒ³ÒýÓõ±Ç°Ä¿Â¼ºÍ×ÓĿ¼µÄĸ°åÒ³ÊÇûÓÐÎÊÌâµÄ¡£ÔÚVS2008Ͼ­¹ý²âÊÔ£¬·¢ÏÖÕâ¸öVS2005µÄÒ»¸öbug.ÓÉÓÚÍøÉÏûÓÐÕÒµ½Ïà¹ØµÄÎÄÕ£¬¹Ê½«ÆäºÍ´ó¼Òshare.
    »·¾³: asp.net 2.0 VS 2005  
    ´íÎ󣺲»ÔÊÐíÑ­»·ÎļþÒýÓÃ
    Ô­Òò£ºÄÚÈÝÒ³ÒýÓÃÁËÉϼ¶Ä¿Â¼µÄĸ°åÒ³
£¨VS2005µÄbug,VS2008ÒѾ­½â¾ö£©
¡¡¡¡½â¾ö·½°¸£º½«Ä¸°åÒ³·Åµ½ÄÚÈÝÒ³µÄµ±Ç°Ä¿Â¼»ò×ÓĿ¼ÖР                                                        &n


Ïà¹ØÎĵµ£º

ASP.NETÖг£ÓõÄ26¸öÓÅ»¯ÐÔÄÜ·½·¨(6


 
6. Ö»Òª¿ÉÄÜ£¬¾Í»º´æÊý¾ÝºÍÒ³Êä³ö ¡¡¡¡
ASP.NET ÌṩÁËһЩ¼òµ¥µÄ»úÖÆ£¬ËüÃÇ»áÔÚ²»ÐèҪΪÿ¸öÒ³ÇëÇó¶¯Ì¬¼ÆËãÒ³Êä³ö»òÊý¾Ýʱ»º´æÕâЩҳÊä³ö»òÊý¾Ý¡£ÁíÍ⣬ͨ¹ýÉè¼ÆÒª½øÐлº´æµÄÒ³ºÍÊý¾ÝÇëÇó(ÌرðÊÇÔÚÕ¾µãÖÐÔ¤ÆÚ½«ÓнϴóͨѶÁ¿µÄÇøÓò)£¬¿ÉÒÔÓÅ»¯ÕâЩҳµÄÐÔÄÜ¡£Óë .NET Framework µÄÈκΠWeb ´°Ì幦ÄÜÏà±È£¬Êʵ±µØÊ ......

ASP.NETÊý¾Ý°ó¶¨ºÍµÄÇø±ð

 <%=%>°ó¶¨CSÎļþÖеıäÁ¿£¬ÓÐÖµµÄÊôÐÔ£¬»òÕßÓзµ»ØÖµµÄ·½·¨£¬
 <%#%>Ò»°ãʽ·ÅÔÚÊý¾Ý¿Ø¼þÖаó¶¨Êý¾ÝÔ´±íÖеÄ×Ö¶Î
 <%=%><%#%>Çø±ð:
Ç°Õß ÊÇÔÚÒ³ÃæÖ®ÖÐʹÓÃ.ÊôÓÚÒ»¶Î´úÂë.ÓÐ=ºÅµÄ¾ÍÏ൱ÓÚresponse.write()Õ⹦ÄÜ.ºÍaspÒ»Ñù.
ºóÕß ÊÇÔÚÒ³ÃæÖеķþÎñÆ÷Êý¾Ý¿Ø¼þÖаó¶¨Êý¾ÝÔ´µÄ×ֶΠ......

ASP.NETÖÐÈçºÎʵÏÖFORMÈÏÖ¤µÇ¼

ÈçºÎÔËÓà Form ±íµ¥ÈÏÖ¤
ASP.NET µÄ°²È«ÈÏÖ¤£¬¹²ÓГWindows”“Form”“Passport”“None”ËÄÖÖÑé֤ģʽ¡£“Windows”Óë“None”ûÓÐÆðµ½±£»¤µÄ×÷Ó㬲»ÍƼöʹÓ㻓Passport”ÎÒÓÖûÓùý£¬°¦……ËùÒÔÎÒÖ»ºÃ½²½²“Form”ÈÏ ......

ASP.NETµ÷ÓÃjavascript½Å±¾µÄ·½·¨

1¡¢Ö±½ÓÔÚǰ̨µ÷Óà javascript º¯Êý
ºÜ¼òµ¥,ÔÚ head ÔªËØÖ®¼ä¼ÓÈë script ÔªËØ,½« type ÔªËØÉèÖÃΪ " text/javascript "
Èç:
<head runat="server">
<script type="text/javascript" >
function ShowName(str)
{
alert("ÄúµÄÃû×ÖΪ:("+str+")");
}
</script>
    <title> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ