I am building a website in which I need to show the price of items in different currencies depending on the country chosen by the user.The price has to be dynamically updated daily based on the exchange rate. How do I go about doing this in ASP.NET?
I need to show the price of items in different currencies depending on the country chosen by the user.
This suggests you to have a dropdown where user can select country and thus currency.
Based on the dropdown selection, get the latest data, convert anything that needs to be based on currency multiplier and then use the modified data as input for the page display.
Actually,I'm not using a dropdown list.The website is an international one in which there are different home pages for different countries.So,I want to show the images and prices of different watches on the website and the price should be updated dynamically depending on the exchange rate.So,how do I get the exchange rate values to do such a dynamic update?
The website is an international one in which there are different home pages for different countries.
Even then, there must be something that is driving the localization. Dropdown is just a way to know what country/currency. Whichever way you are chaning your homepage, based on the same paramter your data should be changed/driven.