i attch pic with it where u can see textbox and comobox for managing time
at run time user will enter the time. but i want to automate it. like i digital clock
before it i use date n time picker in display i manage time through formate
but it only pic time when application is run not after that so all the patients have same
time how i can manag this if through timer can u provide code for cock using timer
thanks
Timer
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nattudurai EswaramurthyRank #5,536 · 296 reputationPosted Aug 15, 2012, 10:58 PM EDT
PLease go throught the following link
protected void Timer1_Tick(object sender, EventArgs e) {
Label1.Text = "UpdatePanel1 refreshed at: " + DateTime.Now.ToLongTimeString();
Label2.Text = "UpdatePanel2 refreshed at: " + DateTime.Now.ToLongTimeString();
}
http://msdn.microsoft.com/en-us/library/bb386404.aspx
Please mark this answer as accepted answer if it resolves your problem.
ta mu198 reputationPosted Aug 16, 2012, 1:18 AM EDT
on button click event when print button is pressed crunt time value will come out on print
if time setting option is availabe so very good when we run aplication we can reset time or
it pick system time.