philzhou

导航

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

2012年2月8日 #

Jquery.Form 异步提交表单实例

摘要: http://www.aqee.net/docs/jquery.form.plugin/jquery.form.plugin.html#getting-started 1. 在你的页面里写一个表单。一个普通的表单,不需要任何特殊的标记: <form id="myForm" method="post" action="/Home/AjaxForm"><div>Name:<input id="user... 阅读全文

posted @ 2012-02-08 15:47 philzhou 阅读(34936) 评论(1) 推荐(1)

2012年2月3日 #

Reporting Service 动态参数设置(转)

摘要: 原文1:创建新报表 在开始使用动态查询之前,您必须首先创建一个带有报表的报表服务器项目,然后向该项目中添加一个报表项。创建报表服务器项目在 Business Intelligence Development Studio 中,报表包含在报表服务器项目中。 创建新的报表服务器项目1. 单击“开始”,依次指向“程序”和 Microsoft SQL Server 2005,再单击 Business Intelligence Development Studio。2. 在“文件”菜单上,指向“新建”,再单击“项目”。 3. 在“项目类型”列表中,单击“商业智能项目”。 4. 在“模板”列表中,单击“报 阅读全文

posted @ 2012-02-03 09:04 philzhou 阅读(939) 评论(0) 推荐(0)

2012年1月10日 #

Unity 2.0 HelloWord Example

摘要: Unity 是Microsoft的开源项目Enterprise Library的一个Ioc组件,与Mvc也有很好的集成,既可以通过代码来进行运行时依赖注入,也可以通过配置文件来进行设计时依赖注入,下面是一个使用配置文件的小例子。配置文件App.config<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="unity" type="Microsoft.Practi 阅读全文

posted @ 2012-01-10 21:11 philzhou 阅读(929) 评论(0) 推荐(0)

2011年12月15日 #

Programmatically Retrieving a Stored Procedure's Parameters 获取Sql Server 存储过程参数

摘要: 原文 IntroductionStored procedures in SQL Server are similar to methods in C# and Visual Basic code. They encapsulate one or more statements into a single, parameterized construct. Both stored procedur... 阅读全文

posted @ 2011-12-15 19:23 philzhou 阅读(356) 评论(0) 推荐(0)

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 阅读(303) 评论(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 阅读(342) 评论(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 阅读(168) 评论(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 阅读(511) 评论(0) 推荐(0)

2011年11月11日 #

Kooboo 全文索引研究

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

posted @ 2011-11-11 15:22 philzhou 阅读(331) 评论(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 阅读(262) 评论(0) 推荐(0)

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