samsmithnz
Senior Contributor
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:
I've tryed variations of:
But none of them even compile... what can I do???
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???