Hai,
In my project I need to enter the machine running time , Total running time and Idle time in datgridview cells .
Here I want to set the time format in datgridview cells, which means I just enter only the number ,system will separate the hour and minutes.
For an example:
I am just typing only the numbers 1100,1200 like vise.
| starttime | endtime | totaltime | idle time |
| 11:00AM | 12:00PM | 13:00 | 02:00 |
How can I do this. Here total time will calculate automatically based on the start and end time . How can I do this , please anybody help this question I need to finish it quickly.
Thanks in advance.

Mohammad AmanPosted Nov 20, 2015, 6:09 AM
Pavithra LPosted Nov 20, 2015, 6:01 AM
Pavithra LPosted Nov 20, 2015, 5:57 AM
Mohammad AmanPosted Nov 20, 2015, 5:51 AM
");
Ravi KumarPosted Nov 20, 2015, 5:49 AM
Gowtham RajamanickamPosted Nov 20, 2015, 5:44 AM
Raja TPosted Nov 20, 2015, 5:42 AM
Pavithra LPosted Nov 20, 2015, 5:31 AM
Raja TPosted Nov 20, 2015, 5:28 AM
Pavithra LPosted Nov 20, 2015, 5:23 AM
Mohammad AmanPosted Nov 20, 2015, 5:13 AM
Ravi KumarPosted Nov 20, 2015, 5:07 AM
Raja TPosted Nov 20, 2015, 5:05 AM
string input = "1100";Console.WriteLine("Substring: "+ sub)more details checkout below urlhttp://www.dotnetperls.com/substring
Ravi KumarPosted Nov 20, 2015, 4:57 AM
Pavithra LPosted Nov 20, 2015, 4:53 AM
Ravi KumarPosted Nov 20, 2015, 4:21 AM
Pavithra LPosted Nov 20, 2015, 4:18 AM
Pavithra LPosted Nov 20, 2015, 4:15 AM
Ravi KumarPosted Nov 20, 2015, 4:13 AM
Mohammad AmanPosted Nov 20, 2015, 3:59 AM
Pavithra LPosted Nov 20, 2015, 3:36 AM
Ravi KumarPosted Nov 20, 2015, 2:11 AM
Pavithra LPosted Nov 20, 2015, 1:59 AM
Ravi KumarPosted Nov 19, 2015, 3:06 AM