06 2011 档案
摘要:一、错误提示:控件包含代码块(即<% ... %>),因此无法修改控件集合。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Web.HttpException: 控件包含代码块(即 <% ... %> ),因此无法修改控件集合。 二、错误地方 : Repeater控件中加入判断语句出现了问题<a href='<%=Page.ResolveClientUrl("~/")%>FreeStudy/Course/Cours
阅读全文
摘要:帐户登录界面的文件叫Login.aspx,后台代码为Login.aspx.cs在VS.NET 2005下测试通过,可发布后,在IIS下运行,则有如下错误提示。 =============================================================================== Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific e
阅读全文
摘要:$.ajax({ url: 'Ajax/OrderBy.aspx', data: {AppIds: sortedAppids}, dataType: 'xml', type: 'POST', success: function(xml) { alert("排序成功!"); } }); ajax在同步交互时,第一次提交正常,再第二次提交如果和上次提交的url地址相同时将不进行提交,会用上次的返回值。这样处理也许是ext别有良苦用心,但是,如果遇到每次必须提交时,例如一次提交后台的数据已经被修改了,再次提交返回的结果其实是不一样的
阅读全文
摘要:添加引用ICSharpCode.SharpZipLib.dll view plaincopy to clipboardprint?usingSystem; usingSystem.Collections.Generic; usingSystem.IO; usingSystem.Threading; usingICSharpCode.SharpZipLib.Zip; namespaceLib { ///<summary> ///文件压缩、解压缩 ///</summary> publicclassFileCompression { ///<summary> //
阅读全文