Tuesday, December 11, 2007

How to view your codes in HTML / Design View

How to view your codes in HTML / Design View

Step 1

To view your HTML codes, all you need to do is right click on your ASPX form and then select View HTML Source as shown in the diagram below

You will be able to see that you have created the following code with the Visual Basic designer.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplication3.WebForm1"%>

WebForm1

Notice that theirs is no Event handler in your code. We will create an event handler in the button that you have created.

No comments: