资源简介
c# winform 调用公共天气预报webservice接口,初学者参考,大神忽略
代码片段和文件信息
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;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public WeatherWS.WeatherWS ws;
public Form1()
{
InitializeComponent();
ws = new WeatherWS.WeatherWS();
}
private void button1_Click(object sender EventArgs e)
{
DataSet ds = ws.getRegionDataset();
DataTable dt=ds.Tables[0];
String str_temp;
this.comboBox1.Items.Clear();
//for (int i = dt.Rows.Count-1; i >=0; i--)
for (int i = 0; i < dt.Rows.Count; i++)
{
str_temp=dt.Rows[i][0].ToString() + dt.Rows[i][1].ToString();
this.comboBox1.Items.Add(str_temp);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 950 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\app.config
文件 23040 2016-12-21 13:25 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
文件 950 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
文件 56832 2016-12-21 13:25 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
文件 11608 2016-12-23 09:34 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
文件 950 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
文件 490 2010-03-17 22:39 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
文件 3440 2016-12-21 13:25 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs
文件 5591 2016-12-21 12:54 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Form1.Designer.cs
文件 5817 2016-12-21 12:54 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Form1.resx
文件 1479 2016-12-23 09:31 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6908 2016-12-21 13:25 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 15872 2016-12-21 09:42 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\TempPE\Web References.WeatherWS.Reference.cs.dll
文件 2224 2016-12-23 09:34 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
文件 847 2016-12-21 13:18 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache
文件 23040 2016-12-21 13:25 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.exe
文件 180 2016-12-21 13:18 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Form1.resources
文件 56832 2016-12-21 13:25 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.pdb
文件 180 2016-12-21 09:44 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources
文件 505 2016-12-21 09:28 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs
文件 1390 2016-12-21 09:28 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\AssemblyInfo.cs
文件 2900 2016-12-21 09:28 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.Designer.cs
文件 5612 2016-12-21 09:28 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.resx
文件 1744 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.Designer.cs
文件 533 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.settings
文件 21900 2016-12-21 09:42 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Web References\WeatherWS\Reference.cs
文件 602 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Web References\WeatherWS\Reference.map
文件 755 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Web References\WeatherWS\WeatherWS.disco
文件 29712 2016-12-21 09:33 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\Web References\WeatherWS\WeatherWS.wsdl
文件 5061 2016-12-21 09:44 WS Test\WindowsFormsApplication1\WindowsFormsApplication1\WindowsFormsApplication1.csproj
............此处省略19个文件信息
相关资源
- xnby_883749.zip
- TOGAF培训讲义-周金根.pdf
- OS12.2驱动,手机虚拟定位软件,Loca
- 大话系列-大话数据结构(pdf高清版)
- 梁宁产品经理思维30讲.pdf
- CHI760E辰华电化学工作站软件最新版
- SAPERPHCM葵花宝典系列之配置指南(电
- TangZhuoLin.rar
- Day3_NOI.zip
- 图解HTTP.pdf
- VisionProStandardv7.2(2Day).zip
- ElevatorSimulation.zip
- 14002454IPC-A-610DChinese(L).pdf
- SoftwareEngineering.pdf
- linfanrong_10164999.rar
- The.Art.Of.Unit.Testing.With.Examples.in.C.2nd
- myGame.rar
- 带手机版数据同步财税代理公司注册
- pdf课本及习题答案.rar
- 深度学习PDF非扫描版(中文版)麻省
- doudizhu_shffule_src.zip
- 随机信号分析解题指南.pdf
- ios12.3驱动.zip
- 百万邮件系统多机版.rar
- learnopengl-cn-2018年5月更新.pdf
- zw_学习OpenCV(中文版).zip
- 1-300.pdf
- pyqt5windows生成二维工具源码
- KNN疾病预测算法Demo
- ABAQUS单元失效浅析(单元删除
评论
共有 条评论