using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using 天气预报.com.ayandy.www;namespace 天气预报
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void button1_Click(object sender, EventArgs e)
{
com.ayandy.www.Service weather = new 天气预报.com.ayandy.www.Service();
weather.getSupportCityCompleted += new com.ayandy.www.getSupportCityCompletedEventHandler(A);
weather.getSupportCityAsync("成都", theDayFlagEnum.Tomorrow);
}
public void A(object sender, getSupportCityCompletedEventArgs e)
{
this.textBox1.Text = e.Result[0];
} }
}添加web引用http://www.ayandy.com
只是简单的天气预报异步调用
public void A(object sender, getSupportCityCompletedEventArgs e)
{
this.textBox1.Text = e.Result[0];
}这部分有些问题,没有思路,希望给点帮助
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using 天气预报.com.ayandy.www;namespace 天气预报
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void button1_Click(object sender, EventArgs e)
{
com.ayandy.www.Service weather = new 天气预报.com.ayandy.www.Service();
weather.getSupportCityCompleted += new com.ayandy.www.getSupportCityCompletedEventHandler(A);
weather.getSupportCityAsync("成都", theDayFlagEnum.Tomorrow);
}
public void A(object sender, getSupportCityCompletedEventArgs e)
{
this.textBox1.Text = e.Result[0];
} }
}添加web引用http://www.ayandy.com
只是简单的天气预报异步调用
public void A(object sender, getSupportCityCompletedEventArgs e)
{
this.textBox1.Text = e.Result[0];
}这部分有些问题,没有思路,希望给点帮助
http://webservice.36wu.com/DimensionalCodeService.asmx公交查询Web服务
http://webservice.36wu.com/mapService.asmx
ISBN查询Web服务
http://webservice.36wu.com/ISBNService.asmx
ICP备案查询Web服务 http://webservice.36wu.com/ICPServic.asmx