12 2016 档案

摘要:项目中,使用svn经常遇到,文件或文件夹图标延时显示或未显示的问题,终于找到办法解决 客户端:TortoiseSVN 阅读全文
posted @ 2016-12-24 16:31 深南大道 阅读(367) 评论(0) 推荐(0) 编辑
摘要:ALTER VIEW [dbo].[view_TreeLevel] AS WITH cte AS ( SELECT a.ModuleID , a.Module_Name , a.Module_Description , a.Module_FatherID , a.Module_Url , a.Module_Order, 1 Le... 阅读全文
posted @ 2016-12-22 19:50 深南大道 阅读(303) 评论(0) 推荐(0) 编辑
摘要:/************************ Layer扩展 ****************************/ /* * Layer弹出Alert提示框 * @param message 提示信息 * @param type 类型 1成功 2失败 3疑问 7提示 * @param fn (可选)点击后回调方法 * @return */ function LayerAlert(me... 阅读全文
posted @ 2016-12-22 17:50 深南大道 阅读(503) 评论(0) 推荐(0) 编辑
摘要:Js 数组filter()、map()、some()、every()、forEach()、lastIndexOf()、indexOf()实例 阅读全文
posted @ 2016-12-21 20:12 深南大道 阅读(185) 评论(0) 推荐(0) 编辑
摘要:javascript字典数据结构Dictionary实现 阅读全文
posted @ 2016-12-21 19:50 深南大道 阅读(269) 评论(0) 推荐(0) 编辑
摘要:javascript集合的交,并,补,子集的操作实现 阅读全文
posted @ 2016-12-21 19:42 深南大道 阅读(264) 评论(0) 推荐(0) 编辑
摘要:Jquery 操作cookie示例 阅读全文
posted @ 2016-12-20 11:22 深南大道 阅读(306) 评论(0) 推荐(0) 编辑
摘要:private static string connectionString = RBAC.Dal.DataRootBase.ConnectionString; private SqlConnection mConnection = new SqlConnection(connectionString); #region /// /// 当点击执行查询时发生(异步操作) /// 执行数据库w... 阅读全文
posted @ 2016-12-19 17:18 深南大道 阅读(1830) 评论(0) 推荐(0) 编辑
摘要:测试页面 其它一些例子 阅读全文
posted @ 2016-12-19 11:46 深南大道 阅读(1096) 评论(0) 推荐(0) 编辑
摘要:1. 创建一个变量 var ref = ""; 2. 定时刷新调用的方法 function consoleLog(){ console.log("a"); } 3. 设置定时刷新 ref = setInterval(function(){ consoleLog(); },2000); 这样会每2秒执行一次consoleLog方法 4. 阻止定时刷新 clearInterval... 阅读全文
posted @ 2016-12-19 11:06 深南大道 阅读(62578) 评论(0) 推荐(0) 编辑
摘要:为什么使用时间戳? 关于Unix时间戳,大概是这个意思,从1970年0时0分0秒开始到现在的秒数.使用它来获得的是一个INT值,储存在数据库里只要使用INT格式就可以了,方便数据库进行排序,搜索,而且比datetime格式更节省数据库空间。 阅读全文
posted @ 2016-12-19 10:54 深南大道 阅读(9448) 评论(0) 推荐(0) 编辑
摘要:/*查找XML*/ var filePath = Server.MapPath("~/xml/sample.xml"); XDocument doc = XDocument.Load(filePath); var text1 = doc.Descendants("用户") //定位到节点 .Where(p => p.Element("性别").Value.Contains('男')) ... 阅读全文
posted @ 2016-12-17 17:30 深南大道 阅读(194) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Web; using System.Collections; namespace MSCL { /// /// Cache辅助类 /// public class CacheHelper { /// /// 获取数据缓存 /// /... 阅读全文
posted @ 2016-12-17 16:22 深南大道 阅读(186) 评论(0) 推荐(0) 编辑
摘要:/* Sqlserver数据库开始相关服务 以下示例显示了如何查看 OLE Automation Procedures 的当前设置。0未启用 */ EXEC sp_configure 'show advanced option', '1' --只有这个高级选项被打开的时候,才有权限修改其他配置。 go RECONFIGURE --运行RECONFIGURE语句进行安装,也就是说,使以上语... 阅读全文
posted @ 2016-12-17 10:04 深南大道 阅读(1504) 评论(0) 推荐(1) 编辑
摘要:using System; using System.IO; using System.Runtime.CompilerServices; using System.Text; namespace SystemTask { public class CensusdemoTask { System.Threading.Timer timer; pri... 阅读全文
posted @ 2016-12-16 20:04 深南大道 阅读(409) 评论(0) 推荐(0) 编辑
摘要:use master GO /* --开启sql server代理 sp_configure 'show advanced options', 1; GO RECONFIGURE; GO sp_configure 'Agent XPs', 1; GO RECONFIGURE GO */ --定义创建作业 DECLARE @jobid uniquei... 阅读全文
posted @ 2016-12-16 19:27 深南大道 阅读(2151) 评论(0) 推荐(0) 编辑
摘要:1.首先新建一个空的解决方案,并添加一个类库,代码如下,编译并生产dll using System; using System.Collections.Generic; using System.Data.SqlTypes; using System.Linq; using System.Text; namespace TEST { public cla... 阅读全文
posted @ 2016-12-16 18:28 深南大道 阅读(569) 评论(0) 推荐(0) 编辑
摘要:INSERTED');" /> 阅读全文
posted @ 2016-12-14 17:04 深南大道 阅读(584) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.Common; using System.Threading.Tasks; using JianKu.Dal; using JianKu.Model; u... 阅读全文
posted @ 2016-12-08 19:02 深南大道 阅读(174) 评论(0) 推荐(0) 编辑
摘要:@{ Layout = null; } @if (false) { } 访问统计 选择时间: ... 阅读全文
posted @ 2016-12-06 17:01 深南大道 阅读(507) 评论(0) 推荐(0) 编辑
摘要:缓存是用来提高应用性能,降低服务器压力。适用于数据不易变,数据易通用的情景, 对于动态查询数据,例如数据分析,最好放弃使用缓存。使用缓存最麻烦的就是保持源数据和缓存的中的数据一致。 缓存(Cache)依赖,就是缓存是否更新依赖于其它Object。.net的缓存依赖主要用到的类就是CacheDepen 阅读全文
posted @ 2016-12-01 13:51 深南大道 阅读(259) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Configuration;using Syst... 阅读全文
posted @ 2016-12-01 11:59 深南大道 阅读(531) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示