会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
西游的博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2010年6月7日
关于获取各种浏览器可见窗口大小的一点点研究
摘要: 关于获取各种浏览器可见窗口大小的一点点研究 function getInfo() { var s = ""; s += " 网页可见区域宽:"+ document.body.clientWidth; s += " 网页可见区域高:"+ document.body.clientHeight;
阅读全文
posted @ 2010-06-07 14:38 西游
阅读(278)
评论(0)
推荐(0)
编辑
2010年6月1日
利用Js获取和修改FCKeditor的值
摘要: 利用Javascript取和设FCKeditor值也是非常容易的,如下: // 获取编辑器中HTML内容 function getEditorHTMLContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.GetXHTML(true)); } // 获取编辑器中文字内容 function getEditorTextContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.EditorDocument.body.innerText); } // 设置编辑器中内容 function SetEditorContents(EditorName, ContentStr) { var oEditor = FCKeditorAPI.GetInstance(EditorName) ;
阅读全文
posted @ 2010-06-01 10:47 西游
阅读(268)
评论(0)
推荐(0)
编辑
2010年5月27日
.net过滤特定代码
摘要: #region/// 过滤html,js,css代码 /// /// 过滤html,js,css代码 /// /// 参数传入 /// public static string CheckStr(string html) { System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"", System.Text.RegularExpressions.RegexOptions.IgnoreCase); System.Text.RegularExpressions.Regex regex2 = new System.Text.RegularExpressions.
阅读全文
posted @ 2010-05-27 17:36 西游
阅读(656)
评论(0)
推荐(1)
编辑
2010年5月7日
含时分秒的日历控件
摘要: // 主调用函数是 setday(this,[object])和setday(this),[object]是控件输出的控件名,举两个例子: // 一、 // 二、 var bMoveable=true; var strFrame;
阅读全文
posted @ 2010-05-07 13:40 西游
阅读(2258)
评论(2)
推荐(0)
编辑
2009年11月24日
sql replace转换问题
摘要: 编程过程中根据需要,要取一个平方根的右8位。 写法如下: select right(replace(cast(sqrt(cast('01722011' as int)*0.12)as varchar(30)),'.',''),8) 可是结果却显示前6位数字。 后来在有位朋友的帮助下,改成:sele...
阅读全文
posted @ 2009-11-24 10:02 西游
阅读(792)
评论(4)
推荐(0)
编辑
2009年2月25日
不同服务器数据库之间的数据操作
摘要: 不同服务器数据库之间的数据操作 --创建链接服务器 exec sp_addlinkedserver 'ITSV ', ' ', 'SQLOLEDB ', '远程服务器名或ip地址 ' exec sp_addlinkedsrvlogin 'ITSV ', 'false ',null, '用户名 ', '密码 ' --查询示例
阅读全文
posted @ 2009-02-25 10:32 西游
阅读(1212)
评论(0)
推荐(0)
编辑
2008年11月27日
SQL server join,left join,right join ,outer join,union解释
摘要: 给个通俗的解释吧. 例表a aid adate 1 a1 2 a2 3 a3 表b bid bdate 1 b1 2 b2 4 b4 两个表a,b相连接,要取出id相同的字段 select * from a inner join b on a.aid = b.bid这是仅取出匹配的数据.
阅读全文
posted @ 2008-11-27 15:50 西游
阅读(7137)
评论(0)
推荐(0)
编辑
2008年7月16日
判断参数对象是否为DBNULL
摘要: 判断参数对象是否为DBNULL对象类型
阅读全文
posted @ 2008-07-16 15:13 西游
阅读(2633)
评论(0)
推荐(0)
编辑
2008年6月13日
绕过禁用window.open()方法,打开新窗口
摘要: var ta=document.createElement("a"); document.body.appendChild(ta); ta.href="http://www.cnblogs.com"; ta.target="_blank"; ta.click();
阅读全文
posted @ 2008-06-13 10:13 西游
阅读(573)
评论(0)
推荐(0)
编辑
2008年6月2日
没有安装与 Windows SharePoint Services 兼容的数据表组件
摘要: 客户端出错:无法在数据表视图中显示该列表: 没有安装与 Windows SharePoint Services 兼容的数据表组件 客户端想在数据表中编辑时提示下列错误: 数据视图由于下列一个或多个原因,无法在数据表视图中显示该列表: 没有安装与 Windows SharePoint Servi...
阅读全文
posted @ 2008-06-02 10:54 西游
阅读(4669)
评论(0)
推荐(0)
编辑
上一页
1
2
3
下一页
公告