i have a problem here. I need to change the year automatically...ie i have given year 2009 in the text box, but it should change along with the change of the year................do anyone know the code for this......if so please help me thnks
mshravs
0
Junior Poster in Training
Recommended Answers
Jump to PostYou can use
DateTime.Today.Year
to get the current year. I useMath.Min()
and the year it was compiled to stop an older year from showing up since you know it must be >= compiled year.Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.