摘要: 天气预报WebService网址http://www.webxml.com.cn/WebServices/WeatherWebService.asmx右击webapplication项目-->添加web引用-->输入网址-->GO-->添加引用,就可以调用该空间下的方法如:WeatherWebService.WeatherWebService wws = new WebService.WeatherWebService.WeatherWebService(); string[] str = wws.getWeatherbyCityName(this.TextBox1.T 阅读全文
posted @ 2011-12-02 10:21 liuzhenhua321 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 添加Web引用:http://www.webxml.com.cn/WebServices/WeatherWebService.asmxusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms; namespace 天气助手{ public partial class Weather : Form { public ... 阅读全文
posted @ 2011-12-02 10:16 liuzhenhua321 阅读(531) 评论(0) 推荐(0) 编辑
摘要: 添加Web引用:http://www.webxml.com.cn/WebServices/WeatherWebService.asmxusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace 天气助手{public partial class Weather : Form{public Weather(){Initial 阅读全文
posted @ 2011-12-02 10:01 liuzhenhua321 阅读(116) 评论(0) 推荐(0) 编辑