摘要:
1.在javascript中调用WebService <scriptlanguage="javascript"> functionPostRequestData(URL,data){ varxmlhttp=newActiveXObject("Microsoft.XMLHTTP"); xmlhttp.Open("POST",URL,false); xmlhttp.SetRequestHeader("Content-Type","text/xml;charset=utf-8"); xml 阅读全文
posted @ 2013-04-08 15:16
骑牛射雕
阅读(294)
评论(0)
推荐(0)
摘要:
添加引用:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx.cs代码:WeatherWebServiceSoap w = new WeatherWebServiceSoapClient("WeatherWebServiceSoap"); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindPro(); BindCity(); } } //province protected void BindPro() 阅读全文
posted @ 2013-04-08 14:47
骑牛射雕
阅读(253)
评论(0)
推荐(0)
浙公网安备 33010602011771号