radix3 wrote:
timer1.Interval = dr[0].ToString();
How can Interval be String??
If I am getting you right, you have a time stored in database.
So what's the problem?
When the application starts, get the time from database, calculate the difference and find the interval. Set the Timer interval to that time.
If this is not what you are trying, please elaborate.
[Original Griff] I don't see a reason why your answer is down-voted. My 5 to compensate it. Cheers!