06 2017 档案

摘要:txt文件中的格式: 阅读全文
posted @ 2017-06-27 18:14 幸福安康 阅读(4318) 评论(0) 推荐(0)
摘要:1,先加入命名空间: using System.Net.Security; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; 2,再重载CheckValidationResult方法,返回true public bool CheckValidationResu... 阅读全文
posted @ 2017-06-27 17:10 幸福安康 阅读(365) 评论(0) 推荐(0)
摘要:后台使用thinkphp返回json: jquery选中特定的text: 阅读全文
posted @ 2017-06-26 14:51 幸福安康 阅读(2560) 评论(0) 推荐(0)
摘要:1、在项目上点击右键,点击“查看” 》“查看类图”: 2、生成的类图如下: 阅读全文
posted @ 2017-06-23 11:10 幸福安康 阅读(6632) 评论(0) 推荐(0)
摘要:static void Main(string[] args) { private static readonly string sqlconnection =""; //遍历循环client表 IList StuList; using (var connection = new Sys... 阅读全文
posted @ 2017-06-20 18:07 幸福安康 阅读(1965) 评论(0) 推荐(0)
摘要:sql文件: 阅读全文
posted @ 2017-06-20 15:35 幸福安康 阅读(237) 评论(0) 推荐(0)
摘要:static string get_html(string url) { var request = WebRequest.Create(url); var response = request.GetResponse(); var html = ""; using (StreamR... 阅读全文
posted @ 2017-06-19 19:19 幸福安康 阅读(234) 评论(0) 推荐(0)
摘要:git add git commit -m '添加了页面' git push -u origin master git log --查看提交历史 git pull --获取最新更新 阅读全文
posted @ 2017-06-19 13:21 幸福安康 阅读(114) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-06-16 18:08 幸福安康 阅读(116) 评论(0) 推荐(0)
摘要:apt-get install apache2 ---ubuntu按照apache apt-get install apache2-utils ---ubuntu下安装apache 下的ab工具 ab -n 1000 -c1 0 http://192.168.1.95:8082/ 阅读全文
posted @ 2017-06-16 17:04 幸福安康 阅读(144) 评论(0) 推荐(0)
摘要:一、Web项目中加入log4net: 1、nuget中加入log4net 2、webconfig中的<configuration></configuration>中加入以下节点: 3、在Global.asax.cs中加入: log4net.Config.XmlConfigurator.Configu 阅读全文
posted @ 2017-06-16 16:44 幸福安康 阅读(205) 评论(0) 推荐(0)
摘要:define('APP_DEBUG',false); 这个设置从true改为false后,一定要清空缓存,否则会出错。 阅读全文
posted @ 2017-06-16 13:28 幸福安康 阅读(241) 评论(0) 推荐(0)
摘要:1、LF will be replaced by CRLF in 解决方法: $ git config --global core.autocrlf false 2、$ git push -u origin master如果当前分支与多个主机存在追踪关系,则可以使用-u选项指定一个默认主机,这样后面 阅读全文
posted @ 2017-06-13 09:14 幸福安康 阅读(101) 评论(0) 推荐(0)
摘要:T-SQL语句: Linq语句: Linq生成的语句: 阅读全文
posted @ 2017-06-12 23:11 幸福安康 阅读(6995) 评论(0) 推荐(0)