Hi,
I'm new to using the Repeater control, and for the most part I've got it working. However, what has stumped me now is figuring out how to format my data within the item template.
Code:
<itemtemplate>
<tr><td><div align="center"><%# Container.DataItem( "cost_date" ) %></div></td>
How do I format that as different date formats? I found that for my Container.DataItem( "cost" ) I can simply put a FormatCurrency() around the it to format as currency, haven't found such for a date though. Ideally I'd like to know how to format these Container.DataItem's any way I might like (number of decial places, multiple datetime formats, ect.)
Thanks,
Pat