TimeSpan DataFormatString in Gridview
<p>I have a gridview with an ObjectDataSource that comes from a linq query. </p>

<p>One of the variables of the source is a timespan and I'm binding a boundfield with the DataField="MyTimeSpanVariable". The data  contains times in seconds and minutes and very rarely in hours.</p>

<p>The data displays fine in its native format but when I add HtmlEncode="false" DataFormatString="{0:hh:mm:ss}" to the boundfield properties in the aspx page, it crashes on the MyGridView.Databind() line. What am I doing wrong?</p>

<p>Thanks.</p>
