<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
IF NOT Page.IsPostBack() Then
Me.Hidden1.Value = "Welcome to www.ThaiCreate.Com"
Me.lblText1.Text = "Version 2009"
End IF
End Sub
Sub Button1_OnClick(sender As Object, e As EventArgs)
Me.lblText1.Text = Me.Hidden1.Value
End Sub
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<input id="Hidden1" type="hidden" runat="server">
<input id="Button1" type="button" OnServerClick="Button1_OnClick" value="Button" runat="server" />
<hr />
<asp:Label id="lblText1" runat="server"></asp:Label>
</form>
</body>
</html>