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

¡¶ASP.NET MVC°¸Àý½Ì³Ì¡·Ë÷ÒýÌù

      ±¾ÏµÁÐÎÄÕÂͨ¹ýÒ»¸öÐéÄâµÄ°¸Àý——¡¶MVC¹«¸æ·¢²¼ÏµÍ³¡·µÄ¿ª·¢¹ý³Ì£¬È«ÃæչʾÁËASP.NET MVCµÄ»ù±¾Ê¹Ó÷½·¨£¬Í¬Ê±ÔÚÌÖÂÛÁËÕâ¸ö¿ò¼ÜµÄ»ù±¾Ô­Àí¡£
      Õâ¸öÎÄÕÂϵÁеÄÄ¿µÄ¾ÍÊÇʹÅóÓÑÃǸüÇáËɵÄÈëÃÅASP.NET MVC¡£
      Õâ¸öϵÁлá°üº¬µÄÄÚÈÝÓУºASP.NET MVC»ù±¾Ó¦Óᢻù±¾Ô­Àí¡¢Â·ÓÉ´¦Àí¡¢±íµ¥´¦Àí¡¢ÓëASP.NET AJAX½áºÏ¡¢ÓëJQuery½áºÏ¡¢À¹½ØÆ÷µÈ¡£
 
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚһƪ£º×¼±¸¹¤×÷
      ÕªÒª: ±¾ÎĽ«¼òÒª½éÉÜÕâ¸öÎÄÕÂϵÁеÄÄ¿µÄ¡¢ÐÎʽ¼°´óÌåÄÚÈÝ¡£²¢ÇÒÍê³É¿ªÊ¼Ñ§Ï°Õâ¸öϵÁÐÇ°Ëù±ØÒªµÄ×¼±¸¹¤×÷¡£
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚ¶þƪ£ºµÚÒ»¸öÒ³Ãæ 
      ÕªÒª: ±¾ÎÄÊ×ÏÈÒ»²½Ò»²½Íê³ÉDemoµÄµÚÒ»¸öÒ³Ãæ——Ê×Ò³¡£È»ºó¸ù¾ÝʵÏÖ¹ý³Ì£¬ËµÃ÷Ò»ÏÂÆäÖÐÓõ½µÄÓëASP.NET MVCÏà¹ØµÄ¸ÅÄîÓëÔ­Àí¡£
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚÈýƪ£ºASP.NET MVCÈ«¾Ö¹Û
      ÕªÒª: ±¾ÎĶÔASP.NET MVCµÄÈ«¾ÖÔËÐлúÀí½øÐÐÒ»¸ö¼òÒªµÄ½éÉÜ£¬ÒÔʹµÃÅóÓÑÃǸüºÃµÄÀí½âºóÐøÎÄÕ¡£
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚËÄƪ£º´«µÝ±íµ¥Êý¾Ý
      ÕªÒª: ±¾ÎĽ«Íê³ÉÎÒÃÇ“MVC¹«¸æ·¢²¼ÏµÍ³”µÄ¹«¸æ·¢²¼¹¦ÄÜ£¬ÒÔ´ËչʾÔÚASP.NET MVCÖÐÈçºÎ´«µÝ´¦Àí±íµ¥µÄÊý¾Ý¡£
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚÎåƪ£ºMVCÕûºÏAjax
      ÕªÒª: ±¾ÎĽ«´ÓÍê³É“ÊäÈëÊý¾ÝÑéÖ¤”Õâ¸ö¹¦Äܳö·¢£¬Öð½¥Õ¹¿ªASP.NET MVCÓëAjax½áºÏµÄ·½·¨¡£Ê×ÏÈ£¬±¾ÎĽ«Ê¹ÓÃASP.NET MVCÌṩµÄͬ²½·½Ê½Íê³ÉÊý¾ÝÑéÖ¤¡£¶øºó£¬½«·Ö±ð½áºÏASP.NET AJAXºÍJQuery½«Õâ¸ö¹¦ÄÜÖع¹³ÉÒì²½ÐÎʽ¡£
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚÁùƪ£ºÀ¹½ØÆ÷
      ÕªÒª: ±¾ÎĽ«¶Ô“MVC¹«¸æ·¢²¼ÏµÍ³”µÄ·¢²¼¹«¸æ¹¦ÄÜÌí¼ÓÈÕÖ¾¹¦ÄܺÍÒì³£´¦Àí¹¦ÄÜ£¬½è´ËÀ´ÌÖÂÛASP.NET MVCÖÐÀ¹½ØÆ÷µÄʹÓ÷½·¨¡£
ASP.NET MVC°¸Àý½Ì³Ì£¨»ùÓÚASP.NET MVC beta£©——µÚÆßƪ£ºÏл°ASP.NET MVC
      ÕªÒª: ±¾ÎÄ×÷Ϊ¡


Ïà¹ØÎĵµ£º

ASP.NET ÃæÊÔÌ⠺ϼ¯

1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£ 
protected : ±£»¤³ÉÔ±£¬¸ÃÀàÄÚ²¿ºÍ¼Ì³ÐÀàÖпÉÒÔ·ÃÎÊ¡£ 
public : ¹«¹²³ÉÔ±£¬ÍêÈ«¹«¿ª£¬Ã»ÓзÃÎÊÏÞÖÆ¡£ 
internal: ÔÚͬһÃüÃû¿Õ¼äÄÚ¿ÉÒÔ·ÃÎÊ¡£
2 .ÁоÙASP.NET Ò³ÃæÖ®¼ä´« ......

URL µÄ¸÷¸ö²¿·ÖºÍͨ¹ýASP.NET»ñÈ¡URLµØÖ·µÄ·½·¨


網Ö·£ºhttp://localhost:1897/News/Press/Content.aspx/123?id=1#toc
Request.ApplicationPath
/
Request.PhysicalPath
D:\Projects\Solution\web\News\Press\Content.aspx
System.IO.Path.GetDirectoryName(Request.PhysicalPath)
D:\Projects\Solution\web\News\Press
Request.PhysicalApplicationPath
D ......

C#¡¢ASP.NETÖÐrefºÍoutµÄÇø±ð

ÕâÁ½¸öÊý¾ÝÀàÐÍÊÇÎÒÃÇÔÚѧϰC#ÓïÑԵĹý³ÌÖÐÊý¾Ý±È½ÏÄѵÄÁ½¸öÊý¾ÝÀàÐÍ£¬²»¹ýËûÃǺÜÖØÒª£¬ËùÒÔÓбØÒªÄóöÀ´ËµËµËûÃǵÄʹÓ÷½·¨ºÍ²»Í¬Ö®´¦£¬Ï£Íû¶ÔÄãÓÐËù°ïÖú¡£
ÏÈ×ܵÄÀ´Ëµ£º
ͨ³£ÎÒÃÇÏò·½·¨Öд«µÝµÄÊÇÖµ.·½·¨»ñµÃµÄÊÇÕâЩֵµÄÒ»¸ö¿½±´,È»ºóʹÓÃÕâЩ¿½±´,µ±·½·¨ÔËÐÐÍê±Ïºó,ÕâЩ¿½±´½«±»¶ªÆú,¶øÔ­À´µÄÖµ²»½«Êܵ½Ó°Ïì.´ËÍâÎÒÃÇ ......

ASP.NETÖÐÈÃͼƬÒÔ¶þ½øÖƵÄÐÎʽ´æ´¢ÔÚÊý¾Ý¿âÖÐ


 ½ñÔçÓиöÍøÓÑÎʵ½ÎÒÕâÎÊÌ⣬ÒÔÇ°ÎÒ¶¼ÊÇÖ±½ÓÔÚÊý¾Ý¿âÖдæÎļþÃûµÄ£¬»¹Ã»ÓÐÊÔ¹ý´æ´¢ÕûÕÅͼƬµ½Êý¾Ý¿âÖУ¬ÉÏÍøËÑË÷ÁËһϣ¬×Ô¼ºÓÖ²âÊÔÁËÒ»·¬£¬´úÂëÈçÏ£º
½¨Á¢±£´æͼƬµÄ±íµÄSQLÓï¾ä£º
 
Sql´úÂë < width="14" height="15" src="javascripts/syntaxhighlighter/clipboard_new.swf" pluginspage="http://w ......

asp.net ÑéÖ¤ÕýÔò±í´ïʽÊÕ²Ø

ÕûÊý»òÕßСÊý£º^[0-9]+\.{0,1}[0-9]{0,2}$
Ö»ÄÜÊäÈëÊý×Ö£º"^[0-9]*$"¡£
Ö»ÄÜÊäÈënλµÄÊý×Ö£º"^\d{n}$"¡£
Ö»ÄÜÊäÈëÖÁÉÙnλµÄÊý×Ö£º"^\d{n,}$"¡£
Ö»ÄÜÊäÈëm~nλµÄÊý×Ö£º¡£"^\d{m,n}$"
Ö»ÄÜÊäÈëÁãºÍ·ÇÁ㿪ͷµÄÊý×Ö£º"^(0|[1-9][0-9]*)$"¡£
Ö»ÄÜÊäÈëÓÐÁ½Î»Ð¡ÊýµÄÕýʵÊý£º"^[0-9]+(.[0-9]{2})?$"¡£
Ö»ÄÜÊäÈëÓÐ1~3λСÊýµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ