xchapter

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

2012年3月10日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-03-10 16:40 xchapter 阅读(22) 评论(0) 推荐(0) 编辑

2012年3月6日

摘要: 用户"sa"登陆失败,SQL Server错误:184521、windows帐号进入设置启用sa用户;2、设置混合模式登录。用户"sa"登陆失败,SQL Server错误:18456EXEC sp_password null, '123456', 'sa' ALTER LOGIN sa ENABLEsp_password [ [ @old = ] 'old_password' , ] { [ @new =] 'new_password' } [ , [ @loginame = ] ' 阅读全文
posted @ 2012-03-06 18:21 xchapter 阅读(398) 评论(0) 推荐(0) 编辑

2012年3月4日

摘要: View Code 1 String.prototype.replaceAll=function(exp,str){return this.replace(new RegExp(exp,"g"),str);} 2 3 4 function btnAlert(){ 5 var tmp=confirm("确认对话框文本"); 6 if(tmp){ 7 alert("选择了确认"); 8 var sl=window.prompt("提示对话框文本","对话框输入值"); 9 if(sl!=" 阅读全文
posted @ 2012-03-04 23:47 xchapter 阅读(161) 评论(0) 推荐(0) 编辑

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-03-04 23:42 xchapter 阅读(20) 评论(0) 推荐(0) 编辑

2011年10月14日

摘要: View Code 1 <script language="javascript"> 2 window.open('/minMember.htm', 'newwindow', 'height=255, width=305, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') 3 </script> 4 5 <%--参数解释: 6 <SCRIPT LANGUAGE 阅读全文
posted @ 2011-10-14 15:10 xchapter 阅读(233) 评论(0) 推荐(0) 编辑

2011年10月12日

摘要: View Code 1 CREATE PROCEDURE proc_Pagerlister 2 @TableNames VARCHAR(200), --表名,可以是多个表,但不能用别名 3 @PrimaryKey VARCHAR(100), --主键,可以为空,但@Order为空时该值不能为空 4 @Fields VARCHAR(200), --要取出的字段,可以是多个表的字段,可以为空,为空表示select * 5 @PageSize INT, --每页记录数 6 @CurrentPage INT, ... 阅读全文
posted @ 2011-10-12 00:01 xchapter 阅读(179) 评论(0) 推荐(0) 编辑

2011年10月11日

摘要: View Code 1 <!--页面重写1-->2 <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>3 <!--页面重写2-->4 <RewriterConfig ConfigSource="_AboutXml/AboutUrl.xml">5 </RewriterConfig>6 <!--页面重写3- 阅读全文
posted @ 2011-10-11 23:59 xchapter 阅读(146) 评论(0) 推荐(0) 编辑

摘要: View Code 1 var times=8; 2 art.dialog.fn.shake = function() { 3 var style = this.DOM.wrap[0].style, 4 p = [1, 2, 1, 0, -1, -2, -1, 0], 5 fx = function() { 6 style.marginLeft = p.shift() + 'px'; 7 if (p.length <= 0) { 8 style.marginLeft = 0; 9 ... 阅读全文
posted @ 2011-10-11 23:51 xchapter 阅读(559) 评论(0) 推荐(0) 编辑

摘要: View Code 1 <form id="myform" runat="server" action="" methed="post">2 <script type="text/javascript">try{document.forms[0].action=""}catch(ex){}</script>3 </form>此段Js代码需放置form标签内。 阅读全文
posted @ 2011-10-11 23:44 xchapter 阅读(101) 评论(0) 推荐(0) 编辑