Datagrid item formatting

samsmithnz

Senior Contributor
Joined
Jul 22, 2003
Messages
1,038
Location
Boston
I'm trying to format a datagrid item, but I can't seem to find a good place to do it. Its being bound from a dataset, and I have this line:
Code:
<%# DataBinder.Eval(Container.DataItem, "invoice_amount")%>

I've tryed variations of:
Code:
<%# DataBinder.Eval(Container.DataItem, "invoice_amount").ToString("0.00")%>
<%(# DataBinder.Eval(Container.DataItem, "invoice_amount")).ToString("0.00")%>

But none of them even compile... what can I do???
 
Back
Top