philzhou

导航

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页

2011年12月15日 #

Convert DateTime To Varchar with multiple Styles

摘要: 原文 What are the valid styles for converting datetime to string? I wrote this little table and procedure to help me remember what style 112 did, or how to get HH:MM AM/PM out of a DATETIME column. Bas... 阅读全文

posted @ 2011-12-15 09:27 philzhou 阅读(285) 评论(0) 推荐(0) 编辑

2011年12月8日 #

转摘 IE6 动态创建 iframe 无法显示的 bug

摘要: 动态弹出浮层,跨域加载一个 iframe 页面,发现 IE6 下无法正常显示。见图所示: 最初怀疑是 innerHTML 方式创建 iframe 节点导致的:document.getElementById('a').innerHTML = '<iframe width="500" height="100" src="http://www.mangguo.org/"></iframe>';但这样操... 阅读全文

posted @ 2011-12-08 14:53 philzhou 阅读(312) 评论(0) 推荐(0) 编辑

2011年12月4日 #

Understanding the MVC Application Execution Process

摘要: Requests to an ASP.NET MVC-based Web application first pass through the UrlRoutingModule object, which is an HTTP module. This module parses the request and performs route selection. The UrlRoutingModule object selects the first route object that matches the current request. (A route object is a cla 阅读全文

posted @ 2011-12-04 21:01 philzhou 阅读(135) 评论(0) 推荐(0) 编辑

2011年11月21日 #

sql server reporting service multi select parameter

摘要: 解决reporting service 多选列表参数的办法有两种:1. 给tablix添加Filter。2. 使用存储过程parse多值参数。具体操作如下。I agree, its a little messy to use multi-parameters. There are two primary methods I use to handle this: Filters and SQL. The Filter method is easier.Filter Method:Create a multi-value parameter. Let's call it @Animals 阅读全文

posted @ 2011-11-21 18:55 philzhou 阅读(474) 评论(0) 推荐(0) 编辑

2011年11月11日 #

Kooboo 全文索引研究

摘要: 开启全文索引配置全文索引:在系统>计划任务中新建计划任务如下,该任务每60s执行一次。打开数据库表cms_schedule,会发现表中多一条记录2.配置监视目录:其中目录指站点的内容,Url指搜索结果的链接。打开数据库表Cms_SearchSetting发现多了一条记录,其中的FolderUUID指的就是目录:NewOne.NewsDetail,而对应的Url也是一致的。3. 添加删除目录NewOne.NewsDetail下的内容,就会在表格cms_IndexTrigger产生相应的记录,但是没隔60s记录就会被系统job删掉。a56爆大奖在线娱乐a56爆大奖在线娱乐们可以用如下命令打开cdc(变更数据捕获)来跟踪该表内 阅读全文

posted @ 2011-11-11 15:22 philzhou 阅读(312) 评论(0) 推荐(0) 编辑

2011年10月25日 #

sql server output parameter

摘要: 首先创建一个存储过程: Create PROCEDURE TestOut @str varchar(20) outputASSET @str = @str + ' Phil Zhou'GO 然后测试该存储过程 DECLARE @xxx varchar(20)SET @xxx = 'My Name' EXEC testout @xxx OUTPUT print @xxx 输出: My Name... 阅读全文

posted @ 2011-10-25 20:32 philzhou 阅读(232) 评论(0) 推荐(0) 编辑

2011年10月22日 #

windows7 无法删除文件夹 提示需要SYSTEM权限

摘要: 在删除某些文件夹时会提示 需要SYSTEM权限,查看文件夹的权限属性,会发现只有Administrar 跟SYSTEM用户对该文件夹有完全控制权限。以下两条命令就可以用来获取SYSTEM的CMD sc Create SuperCMD binPath= "cmd /K start" type= own type= interact sc start SuperCMD在该命令行里输入del /f /s/ /q /a filename就OK了! 阅读全文

posted @ 2011-10-22 08:46 philzhou 阅读(3431) 评论(0) 推荐(0) 编辑

2011年10月20日 #

asp.net ckeditor 3.6.2 + ckfinder 2.1 上传图片

摘要: 旧版的fckeditor是可以直接上传图片的,但是新版的ckeditor将上传功能拆分成另外一个组件ckfinder了,a56爆大奖在线娱乐ckeditor默认设置是不可以上传文件,以及浏览服务器文件的,需要做一点简单的设置才可以。下面以ckeditor的sample FirstUse页面为例,讲解如何将ckfinder与ckeditor整合。首先将ckeditor的sample solution打开,然后将ckfinder的目录拷贝的sample网站的根目录下,并将CKFINDER.DLL拷贝到Sample网站的Bin目录下。然后打开FirstUse页面,在header标签中加上注意:因为该sample是网 阅读全文

posted @ 2011-10-20 20:24 philzhou 阅读(1299) 评论(0) 推荐(0) 编辑

2011年9月29日 #

转 SQL Server FOR XML PATH 语句的应用

摘要: 原文 SQL Server FOR XML PATH 语句的应用在SQL Server中利用 FOR XML PATH 语句能够把查询的数据生成XML数据,下面是它的一些应用示例。view sourceprint?1DECLARE @TempTable table(UserID int , UserName nvarchar(50));2insert into @TempTable (UserID,UserName) values (1,'a')3insert into @TempTable (UserID,UserName) values (2,'b')45s 阅读全文

posted @ 2011-09-29 10:17 philzhou 阅读(123) 评论(0) 推荐(0) 编辑

Sql Server为数值变量添加删除前导后缀(翻译)

摘要: Execute the following Microsoft SQL Server T-SQL example scripts to demonstrate SQL padding of numbers and strings with leading and trailing zeros as well as with other designated characters, and techniques for removing (trim) leading zeros. 使用以下sql server t-sql 脚本添加删除前导,后缀字符。-- Add/pa... 阅读全文

posted @ 2011-09-29 10:11 philzhou 阅读(974) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页