I am trying to read a value from excel and assign it to the delay activity. I assign the excel value e.g 00:00:15 to a string variable with:
varDelayStr = row.item(0).ToString
Then I assign the above to a TimeSpan variable with:
varDelay = TimeSpan.Parse(varDelayStr)
When I run my process I get an error stating String was not recognised as valid timespan
Please could someone give me a pointer to where I am going wrong.
Thanks for any help