I have a very simple sounding winform task in my book. Using windows form. Fetch the latest currency rate in the text box.
1 USD = ??? INR
best solution to display converted currency I thought was to use Process method with a query string...
http://www.xe.com/ucc/convert.cgi?Amount=" + costTextBox.Text.ToString() + "&From=USD&To=INR"
But how to get and separate the value into the text box?
Instead of trying to scrap the value from the response from xe.com i would suggest to either purchase their services from here or use this free webservice
var result = client.ConversionRate(CurrencyConverterService.Currency.USD,
CurrencyConverterService.Currency.INR);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With