摘要:
private void UnsetReadOnly(string dirPath) {//http://bbs.csdn.net/topics/380233913 string[] dirPathes = Directory.GetDirectories(dirPath, "*.*", Searc 阅读全文
摘要:
$.ajax({ type: "GET", url: service_url, dataType: "xml", data: "ParamId=" + FormId.value, processData: false, xhrFields: { withCredentials: true }, er 阅读全文
摘要:
0.学习教程 http://www.cnblogs.com/jiekzou/p/9205117.html https://github.com/crossoverJie/SSM 1.gradle没刷新导致的jar包不能解析: 点击View->Tool Window->Gradle->点击面板里第一个 阅读全文
摘要:
1.问题 Microsoft Visual Studio Web 应用程序项目 XXWeb 已配置为使用 IIS。 未能找到 Web 服务器“http://www.xxx.com”。 确定 2.解决 vs中右键编辑项目(编辑.csproj文件) 搜索UseIIS节点,如果有则把值改为false 如果 阅读全文
摘要:
https://try.kotlinlang.org/#/Examples/Hello,%20world!/Simplest%20version/Simplest%20version.kt /** * We declare a package-level function main which re 阅读全文
摘要:
转自:http://www.cnblogs.com/oppoic/p/6165581.html Redis缓存服务器是一款key/value数据库,读110000次/s,写81000次/s,因为是内存操作所以速度飞快,常见用法有存用户令牌、短信验证码等 官网显示Redis本身并没有Windows版本 阅读全文
摘要:
1.nuget安装postsharp 2.编写attribute标记 [Serializable] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public class Custo 阅读全文
摘要:
1.winform用法: nuget安装autofac var service = container.Resolve<UserService>(); //解析;并没有实例化new UserService也没有传入构造函数参数,autofac自动注入了 if (service!=null) { va 阅读全文
摘要:
要实现join字符串 select * FROM table1 as t1 right join (select '1,2,3,4,5' as t) as tt on t1.Id=tt.t 则需要分割字符串为数组,以下为实现的分割字符串函数split split函数及使用示例: select * F 阅读全文