When you add pages to a Web site, there is an option to choose whether to put the code in a separate file, as shown in the figure:
If you choose, an ASPX and a aspx.cs file will be generated, and if you remove the hook, there will be no Aspx.cs file automatically generated, in which case it would be in ASPX. In fact, in VS2003 already can support such two kinds of writing, but did not like the present 2005 such separate option listed.
In the image above, there is also an option to select Master page. This feature is also very powerful, you can develop a Web page to save a lot of time. Master page is the equivalent of a Web page template, for a whole station, with master page, there is no need to develop a page header control Ah, the bottom of the control Ah, just need to maintain a master page is OK, in the need to use master Page with a simple masterpagefile= "~/masterpage.master" on it, and note that the use of the master page in the VS2005 inside is a full resolution, But do not want to VS2003 inside the control that, can see only a blank. About master page, next time, show it alone. ^_^
VS2005, when editing the ASPX page, choose to edit the HTML code, this time you can drag the server-side control into the HTML. In VS2003, this is not allowed, see the control chart below. 2005 2003 of the contents of the toolbox, something more: Of course, now there are a lot of good controls online can download integrated into VS, like what net advantage,componentone.studio.for.asp.net and so on. You can keep your kit full ^_^
If you choose, an ASPX and a aspx.cs file will be generated, and if you remove the hook, there will be no Aspx.cs file automatically generated, in which case it would be in ASPX. In fact, in VS2003 already can support such two kinds of writing, but did not like the present 2005 such separate option listed.
In the image above, there is also an option to select Master page. This feature is also very powerful, you can develop a Web page to save a lot of time. Master page is the equivalent of a Web page template, for a whole station, with master page, there is no need to develop a page header control Ah, the bottom of the control Ah, just need to maintain a master page is OK, in the need to use master Page with a simple masterpagefile= "~/masterpage.master" on it, and note that the use of the master page in the VS2005 inside is a full resolution, But do not want to VS2003 inside the control that, can see only a blank. About master page, next time, show it alone. ^_^
VS2005, when editing the ASPX page, choose to edit the HTML code, this time you can drag the server-side control into the HTML. In VS2003, this is not allowed, see the control chart below. 2005 2003 of the contents of the toolbox, something more: Of course, now there are a lot of good controls online can download integrated into VS, like what net advantage,componentone.studio.for.asp.net and so on. You can keep your kit full ^_^
If you choose, an ASPX and a aspx.cs file will be generated, and if you remove the hook, there will be no Aspx.cs file automatically generated, in which case it would be in ASPX. In fact, in VS2003 already can support such two kinds of writing, but did not like the present 2005 such separate option listed.
In the image above, there is also an option to select Master page. This feature is also very powerful, you can develop a Web page to save a lot of time. Master page is the equivalent of a Web page template, for a whole station, with master page, there is no need to develop a page header control Ah, the bottom of the control Ah, just need to maintain a master page is OK, in the need to use master Page with a simple masterpagefile= "~/masterpage.master" on it, and note that the use of the master page in the VS2005 inside is a full resolution, But do not want to VS2003 inside the control that, can see only a blank. About master page, next time, show it alone. ^_^
VS2005, when editing the ASPX page, choose to edit the HTML code, this time you can drag the server-side control into the HTML. In VS2003, this is not allowed, see the control chart below. 2005 2003 of the contents of the toolbox, something more: Of course, now there are a lot of good controls online can download integrated into VS, like what net advantage,componentone.studio.for.asp.net and so on. You can keep your kit full ^_^