I need to show inside a repeater the remaining time for a sale object to end, which has DateTime ends property.
Based on https://stackoverflow.com/a/4386305/8383866 I tried to make it work but I'm getting:
) expected.
But I'm sure there is no parenthesis missing.
Ends in: <%#string.Format("{0:hh\\:mm\\:ss}", (TimeSpan)(DateTime.Now - (DateTime)Eval("finaliza")));%>