<%@ Page Language="VB" %>
<script runat="server">
Sub Button1_Click(Sender as Object, e as EventArgs)
Label1.Text="You clicked <b>" & Sender.Text & "</b>"
end Sub
</script>
<html><body>
<form runat="server">
<asp:Button id=Button1 runat="server" Text="Button1"
onClick="Button1_Click" />
<asp:Label id=Label1 runat=server />
</form>
</body></html>
|