![]() ![]() | ||
You can add a new Web form to a Web application with the Project|Add Web Form menu item. Here's the code for the Web form added to your project:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm2.aspx.vb" Inherits="ProjectName.WebForm2"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.0"> <meta name="CODE_LANGUAGE" content="Visual Basic 7.0"> <meta name=vs_defaultClientScript content="JavaScript"> <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5"> </head> <body MS_POSITIONING="GridLayout"> <form id="Form2" method="post" runat="server"> </form> </body> </html>
For more information, see "Creating a Multiform Web Project" in the In Depth section of this chapter.
![]() ![]() | ||