摘要: c# 以post方式发送数据/// /// POST请求 /// /// 请求地址 /// 请求值 /// 编码格式 /// public string GetHttpPostResponse(string url, string val, Encoding encoding) { string strResult = string.Empty; try { HttpWebRequest myReq = (HttpWebRequest)HttpWebRequest.Create... 阅读全文
posted @ 2013-06-24 13:55 王洪洪 阅读(3859) 评论(0) 推荐(0) 编辑
摘要: 步骤一、LR中新建web services协议脚本。步骤二、点击“Manage Services-Import”,输入接口地址。(地址后加“?WSDL”)步骤三、点击“Import”。点击“ok”。步骤四、点击“Add Service Call-Input Arguments下面的项目Value”,输入请求串儿。步骤五、点击“ok”,自动生成脚本。 阅读全文
posted @ 2013-06-08 13:30 王洪洪 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 步骤01 LR中新建web services协议脚本。 步骤02 点击“Manage Services-Import”,输入接口地址。(地址后加“?WSDL”) 步骤03 点击“Import”。点击“ok”。 步... 阅读全文
posted @ 2013-06-08 11:55 王洪洪 阅读(681) 评论(0) 推荐(0) 编辑
摘要: sql server 在修改表结构时提示不允许保存更改提示时,如何解决 更改表结构时出现如下提示框: 解决方法:工具->选项 阅读全文
posted @ 2013-06-08 09:41 王洪洪 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 更改表结构时出现如下提示框:解决方法:工具->选项 阅读全文
posted @ 2013-06-08 09:40 王洪洪 阅读(264) 评论(0) 推荐(0) 编辑
摘要: /// /// JSON 的摘要说明。 /// public class JSON { private static readonly string Json_A = "3A3B1A16-F697-4a32-A0B0-2515BB4692F5"; ... 阅读全文
posted @ 2013-06-07 15:02 王洪洪 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 异步执行sql语句 using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WinInterfaceCallBackVs08{ class Class1 ... 阅读全文
posted @ 2013-06-07 15:00 王洪洪 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 第一、创建一个Windows服务 第二、在自动生成的Program类中写你要写的代码 using System;using System.Collections.Generic;using System.Linq;using System.ServiceProcess;using S... 阅读全文
posted @ 2013-06-07 15:00 王洪洪 阅读(85) 评论(0) 推荐(0) 编辑
摘要: sql中写事物和c#中执行事物 第一、sql中写事物 begin try begin transaction insert into shiwu (asd) values ('aasdasda'); commit transaction end try begin catch... 阅读全文
posted @ 2013-06-07 14:59 王洪洪 阅读(154) 评论(0) 推荐(0) 编辑
摘要: private static object sign = new object(); public static DBHelper CreateMapping(string connStr = "") { DBHelper db = new D... 阅读全文
posted @ 2013-06-07 14:58 王洪洪 阅读(5823) 评论(0) 推荐(0) 编辑