摘要: 首先:在Castle Project上下载一个CastleProject包,我下载的是CastleProject-1.0-RC3.msi安装后,在其下的bin目录中可找到NVelocity.dll(NET项目中将用到),并将其复制出来放到我的测试WEB/BIN目录下。到castleproject上看了一下using it大致有四步:先要引入以下名称空间:using Commons.Collecti... 阅读全文
posted @ 2010-04-02 14:21 YaSin 阅读(1046) 评论(0) 推荐(1) 编辑
摘要: 相关网址:http://www.castleproject.org/others/nvelocity/index.htmlhttp://www.castleproject.org/castle/download.html一、NVelocity介绍 1.1 Velocity是什么nVelocity是一个基于.NET的模板引擎(template engine)。它允许任何人仅仅简单的使用模板语言(te... 阅读全文
posted @ 2010-04-02 14:13 YaSin 阅读(937) 评论(0) 推荐(2) 编辑
摘要: <script type="text/javascript" src="json2.js"></script> <script> //直接声明json数据结构 var myJSONObject = {"bindings": [ {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"},... 阅读全文
posted @ 2010-03-16 17:43 YaSin 阅读(3131) 评论(0) 推荐(0) 编辑
摘要: 如下所示: <locationpath="."allowOverride="true"inheritInChildApplications="false"> <system.web> <httpModules> <addname="UrlRewriteModule"type="UrlRewritingNetUrlRewriter"/> </ht... 阅读全文
posted @ 2009-09-16 14:19 YaSin 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 最新发布的CKFinder 1.4版 已经提供了对CKEditor3.0的支持CKFinder 1.4 下载地址:http://ckfinder.com/CKEditor3.0 下载地址:http://ckeditor.com/实例:[代码]这里要注意的是textarea 不要再给class="ckeditor" 他会自动加载样式,否则会报错更多DEMO 请参见官网:http://ckfinder... 阅读全文
posted @ 2009-09-15 18:42 YaSin 阅读(5706) 评论(7) 推荐(1) 编辑
摘要: CKFinder是一款基于AJAX的文件浏览器,这是ASP.NET专用版,它可以在线浏览文件、管理文件、上传文件,以树形Tree的方式展开目录,自动检测图片并生成缩略图,它是由Fckeditor公司出品,同时也可配合FckEditor来使用,可达到意想不到的效果由于本次CKEditor全新改版,没有提供文件上传功能,所以选择整合CKFinder是个不错的选择需要修改一下CKEditor插件文件夹下... 阅读全文
posted @ 2009-09-11 01:28 YaSin 阅读(10222) 评论(19) 推荐(2) 编辑
摘要: CKEditor 3.0安装配置,感觉比较简单,但本次没有涉及上传文件的配置,下篇文章将写一下如何将CKEditor的兄弟产品:ckfinder 功能强大的上传文件管理器整合进 CKEditor3.0下载CKEditor 3.0,地址:http://ckeditor.com/首先,下载下来解压后,把文件夹ckeditor放到你的站点。其次,在你的网页里面加入下面脚本:<script type... 阅读全文
posted @ 2009-09-11 01:13 YaSin 阅读(6955) 评论(5) 推荐(1) 编辑
摘要: CKEditor是fckeditor的3.0版。经过近两年的紧张开发,第一个CKEditor 3.0稳定版本终于发布。 CKEditor是我们喜爱的FCKeditor的一个完全重写版本,FCKeditor经过了6年的发展,取得了很大的成功。并不是说FCKeditor做的不好,而是我们可以带来更新的东西,CKEditor就是。在CKEditor上面,我们引入了几十个新特性。 CKEditor加载更快... 阅读全文
posted @ 2009-09-11 00:44 YaSin 阅读(1708) 评论(1) 推荐(0) 编辑
摘要: 下面介绍一个SQL Server 2005 中的新东东:ROW_NUMBER返回结果集分区内行的序列号,每个分区的第一行从 1 开始。语法:ROW_NUMBER ( ) OVER ( [ <partition_by_clause> ] <order_by_clause> )备注:ORDER BY 子句可确定在特定分区中为行分配唯一 ROW_NUMBER 的顺序。参数:<... 阅读全文
posted @ 2009-08-10 01:56 YaSin 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: Create Table T(stcd varchar(10),name varchar(10)) insert into T select 's001','A' union all select 's002','B' union all select 's003','C' union all select 's004','D' --建视图 Create View VIEW_T as... 阅读全文
posted @ 2009-08-10 01:46 YaSin 阅读(589) 评论(0) 推荐(0) 编辑