上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 有事页面刷新时 提示如下: js使用的是:location.reload()的刷新方式。 使用js重新定向该页面:location.href=”a.aspx”; 当使用:self.opener.location.href=”a.aspx”; self.opener是指由哪个页面跳转到本页面。 在多个页面跳转到同一个页面时,由于不确定是哪一个页面而无法使用定向跳转页面。 使用如下JS... 阅读全文
posted @ 2016-04-19 11:56 Tirisfal 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 第一、在iframe中查找父页面元素的方法: $('#id', window.parent.document) 第二、在父页面中获取iframe中的元素方法: $(this).contents().find("#suggestBox") 第三、在iframe中调用父页面中定义的方法和变量: pare 阅读全文
posted @ 2016-02-25 14:05 Tirisfal 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 以下为 JS 代码:"屏幕分辨率为:"+screen.width+"*"+screen.height "屏幕可用大小:"+screen.availWidth+"*"+screen.availHeight "网页可见区域宽:"+document.body.clientWidth "网页可见区域高:"+ 阅读全文
posted @ 2016-02-15 10:09 Tirisfal 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 原文出自:http://www.csharp-examples.net/dataview-rowfilter/DataView RowFilter语法(c#)这个例子描述了DataView.RowFil­ter表达式的语法。它显示了如何正确构建表达式字符串(不„SQL注入”)转义字符的使用方法。列名... 阅读全文
posted @ 2016-01-22 15:23 Tirisfal 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-10-15 10:40 Tirisfal 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 作者:zhengzhb ,发布于2012-11-2,来源:CSDN 设计模式六大原则(1):单一职责原则 定义:不要存在多于一个导致类变更的原因。通俗的说,即一个类只负责一项职责。 问题由来:类T负责两个不同的职责:职责P1,职责P2。当由于职责P1需求发生改变而需要修改类T时,有可能会导致原本运行正常的职责P2功能发生故障。 解决方案:遵循单一职责原则。分别建立两个类T1、T2,... 阅读全文
posted @ 2015-10-13 09:47 Tirisfal 阅读(158) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro... 阅读全文
posted @ 2015-09-15 14:58 Tirisfal 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 安装了Windows10系统后,首先是查看80端口是不是被占用, 运行netstat -aon | findstr :80 ,发现pid是4的进程占用着80端口,这还是一个系统进程,kill不掉。 所以只能另想办法: 1、打开注册表:regedit 2、找到:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP 3、在... 阅读全文
posted @ 2015-09-09 15:20 Tirisfal 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 转载于:http://www.cnblogs.com/oec2003/archive/2007/11/09/954798.html 用服务器端的方法: 在页面上放一个gridview控件,配置好数据源,编辑列,添加一个模版列,再编辑模版,放入一个checkbox控件。代码如下: ... 阅读全文
posted @ 2015-09-02 08:38 Tirisfal 阅读(948) 评论(0) 推荐(0) 编辑
摘要: 转自http://www.cnblogs.com/c2303191/articles/826571.html Control.Invoke 方法 (Delegate) :在拥有此控件的基础窗口句柄的线程上执行指定的委托。 Control.BeginInvoke 方法 (Delegate) :在创建控件的基础句柄所在线程上异步执行指定委托。 (一)Control的Invoke和BeginInv... 阅读全文
posted @ 2015-08-24 11:36 Tirisfal 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页