Click here to Skip to main content
15,942,934 members
Please Sign up or sign in to vote.
1.60/5 (3 votes)
See more:
Hi All

How to get the Latest Currency Exchange Rate in your Application.Is there any build-in API for getting the latest exchange rates from the web.


The Requirement is i have one calculated value in Indian Rupee, on selected Currency from a dropdownlist the value should change.

For example if i select USD from dropdownlist the Calculated value should converted to USD.
For this i want to use some WebService to get the latest Exchange Rates from the Web.

OnselectedIndexchange event of dropdownlist i want to call the webservice to get data for different World Currencies.
Updated 10-Jul-13 2:33am
[no name] 10-Jul-13 7:24am    
No there is nothing built in. You have to find a web service and get your data from that.

Share this answer
Manfred Rudolf Bihy 10-Jul-13 9:23am    
Nice find!
Hi Everyone i got the solution for the above Question.

GO to, this is providing a WebService for ExchangeRate

Here is the code what i did.

Add service Reference in your Client Application

Then Create the proxy Object in your Client Application

CurrencyExchange.CurrencyConvertor exchangerate = new CurrencyExchange.CurrencyConvertor();
double exchangevalue;
if (DropDownListcurrencies.SelectedValue == "UAE Dhiram")
exchangevalue = exchangerate.ConversionRate(CurrencyExchange.Currency.INR,CurrencyExchange.Currency.AED);
resultuae = result * Convert.ToDecimal(exchangevalue);
Share this answer
Member 12604468 1-Jul-16 12:13pm    
please can some help with a web service currency converter source code in visual basic

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900