formatting Gridview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to format the GridView on my web form and its not working.

for money I have {0:C} and for date fields, I have {0:d} and the format
isn't changing, what else do I need to do to get the formatting working in
the gridView?
 
I've had the same problem with GridView not taking the format command. I've
simply converted the column to a template at the formatting then works.

Peter Kellner
http://peterkellner.net
 
Actually I got it working without doing that. I changed HTML EnCode = false
and your formatting will work
 
thanks for letting me know! One less mystery.

CSharpguy said:
Actually I got it working without doing that. I changed HTML EnCode =
false
and your formatting will work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top