摘要: 在.NET Reactor6.5中,如果程序里面有调用: Assembly.GetExecutingAssembly().Location 在.NET Reactor6.5启用Native exe file是,不支持,可以采用 Process.GetCurrentProcess().MainModu 阅读全文
posted @ 2022-05-25 12:27 kevin.dai 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 把中文乱码字符串转进去,如这样的 /诈骗、涉赌文献总结.xlsx 要转成正常的中文用下面的方法即可解决。 public static string DecFileName(string str) { Encoding utf8 = Encoding.GetEnco 阅读全文
posted @ 2022-05-25 12:06 kevin.dai 阅读(2128) 评论(0) 推荐(0) 编辑
摘要: Outlook邮件存档方法 帐号》清理工具》存档 打开存档窗口,设置是全部存档,还是指定文件夹存档。 存档设置好存档的邮件路径 存档完成后在Outlook中会存在一个存档文件夹,这个存档二字的名字可以在数据库文件中设置更改。 存档完成后,OST文件不会缩小,如果要缩小需做压缩,压缩步骤是 打开“文件 阅读全文
posted @ 2022-05-03 22:09 kevin.dai 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: 一、简要说明 服务器地址: http://ai.home.etapi.com.cn/api/ 控制器:Device 示例: 请求方式: http://ai.home.etapi.com.cn/api/Device 服务器返回数据说明 每个接口都返回下面JSON数据集合。Data数据集是多维数组,客户 阅读全文
posted @ 2021-09-05 12:49 kevin.dai 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 映射 Mapping HSOAR.Extension里面有很多实现的方法。今天抽空把Mapping写下说明... 不管相互转换的对象是否有存在属性,会把相同的属性的值转换过去 需要用到的类对象方便下面方法调用: public class A { public int PK_ID { get; set 阅读全文
posted @ 2017-06-16 15:47 kevin.dai 阅读(5234) 评论(1) 推荐(0) 编辑
摘要: //判断是否为安卓设备function isAndroid(){ var u = navigator.userAgent; if(u.indexOf('Android') > -1 || u.indexOf('Linux') > -1){ return true; } ... 阅读全文
posted @ 2015-08-20 16:00 kevin.dai 阅读(703) 评论(0) 推荐(0) 编辑
摘要: create table orders( company varchar(10), ordernumber int)insert into ordersselect 'IBM',4566 union allselect 'JIS',4565 union allselect 'JOINY'... 阅读全文
posted @ 2015-08-02 17:31 kevin.dai 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 接口→抽像类→父类→具体类 阅读全文
posted @ 2015-06-11 21:18 kevin.dai 阅读(120) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class... 阅读全文
posted @ 2015-06-04 22:02 kevin.dai 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 文件下载,指定默认名Response.AddHeader(”content-type”,”application/x-msdownload”);Response.AddHeader(”Content-Disposition”,”attachment;filename=要下载的文件名.rar”);刷新 阅读全文
posted @ 2015-05-06 19:35 kevin.dai 阅读(10319) 评论(0) 推荐(0) 编辑