Dataformate Currency using a Gridview
Hello everyone,
After my DLL prob (thnx guyz), i know have a new problem :(.
I have a gridview with several columns, these columns are databinded on my BLL class (wich connects on a dataset). 2 Columns are doubles wich i want to format into currency (Euro's). So i go to the Edit Columns menu on my datagrid and change the dataformatstring into {0:C}. After that i remember that the htmlencode should be false (i love those tutorials(a)). So i set the HTMLencode on false. But nothing happens! Does anybody know what i'm doing wrong? :S
Re: Dataformate Currency using a Gridview
Can you try with a small 'c' in {0:C}? Though MS is not case sensitive in most cases but in this case I'm not sure. I'll also give it a try.
EDIT: I tried it. It doesn't make a difference (though the case matters for Date formats as it gives you different values for different case).
Nothing happens imply that you're able to see the value without any formatting or no values are visible at all?
Re: Dataformate Currency using a Gridview
How do you know HtmlEncode is not working and what result are you expecting?