07 2017 档案

摘要:http://blog.csdn.net/wulex/article/details/71545471 路由 public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttribu 阅读全文
posted @ 2017-07-27 14:33 李文平 阅读(429) 评论(0) 推荐(0) 编辑
摘要:System.Threading.Thread thread = new System.Threading.Thread(() => { //各种业务 //定义一个委托 public delegate void ProcessDelegate(string a); if (this.lbStatus 阅读全文
posted @ 2017-07-26 18:04 李文平 阅读(387) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// C#调用接口上传json数据,并且带文件上传 /// </summary> /// <param name="url">接口地址</param> /// <param name="filePath">文件路径</param> /// <returns></retu 阅读全文
posted @ 2017-07-25 14:38 李文平 阅读(2116) 评论(0) 推荐(0) 编辑
摘要:public void GPG() { string password = "1234567890"; System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("cmd.exe"); psi. 阅读全文
posted @ 2017-07-21 13:56 李文平 阅读(1571) 评论(0) 推荐(0) 编辑
摘要:#region 图片转为base64编码的字符串 public string ImgToBase64String(string Imagefilename) { try { Bitmap bmp = new Bitmap(Imagefilename); MemoryStream ms = new M 阅读全文
posted @ 2017-07-20 16:35 李文平 阅读(17062) 评论(1) 推荐(0) 编辑
摘要:在Windows系统使用Gpg4win进行加密解密 在Windows系统使用Gpg4win进行加密解密 2015-06-15 by u014076884 GPG,又称为GnuPG,全称是Gnu Private Guard,即GNU隐私卫士。GPG是以PGP算法为核心的强大的加密软件。但GPG项目是一 阅读全文
posted @ 2017-07-19 10:45 李文平 阅读(2696) 评论(0) 推荐(0) 编辑
摘要:pagexml = @"<?xml version='1.0' encoding='utf-8'?> <DATAPACKET Version='2.0'> <METADATA> <FIELDS> <FIELD attrname='vMbillID' fieldtype='string' requir 阅读全文
posted @ 2017-07-17 18:02 李文平 阅读(731) 评论(0) 推荐(0) 编辑
摘要:Select object_name From user_objects a left join all_triggers b on a.object_Name = b.trigger_name where a.object_type='TRIGGER' and b.table_name = 'XF 阅读全文
posted @ 2017-07-11 16:09 李文平 阅读(659) 评论(0) 推荐(0) 编辑