Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>My First ASP.NET Page</title>
- <script runat="server" language="C#">
- protected void Page_Load(object sender, EventArgs e)
- {
- timeLabel.Text = DateTime.Now.ToString();
- }
- </script>
- </head>
- <body>
- <p>Hello there!</p>
- <p>The time is now:
- <asp:Label runat="server" id="timeLabel" /></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement