Sandeep Shekhawat

Sandeep Shekhawat

  • 776
  • 859
  • 907.3k

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)