摘要: 转自:http://www.cnblogs.com/no7dw/archive/2010/03/04/1678287.html 因需求变更要改表的列名,平常都是跑到Enterprise manager中选取服务器->数据库->表,然后修改表,这样太麻烦了,查了一下,可以用script搞定,代码如下: 阅读全文
posted @ 2019-07-29 09:12 just2 阅读(3126) 评论(0) 推荐(0) 编辑
摘要: $(".class1 .class2") 选择class1元素下class2的元素(中间有空格)$(".class1.class2") 选择同时含有class1和class2的元素(中间没有空格)$(".class1,.class2") 选择class1或者class2的元素(中间有逗号) 阅读全文
posted @ 2019-06-25 11:39 just2 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1、Autofac IOC 容器 ,便于在其他类获取注入的对象 2、用nuget安装 using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; 3、Program类如下 4、用容 阅读全文
posted @ 2018-11-26 11:35 just2 阅读(3994) 评论(3) 推荐(1) 编辑
摘要: xml 中如果包含部分 ascii 控制字符(小数字)则 chrome会报告如下类型错我: 解决办法:replace 这些字符 参看文档:https://support.microsoft.com/en-us/kb/315580 原文地址:https://blog.csdn.net/isaisai/ 阅读全文
posted @ 2018-10-30 22:32 just2 阅读(2591) 评论(0) 推荐(0) 编辑
摘要: 1、一种方式,需要改动根目录的web.config(不是很推荐) 2、直接创建一个新的应用程序并编辑 applicationHost.config 文件( 位于 C:\Windows\System32\inetsrv\config下). 找到对应的应用池相关内容加上enableConfigurati 阅读全文
posted @ 2018-10-09 20:40 just2 阅读(1365) 评论(0) 推荐(0) 编辑
摘要: 1、今天阿里云windows server 2008 r2服务器上安装mysql,配置完发现无法启动mysql服务(并发设置的是500),查询windows日志提示Unknown/unsupported storage engine: InnoDB于是百度下发现大部分答案都是将innodb改为mys... 阅读全文
posted @ 2015-11-11 10:16 just2 阅读(323) 评论(0) 推荐(0) 编辑