1.创建服务引用例如:天气预报2.在代码添加引用空间1TvProgram.ChinaTVprogramWebServicetp=newTvProgram.ChinaTVprogramWebService();2DataSetds=tp.getAreaDataSet();ViewCode3.引用具体方法1privatevoidcomboBox1_SelectedIndexChanged(objectsender,EventArgse)2{3ComboBoxcb=(ComboBox)sender...
查看全文