0
CurrencyConvertor converter = new CurrencyConvertor();
double d = converter.ConversionRate(Currency.USD, Currency.INR);
This is the sample.
You should have one text box, where the user can enter the amoun. Add two dropdown, and load all the current enum values into that.
Then the user will select the from currency and to currency code values.
Hope this helps you.
Accepted 0 A lot of Thanks Murali Sir.
0 Add web referances but after that i can't method to currency convertor textboxes.
ConversionRate ( FromCurrency As Currency , ToCurrency As Currency ) As double method how use?
0 0 Hi Murali Sir
Basically i want know above web service (http://www.webservicex.net/ws/wsdetails.aspx?wsid=10) how consume in my web application.
0 Basically you need to know the exchange rate while converting the currency.
For this you can use the above mentioned web service.
Please visit
www.xe.com . One of the most online current converter.
They are also providing API to integrate it into your application.
http://www.xe.com/ucc/customize.php 0 Thanks Murali Sir for response.
But i can't understand use it in my asp.net web application.
Please explain it.
0 http://www.webservicex.net/ws/wsdetails.aspx?wsid=10