实例介绍
参照这个网址http://zhangkui.blog.51cto.com/1796259/497324。实现C#调用WebService实现天气预报获取。完全能用。自己有编译通过。
【实例截图】
【核心代码】
WindowsFormsApplication2
└── WindowsFormsApplication2
├── image
│ ├── 0.gif
│ ├── 10.gif
│ ├── 11.gif
│ ├── 12.gif
│ ├── 13.gif
│ ├── 14.gif
│ ├── 15.gif
│ ├── 16.gif
│ ├── 17.gif
│ ├── 18.gif
│ ├── 19.gif
│ ├── 1.gif
│ ├── 20.gif
│ ├── 21.gif
│ ├── 22.gif
│ ├── 23.gif
│ ├── 24.gif
│ ├── 25.gif
│ ├── 26.gif
│ ├── 27.gif
│ ├── 28.gif
│ ├── 29.gif
│ ├── 2.gif
│ ├── 30.gif
│ ├── 31.gif
│ ├── 3.gif
│ ├── 4.gif
│ ├── 5.gif
│ ├── 6.gif
│ ├── 7.gif
│ ├── 8.gif
│ ├── 9.gif
│ ├── a_0.gif
│ ├── a_10.gif
│ ├── a_11.gif
│ ├── a_12.gif
│ ├── a_13.gif
│ ├── a_14.gif
│ ├── a_15.gif
│ ├── a_16.gif
│ ├── a_17.gif
│ ├── a_18.gif
│ ├── a_19.gif
│ ├── a_1.gif
│ ├── a_20.gif
│ ├── a_21.gif
│ ├── a_22.gif
│ ├── a_23.gif
│ ├── a_24.gif
│ ├── a_25.gif
│ ├── a_26.gif
│ ├── a_27.gif
│ ├── a_28.gif
│ ├── a_29.gif
│ ├── a_2.gif
│ ├── a_30.gif
│ ├── a_31.gif
│ ├── a_3.gif
│ ├── a_4.gif
│ ├── a_5.gif
│ ├── a_6.gif
│ ├── a_7.gif
│ ├── a_8.gif
│ ├── a_9.gif
│ ├── a_nothing.gif
│ ├── b_0.gif
│ ├── b_10.gif
│ ├── b_11.gif
│ ├── b_12.gif
│ ├── b_13.gif
│ ├── b_14.gif
│ ├── b_15.gif
│ ├── b_16.gif
│ ├── b_17.gif
│ ├── b_18.gif
│ ├── b_19.gif
│ ├── b_1.gif
│ ├── b_20.gif
│ ├── b_21.gif
│ ├── b_22.gif
│ ├── b_23.gif
│ ├── b_24.gif
│ ├── b_25.gif
│ ├── b_26.gif
│ ├── b_27.gif
│ ├── b_28.gif
│ ├── b_29.gif
│ ├── b_2.gif
│ ├── b_30.gif
│ ├── b_31.gif
│ ├── b_3.gif
│ ├── b_4.gif
│ ├── b_5.gif
│ ├── b_6.gif
│ ├── b_7.gif
│ ├── b_8.gif
│ ├── b_9.gif
│ ├── b_nothing.gif
│ ├── nothing.gif
│ ├── r_b.gif
│ ├── Read me.txt
│ ├── r_t1.gif
│ ├── tem1.gif
│ ├── tem2.gif
│ ├── tem3.gif
│ ├── tem4.gif
│ └── tem5.gif
├── WindowsFormsApplication2
│ ├── app.config
│ ├── bin
│ │ └── Debug
│ │ ├── WindowsFormsApplication2.exe
│ │ ├── WindowsFormsApplication2.exe.config
│ │ ├── WindowsFormsApplication2.pdb
│ │ ├── WindowsFormsApplication2.vshost.exe
│ │ ├── WindowsFormsApplication2.vshost.exe.config
│ │ └── WindowsFormsApplication2.vshost.exe.manifest
│ ├── callWebservice.csproj
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── obj
│ │ └── x86
│ │ └── Debug
│ │ ├── callWebservice.csproj.FileListAbsolute.txt
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GenerateResource.read.1.tlog
│ │ ├── GenerateResource.write.1.tlog
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── TempPE
│ │ │ └── Service References.Weather.Reference.cs.dll
│ │ ├── WindowsFormsApplication2.csproj.FileListAbsolute.txt
│ │ ├── WindowsFormsApplication2.exe
│ │ ├── WindowsFormsApplication2.Form1.resources
│ │ ├── WindowsFormsApplication2.pdb
│ │ └── WindowsFormsApplication2.Properties.Resources.resources
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── DataSources
│ │ │ └── System.Data.DataSet.datasource
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ └── Service References
│ └── Weather
│ ├── configuration91.svcinfo
│ ├── configuration.svcinfo
│ ├── Reference.cs
│ ├── Reference.svcmap
│ ├── WeatherWebService.disco
│ └── WeatherWebService.wsdl
├── WindowsFormsApplication2.sln
└── WindowsFormsApplication2.suo
13 directories, 145 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论