摘要: ajax post data 获取不到数据,注意 content-type的设置 、post/get关于 jQuery data 传递数据。网上各种获取不到数据,乱码之类的。好吧今天我也遇到了,网上一查各种纠结。乱码不管先看获取不到数据。因为之前一直用jQuery ajax get的方式传递参数, 默认没有设置过 contentType 的值。 1: var Skip = 49; //Number of skipped row 2: var Take = 14; // 3: function Load(Skip, Take) { 4: ... 阅读全文
posted @ 2013-11-26 19:20 Vinton.Liu 阅读(64215) 评论(5) 推荐(6) 编辑
摘要: jQuery 、js 设置 显示隐藏 jQuery转换dom 阅读全文
posted @ 2013-10-28 15:24 Vinton.Liu 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 未能加载文件或程序集“Interop.jmail”或它的某一个依赖项。试图加载格式不正确的程序。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.BadImageFormatException: 未能加载文件或程序集“Interop.jmail”或它的某一个依赖项。试图加载格式不正确的程序。源错误: 执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 程序集加载跟踪: 下列信息有助于确... 阅读全文
posted @ 2013-10-10 15:07 Vinton.Liu 阅读(1338) 评论(0) 推荐(1) 编辑
摘要: 出现情况:异常关机---------------------------转自:http://blog.sina.com.cn/s/blog_4d38a3b001016gdg.html莫名其妙的编译总会报错异常来自 HRESULT:0x80070057 (E_INVALIDARG)未能加载程序集.......几次删除引用然后重新引用程序集还是报错 奔溃中....网上搜索还真有解决办法:解决方法 是 删除C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/TemporaryASP.NET files文件夹。请注意:上面说的解决方法只是用与.NET 2.0编译 阅读全文
posted @ 2013-04-28 14:57 Vinton.Liu 阅读(530) 评论(2) 推荐(0) 编辑
摘要: <httpRuntime executionTimeout="7200" maxRequestLength="2097151" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" />分析器错误消息:属性“maxRequestLength”的值无效。错误为: 该值必须在 0-2097151 阅读全文
posted @ 2013-01-05 17:20 Vinton.Liu 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 如题. 想根据单击事件的返回结果,来出来超链接是否失效.本来想js直接返回false因该可以. 谁知不行.<html><head><scripttype="text/javascript">functioncheckOrderLock(){returnfalse;}</script></head><body><ahref="#"onclick="checkOrderLock();window.location.href='http://www.google.c 阅读全文
posted @ 2012-01-05 16:11 Vinton.Liu 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 断点小叹号: "当前不会命中断点,源代码与原始代码不同"不解,google下也无解. 乱点进入 web.config <compilation debug="false"/>办法:<compilation debug="true"/>再调试可行. 阅读全文
posted @ 2012-01-04 11:03 Vinton.Liu 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 效果View Code usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;namespaceWindowsFormsApplication1{publicpartialclassForm1:Form{publicForm1(){InitializeComponent();}publicoverridestring 阅读全文
posted @ 2011-06-11 17:49 Vinton.Liu 阅读(4036) 评论(0) 推荐(0) 编辑
摘要: server-----------------usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Net.Sockets;usingSystem.Net;usingSystem.Threading;namespaceServerSocketDemo{classProgram{staticIPEndPointserverEndPoint;staticIPEndPointclientEndPoint;staticSocketserverSocket=newSocket(A 阅读全文
posted @ 2011-06-06 22:51 Vinton.Liu 阅读(6294) 评论(1) 推荐(0) 编辑