摘要: 初读 CLR Via C# 有一些 名词需要记忆: 1、CLR: Common Language Runtime (公共语言运行时) 可有多种编程语言使用的Runtime. 其核心功能是: 内存管理、 程序集加载、 安全性、 异常处理和线程同步等; 2、 Managed Module (托管模块) 阅读全文
posted @ 2016-12-24 23:44 jason_LSZ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: PS: 解决链接 Could not create SSL/TLS secure channel, despite setting ServerCertificateValidationCallback SSL: Secure Sockets Layer (安全套接字层) TLS: Transpor 阅读全文
posted @ 2016-12-23 14:21 jason_LSZ 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 在C#中,如果要删除DataTable中的某一行,大约有以下几种办法: 1,使用DataTable.Rows.Remove(DataRow),或者DataTable.Rows.RemoveAt(index);可以直接删除行 2,datatable.Rows[i].Delete()。Delete()之 阅读全文
posted @ 2016-12-12 14:12 jason_LSZ 阅读(268) 评论(0) 推荐(0) 编辑
摘要: ASP.NET Request.UrlReferrer 作用: 官网解释:Gets information about the URL of the client's previous request that linked to the current URL. 获取 到达当前页面之前的URL信息 阅读全文
posted @ 2016-11-04 14:06 jason_LSZ 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 使用静态方法GetCardListByConId()几种方法:【前台JS】 1、使用PageMethods 方法直接调用 2、使用Jquery $.ajax()请求调用 PS: 以上两种方法都无法和AngularJS 控制器中将放回值取出, 只能在回调函数中处理返回的数据,而不能将数据取出回调函数。 阅读全文
posted @ 2016-10-24 16:48 jason_LSZ 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 使用事务,对数据库的增删改出问题,会回滚 阅读全文
posted @ 2016-10-12 15:50 jason_LSZ 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1、先说遇到的问题 pip install python-nmap 安装python-nmap 之后,遇到如下问题: 查看PortScanner类源码发现,__init__(self, nmap_search_path=('nmap', '/usr/bin/nmap', '/usr/local/bi 阅读全文
posted @ 2016-10-01 18:09 jason_LSZ 阅读(3750) 评论(0) 推荐(0) 编辑
摘要: 笔记, 以免日后忘记: CMD 命令行: start : 启动新的命令行窗口 @echo off : 关闭交互 @echo off : 打开交互模式 coolor [attr] :指定控制台输出颜色 , color -L : 查看所有选项 color A : 改变字体为 淡绿色 cls: 清屏 ti 阅读全文
posted @ 2016-09-30 22:22 jason_LSZ 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 直接在youtube前面直接加上ss就能下载到你想要的视频文件。 举例: 1、打开youtube上要下载的视频所在网页; 比如:https://www.youtube.com/watch?v=Ne5J4bxWypI 2、在youtube前面加ss, 变成https://www.ssyoutube.c 阅读全文
posted @ 2016-09-29 17:16 jason_LSZ 阅读(945) 评论(0) 推荐(0) 编辑
摘要: Json纯文本 和js对象的区别: Json对象:var JSONObject= { "name":"John Johnson", "street":"Oslo West 555", "age":33, "phone":"555 1234567"}; typeof(JSONObject)结果是:"o 阅读全文
posted @ 2016-09-20 16:09 jason_LSZ 阅读(1852) 评论(0) 推荐(0) 编辑