Thank you for viewing the source code to
default.aspx.
If you see any bugs in this code, please
Let me know! I will be
happy to correct the problem.
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.lblTwinsAge.Text = DateDiff(DateInterval.Year, New Date(1996, 3, 16), Date.Now()) - 1.ToString
Me.lblBrandonAge.Text = DateDiff(DateInterval.Year, New Date(1998, 9, 16), Date.Now()) - 1.ToString
Me.lblExperience.Text = DateDiff(DateInterval.Year, New Date(1986, 6, 22), Date.Now()) - 1.ToString
Me.lblConsulting.Text = DateDiff(DateInterval.Year, New Date(1996, 9, 21), Date.Now()) - 1.ToString
End Sub
End Class
Copyright © 1984-2024 Dennis Day
All rights reserved