Double-click the Default.aspx.cs file in the Solution Explorer to open it in the Code Editor.
Add the following code to the Page_Load event-handler:
C#(Default.aspx.cs) Copy Code |
---|
protected void Page_Load(object sender, EventArgs e) |
Press CTRL+F5 to execute the web application.