登录
首页 » C# » 动态调用WebService

动态调用WebService

于 2014-03-30 发布
0 188
下载积分: 1 下载次数: 0

代码说明:

动态调用WebService

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 关于datagridview控件的简单例子,更容易理解一些
    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 DataGridViewSample{ public partial class Form1 : Form { public static List Tests = new List(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { this.dataGridView1.DataSource = Tests; } private void button1_Click(object sender, EventArgs e) { frmAdd form = new frmAdd(null); if (form.ShowDialog() == DialogResult.OK) { this.dataGridView1.DataSource = null; this.dataGridView1.DataSource = Tests; } } private void button2_Click(object sender, EventArgs e) { if (this.dataGridView1.SelectedRows != null) { frmAdd form = new frmAdd(new Test( Convert.ToInt32(this.dataGridView1.SelectedRows[0].Cells[0].Value), Convert.ToDecimal(this.dataGridView1.SelectedRows[0].Cells[1].Value), Convert.ToDateTime(this.dataGridView1.SelectedRows[0].Cells[2].Value), this.dataGridView1.SelectedRows[0].Cells[3].Value.ToString())); if (form.ShowDialog() == DialogResult.OK) { this.dataGridView1.DataSource = null; this.dataGridView1.DataSource = Tests; } } } private void button3_Click(object sender, EventArgs e) { //使用前面示例中的代码,用DataGridView或者List来做导出都是可以的 } } public class Test { public Test(int id, decimal voltage, DateTime record, string remark) { ID = id; Voltage = voltage; Record = record; Remark = remark; } public int ID { get; set; } public decimal Voltage { get; set; } public DateTime Record { get; set; } public string Remark { get; set; } }}
    2015-06-11下载
    积分:1
  • Ninject依赖注入——构造函数、属性、方法和字段的注入 例子 附源码下载
    1、Ninject简介 Ninject是基于.Net平台的依赖注入框架,它能够将应用程序分离成一个个高内聚、低耦合(loosely-coupled, highly-cohesive)的模块,然后以一种灵活的方式组织起来。Ninject可以使代码变得更容易编写、重用、测试和修改。 Ninject官方网址为:http://www.ninject.org/ 。2、项目引用Ninject1>、 Tools -> Libaary Package Manager -> Package Manager Console,打开Package Manager Console窗口;2>、在Package Manager Console窗口中输入指令,Enter;1 PM> Install-Package Ninject3>、在项目中添加对Ninject的引用。3、Ninject使用Modules and the Kernel注入 Ninject中将类别以模块(Module)形式进行分组绑定,每一个模块代表应用程序的一个独立部分,这些模块可以根据需要进行组织。每一个模块都需要实现接口IModule,多数采用扩展StandardModule类来便捷实现。 Ninject依赖注入包括构造函数、属性、方法和字段的依赖注入
    2013-07-10下载
    积分:1
  • C#连接指纹机 实例源码下载
    C#连接指纹机 实例源码下载
    2014-05-29下载
    积分:1
  • 仿优酷播放器源码、视频网站源码(ffmpeg.exe实现)
    仿优酷播放器源码、视频网站源码(ffmpeg.exe实现)
    2014-07-22下载
    积分:1
  • ComboBox 绑定List ArrayList 数据源示例源码- 自定义类(多字段) DisplayMember
    msdn说: DisplayMember is set to the comboBox control, it uses the default ToString of the object,
    2014-08-24下载
    积分:1
  • listView实现导入,导出记事本文件
    listView实现导入,导出记事本文件
    2015-03-28下载
    积分:1
  • 砸金蛋代码实例
    砸金蛋被广泛应用于庆典活动、商家促销、电视娱乐等场合,它的趣味、悬念能迅速活跃现场气氛。同样,我们也可以将砸金蛋应用到WEB网站上,用于开展线上活动。本文将使用jQuery与PHP讲解如何实现一个WEB砸金蛋程序。
    2015-03-31下载
    积分:1
  • C# 操作防火墙(ipseccmd)示例源码
    C# 操作防火墙(ipseccmd)示例源码
    2018-03-14下载
    积分:1
  • 串口运动控制上位机/C#串口助手源码
    C#串口运动控制上位机源码,主要用于运动控制调试,比如在"M "栏输入1000,串口输出M 1000,,在"M-"输入1000,串口输出M-1000;下位机可根据指令进行区别驱动电机方向运动 串口运动控制上位机 └── 马达串口运动控制上位机     ├── SerialCommunicate     │   ├── Form1.Designer.cs     │   ├── Form1.cs     │   ├── Form1.resx     │   ├── Program.cs     │   ├── Properties     │   │   ├── AssemblyInfo.cs     │   │   ├── Resources.Designer.cs     │   │   ├── Resources.resx     │   │   ├── Settings.Designer.cs     │   │   └── Settings.settings     │   ├── SerialCommunicate.csproj     │   ├── bin     │   │   ├── Debug     │   │   │   ├── SerialCommunicate.exe     │   │   │   ├── SerialCommunicate.pdb     │   │   │   ├── SerialCommunicate.vshost.exe     │   │   │   └── SerialCommunicate.vshost.exe.manifest     │   │   └── Release     │   │       ├── SerialCommunicate.exe     │   │       ├── SerialCommunicate.pdb     │   │       ├── SerialCommunicate.vshost.exe     │   │       └── SerialCommunicate.vshost.exe.manifest     │   └── obj     │       ├── Debug     │       │   ├── DesignTimeResolveAssemblyReferences.cache     │       │   ├── DesignTimeResolveAssemblyReferencesInput.cache     │       │   ├── SerialCommunicate.Form1.resources     │       │   ├── SerialCommunicate.Properties.Resources.resources     │       │   ├── SerialCommunicate.csproj.FileListAbsolute.txt     │       │   ├── SerialCommunicate.csproj.GenerateResource.Cache     │       │   ├── SerialCommunicate.csprojResolveAssemblyReference.cache     │       │   ├── SerialCommunicate.exe     │       │   ├── SerialCommunicate.pdb     │       │   └── TempPE     │       └── Release     │           ├── 3ed801191daeeafe4f32720599873cc71f6b.png     │           ├── DesignTimeResolveAssemblyReferences.cache     │           ├── DesignTimeResolveAssemblyReferencesInput.cache     │           ├── QIcon Changer.exe     │           ├── SerialCommunicate.Form1.resources     │           ├── SerialCommunicate.Properties.Resources.resources     │           ├── SerialCommunicate.csproj.FileListAbsolute.txt     │           ├── SerialCommunicate.csproj.GenerateResource.Cache     │           ├── SerialCommunicate.csprojResolveAssemblyReference.cache     │           ├── SerialCommunicate.exe     │           ├── SerialCommunicate.pdb     │           └── TempPE     ├── SerialCommunicate.sln     └── SerialCommunicate.v11.suo 11 directories, 40 files
    2021-08-15 00:31:13下载
    积分:1
  • 抓取价格,EXcel导入导出
    抓取指定面上的价格并导入到Excel表中
    2013-11-30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载