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

ʹÓÃASP.NET MVC(C#)15·ÖÖÓÄÚ´´½¨Ò»¸öµçÓ°Êý¾Ý¿â³ÌÐò

    Õâƪ½Ì³ÌµÄÄ¿µÄÊÇÈÃÄãÌå»áһϴ´½¨Ò»¸ö ASP.NET MVC ³ÌÐòÊÇÒ»ÖÖʲôÑùµÄ¸Ð¾õ¡£ÔÚÕâƪ½Ì³ÌÀÎÒͨ¹ý´ÓÍ·µ½Î²µØ´´½¨Ò»Õû¸öASP.NET MVC³ÌÐòÀ´½øÐÐ˵Ã÷¡£ÎÒ»á½ÌÄãÈçºÎ´´½¨Ò»¸ö¼òµ¥µÄÊý¾Ý¿âÇý¶¯³ÌÐò£¬´Ë³ÌÐò»áÑÝʾÄãÈçºÎÒÔÁбíÏÔʾ¡¢Ð½¨ºÍ±à¼­Êý¾Ý¿â¼Ç¼¡£
    ΪÁ˼ò»¯ÎÒÃÇ´´½¨³ÌÐòµÄ¹ý³Ì£¬ÎÒÃǽ«ÀûÓÃVisual Studio 2008µÄ“½ÅÊּܔÌØÐÔ¡£ÎÒÃÇÈÃVisual StudioÀ´Éú³É¿ØÖÆÆ÷£¬Ä£ÐͺÍÊÓͼµÄ´úÂëºÍÄÚÈÝ¡£
    Èç¹ûÄãÒѾ­ÓùýASP»òASP.NET£¬ÄÇôÄã»á·¢ÏÖASP.NET MVCºÍËüÃÇÊǺÜÏàËƵġ£ ASP.NET MVC ÖеÄÊÓͼÓëASPÖеÄÒ³(pages)·Ç³£Ïñ¡£¶øÇÒ£¬¾ÍÏñASP.NET WebForm³ÌÐòÄÇÑù£¬ ASP.NET MVC ¿ÉÒÔÈÃÄãʹÓÃ.Net FrameworkÌṩµÄÓïÑÔºÍÀàÀ´½øÐпª·¢¡£
    ÎÒÏ£ÍûÕâ¸ö½Ì³Ì¿ÉÒÔÈÃÄã¸Ð¾õµ½´´½¨ASP.NET MVC³ÌÐòÓë´´½¨ASP»òASP.NET WebForm³ÌÐòÊǶàôµÄÏàËÆ¡£
 
µçÓ°Êý¾Ý¿â³ÌÐò¸ÅÊö
ÓÉÓÚÎÒÃǵÄÄ¿µÄÊÇҪʹËùÓÐÊÂÇ鶼¾¡Á¿¼òµ¥£¬ËùÒÔÎÒÃǾʹ´½¨Ò»¸öºÜ¼òµ¥µÄµçÓ°Êý¾Ý¿â³ÌÐò¡£ÎÒÃÇÕâ¸ö¼òµ¥µÄ³ÌÐòÄܹ»×ö3¼þÊÂÇ飺
1¡¢ÁбíÏÔʾµçÓ°Êý¾Ý¿â¼Ç¼
2¡¢Ð½¨Ò»¸öµçÓ°Êý¾Ý¿â¼Ç¼
3¡¢±à¼­Ò»¸öµçÓ°Êý¾Ý¿â¼Ç¼
ÔÙ˵һ´Î£¬ÓÉÓÚÎÒÃÇÒª¾¡Á¿¼òµ¥£¬ÎÒÃǽ«ÀûÓà ASP.NET MVC ËùÐèµÄ×îÉÙÌØÐÔÀ´´´½¨ÎÒÃǵijÌÐò¡£ÀýÈ磬ÎÒÃDz»»áÓõ½²âÊÔÇý¶¯¿ª·¢¡£
ΪÁË´´½¨ÎÒÃǵijÌÐò£¬ÎÒÃÇÐèÒªÍê³ÉÒÔϸ÷¸ö²½Ö裺
1¡¢´´½¨ ASP.NET MVC Web ApplicationÏîÄ¿
2¡¢´´½¨Êý¾Ý¿â
3¡¢´´½¨Êý¾Ý¿â¶ÔÏó
4¡¢´´½¨ ASP.NET MVC ¿ØÖÆÆ÷
5¡¢´´½¨ ASP.NET MVC ÊÓͼ
×¼±¸¹¤×÷
 
ÄãÐèÒªVisual Studio 2008»òÕßVisual Web Developer 2008 Express À´´´½¨ ASP.NET MVC ³ÌÐò£¬Ä㻹ÐèÒªÏÂÔØ ASP.NET MVC ¿ò¼Ü¡£
Èç¹ûÄ㻹ûÓÐVisual Studio 2008£¬Äã¿ÉÒÔ´ÓÒÔÏÂÍøÖ·ÏÂÔØÒ»¸ö90ÌìÊÔÓð棺
http://msdn.microsoft.com/en-us/vs2008/products/cc268305.aspx
»òÕߣ¬Äã¿ÉÒÔʹÓà Visual Web Developer Express 2008£¬Èç¹ûÄã¾ö¶¨ÓÃÕâ¸öµÄ»°£¬Äã±ØÐë°²×°Service Pack 1£¬Äã¿ÉÒÔ´ÓÒÔÏÂÍøÖ·ÏÂÔØ´øÓÐService Pack 1µÄVisual Web Developer 2008 Express
http://www.microsoft.com/downloads/details.aspx?FamilyId=BDB6391C-05CA-4036-9154-6DF4F6DEBD14&displaylang=en
°²×°Íê Visual Studio 2008 »òÕß Visual Web Developer 2008Ö®ºó£¬ÄãÐèÒª°²×°ASP.NET MVC ¿ò¼Ü£¬Äã¿ÉÒÔ´ÓÒÔÏÂÍøÖ·ÏÂÔص½£º
http://www.asp.net/mvc
Èç¹û²


Ïà¹ØÎĵµ£º

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

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

asp.net(c#) ÖÆ×÷×¢²áÂë³ÌÐò

1¡¢¶¨ÒåCSÀà using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Configuration;
using Hash ......

Asp.NetÖаó¶¨Ê±¼äµÄ¸ñʽ»¯

Ò»Ö±ÒÔÀ´½«Êý¾Ý¿âÖеÄʱ¼ä°ó¶¨µ½gridviewÖкó£¬ÏÔʾµÄºóÃæ×ÜÊÇ»á¶à³öÒ»´®00£º00£º00£¬
Ô­À´Êǰ󶨵ÄʱºòûÓиñʽ»¯×Ö·û´®£¬Ö»ÒªÔÚ°ó¶¨Ê±¼ÓÈëÈçϸñʽ¾Í¶ÔÁË¡£
<asp:BoundField DataField="FieldName" HeaderText="ʱ¼ä" DataFormatString="{0:d}" HtmlEncode="false"> ......

ASP.NETºǫ́´úÂëµ÷ÓÃǰ̨javascript½Å±¾µÄ·½·¨

ºÜ¶àÈ˶¼ÏòÔÚ·þÎñÆ÷¶Ëµ÷Óÿͻ§¶ËµÄº¯ÊýÀ´²Ù×÷£¬Ò²¾ÍÊÇÔÚaspÖе÷ÓÃjavascript½Å±¾ÖÐÒѾ­¶¨ÒåºÃµÄ½Å±¾º¯Êý¡£¾­¹ýÑо¿£¬·¢ÏÖÁËһЩÃãÇ¿µÄ·½·¨¡£
1. ÓÃResponse.Write·½·¨Ð´Èë½Å±¾
±ÈÈçÔÚÄãµ¥»÷°´Å¥ºó£¬ÏȲÙ×÷Êý¾Ý¿â£¬ÍêÁ˺óÏÔʾÒѾ­Íê³É£¬¿ÉÒÔÔÚ×îºóÏëµ÷Óõĵط½Ð´ÉÏ
Response.Write("<script type='text/javascrip ......

ѧϰasp.net±È½ÏÍêÕûµÄÁ÷³Ì

Èç¹ûÄãÒѾ­Óн϶àµÄÃæÏò¶ÔÏ󿪷¢¾­Ñ飬Ìø¹ýÒÔÏÂÕâÁ½²½£º
¡¡¡¡µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó(OO)ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥!
¡¡¡¡µÚ¶þ²½¡¡¶Ô.NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽⠿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓÃ³Ì ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ