Hi,
i have textboxes with times want to add all .rt now i got addition of all textboxes but total of that textbox output(3:005:00) something like this
sundaytotal 03:00:00
mondaytotal 02:00:00
tuesdaytotal 03:00:00
.
.
.
total.text 03:00 05:00 08:00 (in the textbox i got this value) but i want only 08:00:00
below is my code please check if any mistakes
string totalHrs=string.empty//can i take double here
if (txt_SunServiceHrs.Text.Length > 0)
{
TimeSpan val11;
string sun = txt_SunServiceHrs.Text;
TimeSpan.TryParse(sun, out val11);
TimeSpan breaktime1 = new TimeSpan();
breaktime1 = val11;
TimeSpan standardTime = TimeSpan.FromHours(40);
txt_standard.Text = FormatHours(standardTime);
txt_OverTimeHrs.Text = Form ...
Go to the complete details ...