引用web服务:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx 然后 cn.com.webxml.www.WeatherWebService weather = new cn.com.webxml.www.WeatherWebService(); string[] strs = weather.getWeatherbyCityName(eventArg); _callbackResult = strs[0]; for (int i = 1; i < strs.Length; i++) { _callbackResult += "/r/n" + strs[i]; } 好吧,我承认我只是想看看这个blog里面怎么插入代码而已。。。。