Greg Saladino
Greg Saladino

Reputation: 87

WinForms DataGridView Currency Formatted Column Shows Scarab (¤) Instead of Local Symbol ($)

I have a couple of WinForms apps that use datagridviews to display currency fields. I set the columns as currency in this manner:

dgv.Columns["Cost"].DefaultCellStyle.Format = "C2";

However, it seems that after the app has been open for a while, the dollar sign "$" will switch to a scarab (¤).

enter image description here

Once this happens, the user needs to restart the app, and then it will work again for some random amount of time. Is there any way that I can prevent this from happening?

Thanks!

Upvotes: 1

Views: 225

Answers (0)

Related Questions