ASP.NETÍøÕ¾ÖеÄÌØÊâÎļþ¼Ð
ÓÃVS¿ª·¢ASP.NETÍøÕ¾³ÌÐòµÄʱºò,»á½«Àà»òWeb Services·ÅÔÚÌØÊâµÄÎļþ¼ÐÖÐ,·²ÊÇ·ÅÔÚÕâЩÌØÊâµÄÎļþ¼ÐÖÐ(App_Themes³ýÍâ)µÄ³ÌÐò»òÄÚÈÝÖ»ÔÊÐíÓ¦ÓóÌÐò·ÃÎÊ,¶ÔÓÚÍøÒ³µÄRequestÔò²»ÓèÏìÓ¦(ÎÞ·¨¶ÁÈ¡).
Îļþ¼Ð ˵Ã÷
App_Browsers °üº¬ä¯ÀÀÆ÷¶¨Òå(.browserÎļþ),ASP.NET»áʹÓÃÕâЩÎļþÀ´Ê¶±ð¸ö±ðä¯ÀÀÆ÷²¢ÅжÏËüÃǵŦÄÜ
App_Code °üº¬ÓÃÓÚ¹«ÓóÌÐòºÍÉÌÎñ¶ÔÏó(Business Object) , (ÀýÈç, .cs ; .vbºÍ.jslÎļþ)µÄ³ÌÐòÔ´´úÂë,Òª½«Ëü±àÒëΪӦÓóÌÐòµÄÒ»²¿·Ö
App_Data °üº¬Ó¦ÓóÌÐòÊý¾ÝÎļþ.°üÀ¨MDFÎļþ,XMLÎļþÓëÆäËûÊý¾Ý¿âÎļþ
App_GlobalResources °üº¬×ÊÔ´(.resxºÍ.resourcesÎļþ),ÕâЩ×ÊÔ´»á±àÒë³É¾ßÓÐÈ«¾Ö·¶Î§µÄ×é¼þ
App_LocalResources °üº¬×ÊÔ´(.resxºÍ.resourcesÎļþ),ÕâЩ×ÊÔ´»áÓëÌض¨µÄÒ³Ãæ,Óµ»¤¿Ø¼þ»òÓ¦ÓóÌÐòµÄÖ÷Ò³Ãæ(MasterPage)Ïà¹ØÁª
App_WebReferences °üº¬²Î¿¼ºÏÔ¼Îļþ(.wsdlÎļþ),½á¹¹ÃèÊö(.xsdÎļþ)ºÍ̽Ë÷Îļþ(.discoºÍ.discomapÎļþ),¿É¶¨ÒåWebÓ¦ÓÃÒÔÓÃÓïÓ¦ÓóÌÐò
App_Themes °üº¬Îļþ¼¯ºÏ(.skinºÍ.cssÎļþ,ÒÔ¼°Ó°ÏóÎļþÓëͨÓÃ×ÊÔ´),¿É¶¨ÒåASP.NET WebÍøÒ³ºÍ¿Ø¼þµÄÍâ¹Û
Bin °üº¬¿Õ¼ä,×é¼þ»òÄãÒªÔÚÓ¦ÓóÌÐòÖÐÓ¦ÓÃÆäËû³ÌÐò´úÂëµÄÒѱàÒë×é¼þ(.dllÎļþ).ÔÚ[Bin]Îļþ¼ÐÖÐÒÔ³ÌÐò´úÂë±íʾµÄÈκÎÀà,
¶¼»á×Ô¶¯ÔÚÓ¦ÓóÌÐòÖÐÓ¦Óõ½
Ïà¹ØÎĵµ£º
asp.net×Ö·û´®½ØȡʵÏÖ´úÂ룬ÐèÒªµÄÅóÓÑ¿ÉÒԲο¼Ï¡£
1£¬°Ñ´úÂë·ÅÔÚsqlhelperÖС£
¸´ÖÆ´úÂë ´úÂëÈçÏÂ:
#region ½ØÈ¡×Ö·û´®
/// <summary>
/// ½ØÈ¡×Ö·û´®
/// </summary>
/// <param name="str_value"></param>
/// <param name="str_len"></param>
/// <returns&g ......
ÔÚÉÏһƪ²©ÎÄ¡¶asp.netÖеÄÉí·ÝÑéÖ¤£¨×î¼òµ¥Æª£©¡·ÖеÄÉí·ÝÑéÖ¤ËäÈ»ºÜ¼òµ¥£¬µ«ÊÇÓÐÒ»¸öȱµã£¬¾ÍÊÇ·ÃÎÊÕû¸öÍøÕ¾¶¼±ØÐëÒª¾¹ýÉí·ÝÑéÖ¤£¬¶øÊÂʵÉÏ£¬ºÜ¶àÍøÕ¾¶¼²»»áÕâôҪÇóµÄ¡£
±ÈÈçÒ»¸öÐÂÎÅϵͳ£¬Í¨³£Ö»ÓÐÔÚ·¢²¼ÐÂÎŵÄÍøÒ³²ÅÐèÒªÉí·ÝÑéÖ¤£¬¶øÓû§ä¯ÀÀÐÂÎÅÊDz»ÐèÒªÉí·ÝÑéÖ¤µÄ¡£¶ÔÓÚÕâÖÖÇé¿ö£¬¾ÍÒªÕë¶Ô²»Í¬µÄÍøÒ³À´½øÐÐÉí·ÝÑé ......
һλCSDNÍøÓÑ·ÅÔÚÏÂÔØÀïµÄ
/////////////////
/// <summary>
/// ·ÖÒ³º¯Êý
/// </summary>
/// <param name="dtRecord">Êý¾ÝÔ´</param>
private void SplitPage(DataTable dtRecord) ......
ËäÈ»ÎÒ²»Ï²»¶ÌÖÂÛÌ«¶àÀíÂÛ¸ÅÄîÉϵĶ«Î÷£¬µ«¸÷λ“ש¼Ò”»¹ÊÇÌá³öÁ˺ܶà·Ç³£ÓÐÕë¶ÔÐÔµÄÒâ¼û£¬Íû´ËÌû²»Òª³ÉΪ¿Úˮս²ÅºÃ....ÏÖ´ðÒÉÈçÏ£¨Óкܶà¸öÈËÀí½â£¬²»Ò»¶¨ÕýÈ·£©£º
ש¼ÒÒâ¼ûÇë²Î¼û£ºAsp.Net´óÐÍÏîĿʵ¼ùϵÁе¼º½
ΪʲôѡÔñNHibernate
ÀíÓÉ1£º¶ÔÏó¹ØϵӳÉä¼¼Êõ£¨ORM£©µÄ×îÖ÷ҪĿµÄÊÇΪÁ˽â¾ö¹ØϵÐÍÊý¾Ý¿âÓ ......
ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
C# code
private void Button1_Click( object sender, System.EventArgs e )
{
Response.Redirect( Request.Url.ToString( ) );
}
µÚ¶þ£º
C# code
private void Button2_Click( object sender, System.EventArgs e )
{
Response.Write( " < script lang ......