Hi guys!
I'm new on .NET technology, i have label control on my page and i want to display today's date in that label control using codebehind file .cs
plz. help me out...
thanx
come2u
blah blah blah is here! blah blah » Close
1 answers
In some suitable method (maybe Page_Load() ) insert code like this:
aLabel.Text = DateTime.Now.ToString();
answered 2 years ago by:
0
label1.Text = DateTime.Now.ToShortDateString();
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!