I have a web application that tracks financial data. I would like to have the option where a user can edit their currency via dropdown. The different currency types will be held in a database and a user can then select which currency they wish to use. The easiest way I can see doing this would be to check what the currency value is and dynamically change the culture to match the currency, thus I could continue to use the
string str = String.Format("{0:C}", revenue);
format. I am open to other suggestions but this just seemed the most logical to me. How can I handle this?
I have a web application that tracks financial data. I would like to have
Share
I have found the easiest way to do this is to create a base class that inherits the Page. Then it is a simple override to the InitializeCulture() function.
Thanks for the help guys!