打开ckeditor\plugins\pastefromword\filter\default.js,查找 CKEDITOR.cleanWord=,替换为如下:CKEDITOR.cleanWord=function(h,i){return h;if(CKEDITOR.env.gecko)h=h.replace(/(<!--\[if[^<]*?\])-->([\S\s]*?)<!--(\[endif\]-->)/gi,'$1$2$3');var j=new g(),k=j.dataFilter;k.addRules(CKEDITOR.plugins. Read More
posted @ 2012-04-16 20:15 ミ茹此茹此↘ Views(1858) Comments(0) Diggs(0) Edit
--创建 连接create database link 数据库链路名(dblink)connect to数据库用户名 identified by "口令"using '连接字符串';如果创建全局dblink,必须使用systm或sys用户,在database前加public。create publicdatabase link 数据库链路名(dblink)connect to数据库用户名 identified by "口令"using '连接字符串';--测试 是否正常一般情况下引用数据库链接,可以直接将其放到调用的表名或 Read More
posted @ 2012-03-29 15:27 ミ茹此茹此↘ Views(312) Comments(0) Diggs(0) Edit
View Code 1 <script type="text/javascript"> 2 function SetCwinHeight() { 3 var iframeid = document.getElementById("iframeid"); //iframe id 4 if (document.getElementById) { 5 if (iframeid && !window.opera) { 6 if (iframeid.contentDocument && iframeid.contentD Read More
posted @ 2012-03-08 12:24 ミ茹此茹此↘ Views(342) Comments(0) Diggs(0) Edit
oracel dbms_jobs包可以提交作业到作业队列中,这个包中还提供其它一些函数管理以前提交的作业,如对作业进行修改、禁止或删除等操作。常用函数:submit(),提交作业到作业队列。isumbit(),remove(),从作业队列中删除作业。change(),改变已有作业的参数。what(),改变作业要执行的代码。next_date(),改变作业下一次执行时间。interval(),改变作业执行的时间间隔。broken(),暂停执行作业。run(),强制执行作业。最常用的submit()函数:dbms_jobs.submit( job out binary_integer, what Read More
posted @ 2012-03-06 10:27 ミ茹此茹此↘ Views(473) Comments(0) Diggs(0) Edit
HTML扩展类的所有方法都有2个参数:以textbox为例子public static string TextBox( this HtmlHelper htmlHelper, string name, Object value, IDictionary<string, Object> htmlAttributes )public static string TextBox( this HtmlHelper htmlHelper, string name, Object value, Object htmlAttributes )这2个参数代表这个html标签的属性集合。使用方法如下 Read More
posted @ 2012-03-04 22:43 ミ茹此茹此↘ Views(160) Comments(0) Diggs(0) Edit
View Code 1 public static class MVCHelpers 2 { 3 public static string Table(this HtmlHelper helper, string name, IList items, IDictionary<string, object> attributes) 4 { 5 if (items == null || items.Count == 0 || string.IsNullOrEmpty(name)) 6 { 7 ... Read More
posted @ 2012-03-04 22:37 ミ茹此茹此↘ Views(242) Comments(0) Diggs(0) Edit
View Code 1 public static MvcHtmlString FckText(this System.Web.Mvc.HtmlHelper helper, string name, string width = "1150", string height = "300") 2 { 3 if (string.IsNullOrEmpty(name)) 4 { 5 return MvcHtmlString.Create("name属性为必须"); 6 } 7 ... Read More
posted @ 2012-03-02 10:10 ミ茹此茹此↘ Views(212) Comments(1) Diggs(0) Edit
View Code 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Web.Mvc; 6 namespace System.Web.Mvc 7 { 8 public static class MyHelpler 9 { 10 public static MvcHtmlString ActionLinkWithImage(this HtmlHelper html, string i... Read More
posted @ 2012-02-27 18:15 ミ茹此茹此↘ Views(557) Comments(0) Diggs(0) Edit
1 SQL> CREATE OR REPLACE TYPE mem_type IS VARRAY(10) of VARCHAR2(15) 2 2 / 3 4 Type created. 5 6 SQL> 7 SQL> CREATE TABLE club (Name VARCHAR2(10), 8 2 Address VARCHAR2(20), 9 3 City VARCHAR2(20),10 4 Phone VARCHAR2(8),11 5 Members mem_type)12 6 /13 14 Table created.15 16 SQL>17 ... Read More
posted @ 2012-02-15 09:52 ミ茹此茹此↘ Views(132) Comments(0) Diggs(0) Edit
cshtml 页View Code 1 @(Html.Telerik().Upload() 2 .Name("attachments") 3 .Multiple(true) 4 .Async(async => async 5 .Save("Save", "Home") 6 .Remove("Remove", "Home") 7 .AutoUpload(false)//是否自动上传 8 ) 9 .ClientEvents(events => events10 ... Read More
posted @ 2012-02-14 15:20 ミ茹此茹此↘ Views(383) Comments(0) Diggs(0) Edit