This is the code that runs a simple page in ASP.NET vb aspx page when a button is clicked the label changes.
<%@ Page language="vb" AutoEventWireup="false" Src="SrcSample.aspx.vb"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form id="Form1" method="post" runat="server">
<asp:Label id="Label1" runat="server">Label</asp:Label> <asp:button id="btnTest" text="Test" OnClick="btnTest_Click" runat="server"/>
</form>
</body>
</html>
Kbytes Home | Privacy Policy | Contact us | Testing Area
© 2004 - 2024 1 Oak Hill Grove Surbiton Surrey KT6 6DS Phone: +44(020) 8123 1321