Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I am having form which should show current time and date at status bar on page load...using windows forms app...c#.net
Posted
Comments
OriginalGriff 2-Dec-10 3:41am    
So? What have you tried?

1 solution

Dear Narendra,

1.Add status strip on form from tool box.
2.Press f4 on it and in items collection property add tool strip label .
3.on form load set the current date time value.

C#
this.toolStripStatusLabel1.Text = System.DateTime.Now.ToString ();
 
Share this answer
 
v2
Comments
Member 13049972 13-Apr-17 13:38pm    
but the time and date is after started its the same second and minutes are not chaning,like freezed

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900