<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
    Protected Sub btnHello_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnHello.Click
        lblMessage.Text = "Witaj. Aktualna godzina to " & DateTime.Now.ToLongTimeString()
    End Sub
</script>

<html>
<head id="Head1" runat="server">
   <title>Model pojedynczego pliku</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <h1>Model pojedynczego pliku</h1>
      <asp:Button ID="btnHello" runat="server" 
         Text="Witaj" OnClick="btnHello_Click" />
      <br />
      <asp:Label ID="lblMessage" runat="server" />
   </div>
   </form>
</body>
</html>
