slqwell

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年12月7日

摘要: //定义预加载图片列表的函数(有参数) jQuery.preloadImages = function(){ //遍历图片 for(var i = 0; i").attr("src", arguments[i]); }}// 你可以这样使用预加载函数$.preloadImages("images/l... 阅读全文
posted @ 2009-12-07 10:19 slqwell 阅读(2055) 评论(0) 推荐(1)

2009年5月27日

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Data;usingSystem.C... 阅读全文
posted @ 2009-05-27 13:11 slqwell 阅读(230) 评论(1) 推荐(0)

2009年5月19日

摘要: 在SQL Server 2005数据库中更改数据架构 当只更改的表或存储过程少时,可以采用网上的的方法: 在数据库testDB中存在架构A及用户A,现将testDB数据库所属的用户由A改为B,同时删除用户A;架构也由A改为B,删除架构A,操作如下: 1、创建用户B,再创建架构B; 2、将架构A... 阅读全文
posted @ 2009-05-19 10:52 slqwell 阅读(2400) 评论(0) 推荐(0)

2009年4月3日

摘要: 以下是该工具的命令参数说明:-? 显示该工具的帮助功能;-S 后接的参数为数据库服务器的名称或者IP地址;-U 后接的参数为数据库的登陆用户名;-P 后接的参数为数据库的登陆密码;-E 当使用windows集成验证时,使用该功能;-d 后接参数为对哪一个数据库采用SqlCacheDependency... 阅读全文
posted @ 2009-04-03 11:48 slqwell 阅读(471) 评论(0) 推荐(0)

2009年3月23日

摘要: --执行这个语句,就可以把当前库的所有表的所有者改为dbo exec sp_msforeachtable 'sp_changeobjectowner ''?'', ''dbo''' 阅读全文
posted @ 2009-03-23 21:50 slqwell 阅读(220) 评论(0) 推荐(0)

2009年2月26日

摘要: 只要在连接数据的连接字符串那里加入charset=gb2312即可 如: 阅读全文
posted @ 2009-02-26 11:15 slqwell 阅读(394) 评论(0) 推荐(0)

2009年2月23日

摘要: //接收网址参数 function GetUrlParameter(paramName) { var returnVal=""; try{ var paramUrl=window.location.search; //处理长度 if(paramUrl.length>0){ param... 阅读全文
posted @ 2009-02-23 14:12 slqwell 阅读(1913) 评论(0) 推荐(0)

2009年2月20日

摘要: 转载至:http://www.aspnetpro.com/NewsletterArticle/2003/08/asp200308pj_l/asp200308pj_l.asp Time.aspx页面 用户控件页面 阅读全文
posted @ 2009-02-20 13:04 slqwell 阅读(438) 评论(0) 推荐(0)

2005年9月1日

摘要: 1 public static string MakePassword( string pwdchars, int pwdlen) 2 { 3stringtmpstr=""; 4intiRandNum; 5Randomrnd=newRandom(); ... 阅读全文
posted @ 2005-09-01 15:44 slqwell 阅读(370) 评论(0) 推荐(0)