I have included following webservice in my project
http://www.webservicex.net/CurrencyConvertor.asmx
There i got a function as ConversionRate() which takes parameters as follws
double Rate;
CurrencyConvertor ccs = new CurrencyConvertor();
Rate= ccs.ConversionRate(Currency.USD, Currency.INR);
lblResult.text=Rate.toString();
It works fine but, My application contains 2 textboxes where i want to manually show the conversion rates
I want to do as follows
Rate= ccs.ConversionRate(txtFromCurrency.text, txtToCurrency.text);
lblResult.text=Rate.toString();
so that application should atomatically convert rates and show in the lable
but ConversionRate() takes arguments as Currency.(Name of Currency)
Is there any method to send these textbox parameters to the function?