8
Answers

Universal Currency Converter ?

How can develop live universal currency converter in asp.net with C# ?
Answers (8)
0
Muralidharan Deenathayalan

Muralidharan Deenathayalan

NA 11.9k 1.5m 13y


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
Sandeep Shekhawat

Sandeep Shekhawat

NA 853 854.7k 13y
A lot of Thanks Murali Sir.
0
Sandeep Shekhawat

Sandeep Shekhawat

NA 853 854.7k 13y
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
Muralidharan Deenathayalan

Muralidharan Deenathayalan

NA 11.9k 1.5m 13y

Add this as web reference in your application... and use it.

http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
0
Sandeep Shekhawat

Sandeep Shekhawat

NA 853 854.7k 13y
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
Muralidharan Deenathayalan

Muralidharan Deenathayalan

NA 11.9k 1.5m 13y

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
Sandeep Shekhawat

Sandeep Shekhawat

NA 853 854.7k 13y
Thanks Murali Sir for response.

But i can't understand use it in my asp.net web application.
Please explain it.
0
Muralidharan Deenathayalan

Muralidharan Deenathayalan

NA 11.9k 1.5m 13y
http://www.webservicex.net/ws/wsdetails.aspx?wsid=10