【发布时间】:2015-06-11 08:50:27
【问题描述】:
如何显示GetCityForeCastByZip
我正在使用http://wsf.cdyne.com/WeatherWS/Weather.asmx。
我收到此错误消息:
无法将类型“Weather.WeatherService.ForecastReturn”隐式转换为“Weather.WeatherService.WeatherReturn”
WeatherService.WeatherReturn res = client.GetCityForecastByZIP();
【问题讨论】:
-
你能发布完整的错误信息吗?它应该说不能隐式地将“类型 X 转换为类型 Y”
标签: c# asp.net web-services weather