Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class Site : System.Web.UI.MasterPage
- {
- //page load event
- protected void Page_Load(object sender, EventArgs e)
- {
- //displaying current date on the label
- lblDate.Text = DateTime.Now.ToString();
- }
- }
- <header>
- <h2>Two Column Layout.</h2>
- <br />
- <div id="displayDate">
- <asp:Label runat="server" ID="lblDate" />
- </div>
- <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="MillerDylanTwoColumn.site" %>
Add Comment
Please, Sign In to add comment