2015年5月28日

多线程

摘要: 服务启动执行内容 public void Start() { logger.Trace var iDelay= int.Parse(strDelay); time = new Timer(x => { ... 阅读全文

posted @ 2015-05-28 17:48 slnt 阅读(184) 评论(0) 推荐(0) 编辑

2015年3月30日

正则匹配开关闭合标签

摘要: 匹配任意闭合大括号:@"""JsonKey"":{((?{)|}(?)|.*?)*}"匹配任意闭合HTML标签的正则表达式:[\w]+)[^>]*?>((?[^>]*>)|>(?)|.*?)*> 阅读全文

posted @ 2015-03-30 09:13 slnt 阅读(854) 评论(0) 推荐(0) 编辑

2015年3月18日

获取父级Repeater的绑定字段值

摘要: 阅读全文

posted @ 2015-03-18 14:52 slnt 阅读(211) 评论(0) 推荐(0) 编辑

2015年3月14日

C#/SQL 上周本周

摘要: DateTime dt = DateTime.Now; //当前时间int dayOfWeek = Convert.ToInt32(dt.DayOfWeek.ToString("d"));DateTime weekStart = dt.AddDays(1 - ((dayOfWeek == 0) ?... 阅读全文

posted @ 2015-03-14 10:45 slnt 阅读(172) 评论(0) 推荐(0) 编辑

2015年2月6日

判断数字和小数点

摘要: MaxLength="11" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"maxlength="8" onkeyup="this.val... 阅读全文

posted @ 2015-02-06 11:06 slnt 阅读(166) 评论(0) 推荐(0) 编辑

2014年10月30日

Repeater倒序序号

摘要: 阅读全文

posted @ 2014-10-30 15:28 slnt 阅读(155) 评论(0) 推荐(0) 编辑

2014年3月4日

右下角message

摘要: 1 #msg_win{border:1px solid #f80;background:#9eceeb;width:300px;position:absolute;right:0;margin:0px;display:none;overflow:hidden;z-index:99;}2 #msg_win .icos{position:absolute;top:2px;*top:0px;right:2px;z-index:9;}3 .icos a{float:left;color:#833B02;margin:1px;text-align:center;text-deco... 阅读全文

posted @ 2014-03-04 11:12 slnt 阅读(211) 评论(0) 推荐(0) 编辑

2014年1月28日

SQL 存储过程(添加,修改)

摘要: 1 /****** 对象: StoredProcedure [dbo].[SLS_LT_TeamManager_Common] ******/ 2 SET ANSI_NULLS ON 3 GO 4 SET QUOTED_IDENTIFIER ON 5 GO 6 /* 7 --用途说明:信息(添加,修改) 8 --创建用户:lgw 9 --创建时间:2014-01-2610 */11 CREATE PROCEDURE [dbo].[SLS_LT_TeamManager_Common]12 (13 @Id int,14 @TeamNo varchar(50),15 @TeamName v... 阅读全文

posted @ 2014-01-28 15:40 slnt 阅读(1047) 评论(0) 推荐(0) 编辑

2014年1月24日

AvatarService上传图片(兼容)

摘要: Handler 1 public void ProcessRequest(HttpContext context) 2 { 3 context.Response.ContentType = "text/plain"; 4 string action = context.Request["myaction"]; 5 if (action == "upload") 6 { 7 string msg = ""; string result = "0"; string ww = "0" 阅读全文

posted @ 2014-01-24 14:24 slnt 阅读(476) 评论(0) 推荐(0) 编辑

jquery右下角pop弹窗 完美兼容ie6789 ff chrome

摘要: HTML1 1 2 17 18 关闭19 温馨提示20 21 22 23 这里是参数24 这里是内容简介25 26 查看 »27 28 JS 1 //兼容ie6的fixed代码 2 //jQuery(function($j){ 3 // $j('#pop').positionFixed() 4 //}) 5 (function($j){ 6 $j.positionFixed = function(el){ 7 $j(el).each(... 阅读全文

posted @ 2014-01-24 14:08 slnt 阅读(1354) 评论(0) 推荐(0) 编辑

导航