|
-
Sep 29th, 2011, 07:14 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] datagridview format value - winform
The datagridview dgv is populated from a datatable.
One of the columns ion dgv is called cashValue which I would like it to have thousand separators. So during the population of the data in the dgv, I have this code:
dgv.Columns["CashValue"].DefaultCellStyle.Format = "C";
It seems to solve the thousand separator but I do not want the currency sign. Can I use this style but without the currency sign?
Thanks
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
|