ASP.NET Ä£°åÒ³ Ö´ÐÐ˳Ðò
Page Ö´ÐÐÖн«°´ÕÕÈçÏÂ˳Ðò¼¤»îʼþ£º
Page.PreInit
Page.Init
Page.InitComplite
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete
Èç¹ûÒ³Ãæ´ÓÁîÒ»¸öÒ³Ãæ¼Ì³Ð£¬ÈçBasePage:System.Web.UI.Page£¬ÔÚBasePageÖÐ×öÁËһЩÀ©Õ¹£¬ÈçȨÏÞ¼ì²é£¬¶øÆäËûÒ³Ãæ´ÓBasePage¼Ì³Ð£¬ÔòBasePageºÍ×îÖÕPageµÄʼþ¼¤»î˳ÐòÊÇ£º
UI.PreInit
Page.PreInit
UI.Init
Page.Init
UI.InitComplite
Page.InitComplite
UI.PreLoad
Page.PreLoad
UI.Load
Page.Load
UI.LoadComplete
Page.LoadComplete
UI.PreRender
Page.PreRender
UI.PreRenderComplete
Page.PreRenderComplete
Èç¹ûʹÓÃÁËMasterPage£¬ÔòMasterPageÖеÄʼþºÍContentPageÖеÄʼþ°´ÕÕÏÂÃæË³Ðò¼¤»î£º
ContentPage.PreInit
Master.Init
ContentPage.Init
ContentPage.InitComplite
ContentPage.PreLoad
ContentPage.Load
Master.Load
ContentPage.LoadComplete
ContentPage.PreRender
Master.PreRender
ContentPage.PreRenderComplete
¸ü½øÒ»²½£¬Èç¹ûContentPage¼Ì³ÐBasePage£¬ÄÇô£¬¸÷ʼþµÄÖ´ÐÐ˳Ðò½«±ä³É£º
UI.PreInit
ContentPage.PreInit
Master.Init UI.Init
ContentPage.Init
UI.InitComplite
ContentPage.InitComplite
UI.PreLoad
ContentPage.PreLoad
UI.Load
ContentPage.Load
Master.Load UI.LoadComplete
ContentPage.LoadComplete
UI.PreRender
ContentPage.PreRender
Master.PreRender
UI.PreRenderComplete
ContentPage.PreRenderComplete
Ïà¹ØÎĵµ£º
+++ Ò³Ãæ´úÂëÈçÏ£º
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" DataKeyNames="username" DataSourceID="SqlDataSource1"
PageSize="3">
<Columns>
  ......
½ñÌìÎÒÃǼÌÐøÍê³É Õâ¸ö MVC2 ¼òµ¥ÊµÀýµÄÊ£Ó๦ÄÜ£ºÏÔʾÃ÷ϸ¡¢Ìí¼Ó¡¢±à¼µÈ¡£¡£¡£¡£¡£
Ò»¡¢ÏÔʾÃ÷ϸ
¡¡¡¡ÔÚ MoviewsControllerÖÐµÄ Details·½·¨Àï ÓÒ¼ü--Add view£¬´´½¨Ò»¸öÇ¿ÀàÐ͵ÄÊÓͼ
¡¡¡¡
¡¡¡¡
È·¶¨ºó£¬Õâ¸öÃ÷ϸµÄÊÓͼÎļþ¾ÍÒѾÉú³É¡£¡£¡£
´Ëʱ£¬ÎÒÃÇÐèÒªÐÞ¸Ä Detials ·½·¨£¬¸ù¾Ý ´«µÝ¹ýÀ´µÄ id²ÎÊý£¬È¥Êý¾Ý¿â²éÑ ......
ÔÚ¹¤¾ßÏäÖÐÌí¼ÓÑ¡Ïî Ìí¼Ócom×é¼þ ÕÒµ½ocxÎļþ
È»ºó ÉèÖÃÄã×öµÄÍøÒ³µÄ Ãû×Ö ÔÚä¯ÀÀÆ÷ÖÐµÄ ¹¤¾ß>IEÑ¡Ïî>°²È«>¿ÉÐÅÈÎÕ¾µã
<body>
<object id="VpOcx" classid="clsid:8B832F98-B7EE-4E2B-9FB4-86FA3BA17047"
codebase="~/../Bin/VpMatrixOcxPro.ocx"
&nbs ......
ʹÓà ConfigurationSettings ¶ÔÏóµÄ AppSettings ÊôÐÔ¼ìË÷ ASP.NET ÅäÖÃÐÅÏ¢¡£
ASP.NET ÔÊÐí¿ª·¢ÈËԱͨ¹ýÖ±½Ó¹«¿ªÅäÖÃÉèÖã¨ÒÔÇ¿ÀàÐÍÊôÐÔµÄÐÎʽ£©»òʹÓ󣹿ÅäÖà API£¬´ÓÓ¦ÓóÌÐòÖзÃÎÊÅäÖÃÉèÖá£Ï ......