摘要: 提示 拒绝访问 或 没有权限 或 ' Window.document 或 '$dp' 为空或不是对象 $dp.dd is undefined之类的错误SCRIPT70: 没有权限WdatePicker.jsSCRIPT5011: 不能执行已释放 Script 的代码解决方法:下载最新版本下载1:ht... 阅读全文
posted @ 2014-11-10 15:49 Vihone 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 一、form表单中有 type是submit类型的button,点击 submit,从而会post数据,引发回传。 二、获取一个form对象,将其用js提交 三、jquery提交 阅读全文
posted @ 2014-10-17 11:55 Vihone 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 在使用Union all连接时,若A集合中某列为nvarchar2或nvarchar类型,而B集合中无此列,用‘ ’ 来代替是会报字符集不匹配,解决方法有两种,见下面的示例有问题的SQL:select '中国','China',cast('中国' as nvarchar2(10)) T from d... 阅读全文
posted @ 2014-09-16 09:21 Vihone 阅读(710) 评论(0) 推荐(0) 编辑
摘要: public class Book { public string BookID { get; set; } public DateTime PublishDate { get; set; } public decimal Price { ... 阅读全文
posted @ 2014-08-21 09:29 Vihone 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: 计算40天前的日期:var temp = new Date();console.log(temp);var tempValue = temp.getTime() - 40 * 24* 60*60*1000;var temp2 = new Date(tempValue );console.log(temp2); 阅读全文
posted @ 2013-09-04 16:10 Vihone 阅读(300) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text; namespaceDesignPattern._1.StrategyPattern{publicabstractclassDuck{publicIFlyBehaviorflyBehavior=null;publicIQuackBehaviorquackBehavior=null; publicDuck(){} publicabstractvoiddisplay(); publicvoidperformFly(){flyBehavior.. 阅读全文
posted @ 2013-07-27 22:22 Vihone 阅读(221) 评论(0) 推荐(0) 编辑
摘要: var strContent = "aaaaa";html.Append("<html><body><form id='postUploadFile' name='downloadFile' runat='server' style=' display:none' method='post' >");html.Append("<input id='fileData' name='btData' 阅读全文
posted @ 2013-06-18 21:37 Vihone 阅读(280) 评论(0) 推荐(0) 编辑
摘要: <asp:DataList ID="fileList" runat="server" RepeatColumns="1" RepeatDirection="Horizontal" CssClass="body" DataKeyField="ContentID" OnItemCommand="fileList_ItemCommand"> <ItemTemplate> <table border="0" cel 阅读全文
posted @ 2013-06-17 01:32 Vihone 阅读(332) 评论(0) 推荐(0) 编辑
摘要: index.htm<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><title></title></head><framesetrows="140,1*"frameb 阅读全文
posted @ 2013-06-16 15:07 Vihone 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 1. index.htm中有多个iframe<framesetrows="140,1*"frameborder="no"framespacing="0"> <frameid="topframe"name="topframe"src="Top.aspx"name="top"scrolling="NO"noresizemarginwidth="0"marginheight="0"&g 阅读全文
posted @ 2013-06-14 22:10 Vihone 阅读(744) 评论(0) 推荐(0) 编辑