Madmike's Blog

September 26, 2009

How should you make a Currency Convertor?

Filed under: Asp.net,C#,Java,Programming,Webservice — Florescu Radu @ 13:11
Tags: , , ,

A smart guy made a very good web service that gives you all the values you need from the BNR (National Bank of Romania) , you can use it like I did.
Include e web service reference in your Visual Studio project , then you use a code like this to get all the info you need ,for your project.`
Link to your web service here
The code to get the currency is down here:
Curs c = new Curs();
double d=c.getlatestvalue(“eur”);
Console.WriteLine(d);

Have fun using it

Advertisement

Create a free website or blog at WordPress.com.