配置HOST信息方法: 路径C:\Windows\System32\drivers\etc\hosts文件 客户端身份验证安全凭证 server.Credentials = new NetworkCredential("POSCONN", "POS123"); Read More
posted @ 2017-09-04 09:23 songyulan Views(114) Comments(0) Diggs(0) Edit
.net2.0主程序app.config中增加 .net4.0环境生成的dll中相关配置不能写入.net2.0主程序的config文件,领导给的原因是不能影响主程序环境下的发布配置。dll库如何调用自己的配置文件?使用ini配置文件 配置参数取值,配置文件优先于数据库配置 其中ContentValu Read More
posted @ 2017-07-28 16:27 songyulan Views(1400) Comments(0) Diggs(0) Edit
解决方法: C#端使用下面的代码时,java可以成功交易,但是接收到日期时间数据与C#端相差8个小时 随后,java端做了修改调整,使用tostring("")做的交易 转义字符"\" 直接使用eInvoiceQRet转换时,发现“{"fpqqlsh":"300011700040092","code Read More
posted @ 2017-07-20 14:21 songyulan Views(522) Comments(0) Diggs(0) Edit
另外 之前用过 AES加密 Read More
posted @ 2017-07-12 10:37 songyulan Views(203) Comments(0) Diggs(0) Edit
D:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl /language:c# /n:HuZstbxInter /out:c:/baoxunInterface.cs http://url D:\Program Files Read More
posted @ 2017-07-11 13:53 songyulan Views(417) Comments(0) Diggs(0) Edit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or Read More
posted @ 2016-11-09 10:51 songyulan Views(87) Comments(0) Diggs(0) Edit
posted @ 2016-10-20 17:48 songyulan Views(93) Comments(0) Diggs(0) Edit
C# 参考之方法参数关键字:params、ref及out 如果在为方法声明参数时未使用 ref 或 out,则该参数可以具有关联的值。可以在方法中更改该值,但当控制传递回调用过程时,不会保留更改的值。通过使用方法参数关键字,可以更改这种行为。 来自 <http://www.cnblogs.com/h Read More
posted @ 2016-10-19 17:24 songyulan Views(393) Comments(0) Diggs(0) Edit
Bitmap bm = new Bitmap(this.BackgroundImage, this.Width, this.Height); //绘制矩形,定义你需要截取的图像起始位置和宽高 Rectangle r = new Rectangle(this.gdbSchem.Location.X, Read More
posted @ 2016-08-20 14:43 songyulan Views(120) Comments(0) Diggs(0) Edit
#region 根据枚举名称获取值或反之 /// <summary> /// 根据枚举的名称,得到该枚中该名称对应的值 /// </summary> /// <param name="p_EnumVar">指定的枚举</param> /// <param name="p_Name">名称</para Read More
posted @ 2016-08-20 14:29 songyulan Views(123) Comments(0) Diggs(0) Edit