Gridview Currency Formatting - BoundField vs. Template Field

  • Thread starter Thread starter RCM
  • Start date Start date
R

RCM

I'm having trouble formatting a currency value in a template field. I
have searched around and found all sorts of suggestions on how to
handle a BoundField, most importantly the necessity of setting
HTMLEncode to false in order for the format string to apply.

But I can't figure out how to apply formatting when I have a column
that is a templated field. The EditItemTemplate is a text box and the
ItemTemplate is a label, but when I look at the properties for those
objects, I don't see anything controls the format.

Can somebody point me in the right direction?

Thanks a bunch!
 
Back
Top