I've a requirement in which I have a start and End time. For instance let us assume the start time as 10:00 and end time as 17:30. I need increment this in 1 minute and 5 minute intervals.
For example if I click the button named "Increment 5 mins" the series should be like this,
10:00 10:05 10:10
...
17:30
if I click the button " incrment 1 min", then the series should be
10:00 10:01 10:02 .....
17:30.
It would be really appreciated if some one can explain me with code how to implement this using c# and also how to write a stored procedure to implement the same( SQL Server)