摘要: jquery中的$().each和$.each的区别,前者只能遍历数组,后者可以遍历数组和对象 阅读全文
posted @ 2013-04-25 20:28 colyn 阅读(474) 评论(0) 推荐(1) 编辑
摘要: #define Buged//C# 的宏定义必须出现在所有代码之前。当前只让 Buged 宏有效。using System;using System.Diagnostics; // 注意:这是为了使用包含在此名称空间中的ConditionalAttribute特性namespace Con_Attribute{ class Program { static void Main(string[] args) { // 虽然方法都被调用了,但只有符合条件的才会被执行! ToolKit.FunA(); ... 阅读全文
posted @ 2013-04-09 11:11 colyn 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 Create PROCEDURE [dbo].[up_DataPager] 2 @tblName varchar(255), -- 表名 3 @fldName varchar(255), -- 排序的字段名,一般为唯一标识 4 @strGetFields varchar(1000) = ' * ', -- 需要返回的列 5 @PageSize int = 10, -- 每页有多少条记录 6 @PageIndex int = 1, -- 第几页 7 @Count int output, -- 返回记录总数 8 @OrderType bit = ... 阅读全文
posted @ 2012-08-14 23:59 colyn 阅读(247) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/rush/archive/2012/05/15/2502264.html 阅读全文
posted @ 2012-07-02 16:04 colyn 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 这里引用的是jquery.validate.js文件默认校验规则 (1)required:true 必输字段 (2)remote:"check.php" 使用ajax方法调用check.php验证输入值 (3)email:true 必须输入正确格式的电子邮件 (4)url:true 必须输入正确格式的网址 (5)date:true 必须输入正确格式的日期 (6)dateISO:true 必须输入正确格式的日期(ISO),例如:2009-06-23,1998/01/22 只验证格式,不验证有效性 (7)number:true 必须输入合法的数字(负数,小数) (8)digit 阅读全文
posted @ 2012-06-14 23:13 colyn 阅读(867) 评论(0) 推荐(2) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-09 19:26 colyn 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=gb2 阅读全文
posted @ 2012-05-29 12:41 colyn 阅读(670) 评论(1) 推荐(0) 编辑
摘要: 一、使用方法: 1、在页面<head>中引入ckeditor核心文件ckeditor.js <script type="text/javascript" src="ckeditor/ckeditor.js"></script> 2、在使用编辑器的地方插入HTML控件<textarea> <textarea id="TextArea1" cols="20" rows="2" class="ckeditor"></ 阅读全文
posted @ 2012-05-28 16:52 colyn 阅读(212) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">function UrlSearch() { var name,value; var str=location.href; //取得整个地址栏 var num=str.indexOf("?") str=str.substr(num+1); //取得所有参数,获得?后面的所有参数 var arr=str.split("&"); //各个参数放到数组里 for(var i=0;i < arr.length;i++){ num=arr[i].indexO 阅读全文
posted @ 2012-04-11 10:33 colyn 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 配置:在NT 2000 XP和2003平台上,在系统帐户下应该INETINFO程序应该与IIS5以共存模式过滤器运行。所以系统帐户应该给予对所有的ISAPI-REWIRITE DLLS 和所有的HTTPD。INI文件至少可读权限,我们也推荐对给予系统帐户对于所有包括HTTPD。INI文件的文件夹的可写权限,这将允许产生HTTP。PARSE。ERRORS文件,这些文件包含配置文件语法错误。对于PROXY模块也需要额外的权限,因为它将运行于连接池或HIGH-ISPLATED应用模式,IIS帐户共享池和HIGH-ISOLATION池应被给予 对RWHELPERE。DLL的可读权限。缺省情况下IWAM 阅读全文
posted @ 2012-04-10 21:08 colyn 阅读(260) 评论(0) 推荐(0) 编辑