|
-
Jul 16th, 2008, 08:26 AM
#1
Thread Starter
Junior Member
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
-
Jul 16th, 2008, 11:52 AM
#2
Fanatic Member
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?
Last edited by rjv_rnjn; Jul 16th, 2008 at 12:06 PM.
-
Jul 16th, 2008, 03:34 PM
#3
Re: Dataformate Currency using a Gridview
How do you know HtmlEncode is not working and what result are you expecting?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|