I'm not sure what's going on here, but it will accept some timespans, but not others. Can someone show me a way to check for a vaild time span in this format 99:59:59.
//50:30:00 is bad
//50:20:00 is good
try
{
TimeSpan ts = new TimeSpan();
ts = TimeSpan.Parse("50:30:00");
}
catch //(Exception ex)
{
MessageBox.Show("bad time span");
}