Sandeep Shekhawat

Sandeep Shekhawat

  • 917
  • 859
  • 908.2k

Error : Cannot convert type 'string' to 'net.webservicex.www.Currency' .

Jun 2 2011 8:30 AM
Error : Cannot convert type 'string' to 'net.webservicex.www.Currency' .

error comes from:

net.webservicex.www.CurrencyConvertor conver = new net.webservicex.www.CurrencyConvertor();       
        double d = conver.ConversionRate((Currency)ddfr.SelectedValue,(Currency)ddto.SelectedValue);


ddfr and ddto are dropdownlist.

Answers (3)