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

Asp.Net ·Ö²ã¿ª·¢

Êý¾Ý²ã: Linq to sql
ÒµÎñÂß¼­²ã:×Ô¼ºÊµÏÖ£¬·â×°ÒµÎñ¶ÔÏó¶ÔÊý¾Ý¿âµÄ·ÃÎÊ£¬ÎÒµÄÂß¼­²ã±ÈÄãµÄ×öµÄ¹¤×÷Òª¶à£¬ÎÒ¼õÉÙÁËUI²ãµÄ´úÂëÁ¿¡£
Model²ã:ÓÃÓÚUI²ãչʾʹÓõÄModel£¬Êý¾Ý¿ÉÄÜÀ´Ô´ÓÚ¶àÕÅ±í£¬¾ßÌåÊý¾ÝÌî³äÔÚÂß¼­²ãÖиºÔð
UI²ã:¸ºÔð´«µÝÊý¾Ý£¬Õ¹Ê¾Êý¾Ý
SQLµÄÖÊÁ¿ÆäʵºÍ³ÌÐòÔ±µÄˮƽÓйØ
ÕâÒ²ÊÇΪʲô΢ÈíһֱŬÁ¦Èôó¼Ò²»Òª×Ô¼ºÀ´Ð´Êý¾Ý·ÃÎʲãµÄµÀÀí
ÓëÆäÈÃ80%µÄ³õ¼¶³ÌÐòԱд³öÐÔÄܵÍϵÄÊý¾Ý·ÃÎÊ´úÂë
²»Èç΢ÈíΪ´ó¼ÒÌṩһ¸öËä˵²»ÊÇÐÔÄÜ×î¸ß£¬µ«Ò²ÊǴθߵĽṹÁ¼ºÃ´úÂëÖÊÁ¿Îȶ¨µÄ½â¾ö·½°¸
±ÈÈç×Ô¶¯Éú³ÉTableAdapter¡¢Linq to SQLµÈ
µ±È»£¬Èç¹ûҪ׷Çó¼«ÏÞÐÔÄÜ£¬ÄÇô¾ÍÒ»¶¨Òª×Ô¼ºÀ´ÊµÏÖËùÓдúÂë
ÄÇʱºòÒ²ÄÜÓÃLINQ,²»¹ý¾ÍÊÇÒª×Ô¼ºÅÉÉúÁË¡£
ΪʲôҪ³ÌÐòÀï¶à´Î´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿âÁ¬½ÓÄØ£¿
Ϊʲô²»°ÑÊý¾Ý¿âÁ¬½Ó×ö³ÉÖ»ÔÚ³ÌÐò¿ªÊ¼ÔËÐÐʱ´ò¿ªÒ»´Î£¬³ÌÐò½áÊøʱÔÙÊÍ·ÅÁ¬½ÓÄØ£¿


Ïà¹ØÎĵµ£º

ÕûÀíһϱðÈËÓйØASP.NETµÄºÃ²©ÎÄ£¬Ã»Ê¿´¿´

1¡¢ASP.NETÖеÄAJAXÓ¦Óÿª·¢×ܽá
http://blog.csdn.net/zhoufoxcn/archive/2009/12/07/4954645.aspx
2¡¢ÓÃ×Ô¶¨ÒåIHttpModuleʵÏÖURLÖØд
http://blog.csdn.net/zhoufoxcn/archive/2009/07/14/4346356.aspx
3¡¢°ÑC#Öз½·¨ÖØÔØ˵͸
http://blog.csdn.net/zhoufoxcn/archive/2008/09/09/2902078.aspx
4¡¢.net ʵÏÖ URLÖØ ......

ÈÏʶAsp.net ÖÐÏà¶Ô·¾¶Óë¾ø¶Ô·¾¶


ºÃ¶àÈ˶ÔÏà¶Ô·¾¶Óë¾ø¶Ô·¾¶ÀÏÊÇ»ìÏý¼Ç²»Çå³þ£¬ÎÒ´ÓÕûÀíÁËһϣ¬Ï£Íû¶Ô´ó¼ÒµÄÈÏʶÓаïÖú¡£
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1.Request.ApplicationPath->µ±Ç°Ó¦ÓõÄĿ¼
JspÖÐ, ApplicationPathÖ¸µÄÊǵ±Ç°µÄapplication(Ó¦ÓóÌÐò)µÄĿ¼,ASP.NETÖÐÒ²ÊÇÕâ¸öÒâ˼¡£
¶ÔÓ¦ ......

´¦ÀíÓзµ»ØÖµµÄºÍreturnµÄasp.netд·¨

 SqlConnection   conPortal   =   new   SqlConnection(CommunityGlobals.ConnectionString);  
                          SqlCommand   cmdAdd   =   new   SqlCommand(   "Community_Disc ......

ÅäÖÃASP.NETƽ̨ʱÓöµ½µÄ¡°·ÃÎÊIISÔªÊý¾Ý¿âʧ°Ü¡±

 
ÅäÖÃASP.NETƽ̨ʱÓöµ½µÄ“·ÃÎÊIISÔªÊý¾Ý¿âʧ°Ü”²»ÖªµÀΪʲô½ñÌìÎÒµÄIISÍ£Ö¹ÁË£¬Í£Ö¹ÁËÎÒ¾ÍÆô¶¯Ï°ѣ¬¿ÉÊÇÆô¶¯²»ÆðÀ´Ñ½£¬ÄÇÔõô°ìѽ£¬Îʰٶȣ¬È˼Ò˵µÄÓиö·þÎñworld wide web Publishing ·þÎñ£¬¿ÉÊÇÎÒ»ú×ÓÉÏÁ¬Õâ¸ö·þÎñ¶¼Ã»ÓУ¬Ã»°ì·¨ÕÒ°Ñ£¬ÕÒÁË°ëÌìûÕÒµ½£¬Ö»ÓдÓа²×°ÁË£¬°²×°Á˺ÃÁË£¬Æô¶¯ÁË£¬ÓÖ³öÏ ......

ASP.NetÖеļ¸ÖÖÎļþÏÂÔØ·½·¨

//TransmitFileʵÏÖÏÂÔØ
    protected void Button1_Click(object sender, EventArgs e)
    {
        /*
         ΢ÈíΪResponse¶ÔÏóÌṩÁËÒ»¸öеķ½·¨TransmitFileÀ´½â¾öʹÓÃResponse.BinaryWrite
& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ