Simple ASP.NET vb aspx page in Dreamweaver
Account Home | Help | Blog | Contact us | Log Out


Welcome to Kbytes > Articles

Simple ASP.NET vb aspx page in Dreamweaver

Posted By: siteadmin on 31/03/2013 00:29:00

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>


blog comments powered by Disqus

Kbytes Home | Privacy Policy | Contact us | Testing Area

© 2004 - 2024 1 Oak Hill Grove Surbiton Surrey KT6 6DS Phone: +44(020) 8123 1321