i got a problem creating a Sum of String Values in a GroupFooter, wich i convertet into a DateTime Object. I tried this code:
Code: Select all
{
myTable.column1 == "stringValue" ?
(SumTime(DateTime.Parse(myTable.column2)).Hours +
SumTime(DateTime.Parse(myTable.column2)).Days * 24).ToString("00")+ ":" +
SumTime(DateTime.Parse(myTable.column2)).Minutes.ToString("00") : "nope"
}
Thanks!!!