我的博客

06 2013 档案

摘要:function ReloadEditor(){ var oCKeditor=CKEDITOR.replace('txtcontent'),{toolbar:'Full'}); //实例化editor oCKeditor.on('instanceReady',function(event)) //准备 { var editor=event.editor; setTimeout(function(){ //延时加载 if(!editor.element) ... 阅读全文
posted @ 2013-06-25 16:06 Mr.Ren 嘚、|遊 樂 場 阅读(4418) 评论(2) 推荐(0)
摘要:1 public class BaseHandler:System.Web.UI.Page 2 { 3 protected override void OnPreInit(EventArgs e) 4 { 5 base.OnPreInit(e); 6 if(用户未登录) 7 { 8 alert('请登录'); 9 return;10 }11 }12 } 阅读全文
posted @ 2013-06-21 16:06 Mr.Ren 嘚、|遊 樂 場 阅读(163) 评论(0) 推荐(0)
摘要:public enum DateInterval{ Second,Minute,Hour,Day,Week,Month,Quarter,Year}public static long DateDiff(DateInterval Interval,System.DateTime StartDate,System.DateTme EndDate){ long lngDateDiffValue=0; System.TimeSpan TS=new System.TimeSpan(EndDate.Ticks-StartDate.Ticks); switch(Interval){ cas... 阅读全文
posted @ 2013-06-13 10:17 Mr.Ren 嘚、|遊 樂 場 阅读(878) 评论(0) 推荐(0)