上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
摘要: “~”表示Web 应用程序根目录,“/”也是表示根目录,“../”表示当前目录的上一级目录,“./”表示当前目录 1 throw抛出异常 2 执行OnActionExecuted 方法 3执行 Global 中的 Application_Error 方法写入日志 global文件中写入 错误日志记录 阅读全文
posted @ 2019-09-29 11:41 wonderfulviews 阅读(288) 评论(0) 推荐(0) 编辑
摘要: public bool ExecMVCToHtml() { string url = aspxUrl; if (url.IndexOf("/") != 0) url = "/" + url; string address = Framework.Utils.RootURL + url; StreamWriter sw = new StreamWriter(htmlSavePath, false, 阅读全文
posted @ 2019-09-28 15:28 wonderfulviews 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 第一种:结合form表单 第二种:结合javascript的使用,不要form表单 https://blog.csdn.net/alexaxinzhang/article/details/41656727 阅读全文
posted @ 2019-09-28 14:57 wonderfulviews 阅读(2652) 评论(0) 推荐(0) 编辑
摘要: cache-control出现在request中: cache-control:no-control 告诉HTTP消息链上的缓存系统(也就是浏览器的缓存和代理服务器上的缓存),本次请求要求忽略一切缓存,需原始服务器重新计算生成回应给用户。当我们在浏览器中强制刷新页面,发送的就是这个头(不同很多浏览器 阅读全文
posted @ 2019-09-28 10:17 wonderfulviews 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 背景透明 background-color:transparent; 元素的透明级别 opacity:0; 阅读全文
posted @ 2019-09-27 15:16 wonderfulviews 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/HaHa_Sir/article/details/79025127 解决 js报错:Uncaught TypeError- Cannot use 'in' operator to search for 'length' in [{"id":"636" 阅读全文
posted @ 2019-09-26 16:47 wonderfulviews 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/czh-520/articles/9602801.html json字符串、json对象、数组 三者之间的转换 将对象转化成数组第二种方式 关于return 和return false 1 都可以终止当前执行的方法 2 只有 return false 阅读全文
posted @ 2019-09-25 13:46 wonderfulviews 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 常见问题 原文 https://www.cnblogs.com/NeilShieh/articles/10470299.html Sqlserver 报错“参数数据类型 ntext/text 对于 replace 函数的参数 1 无效”的解决方案及原理分析扩展 若字段的类型为ntext 则先转为 v 阅读全文
posted @ 2019-09-19 15:55 wonderfulviews 阅读(7210) 评论(0) 推荐(0) 编辑
摘要: 错误 从客户端(Content="<p>测试</p>")中检测到有潜在危险的 Request.Form 值 解决方法如下: 方法一: 修改Web.Config文件: <configuration> <system.web> <pages validateRequest="false" /> </sy 阅读全文
posted @ 2019-08-08 17:08 wonderfulviews 阅读(1451) 评论(0) 推荐(0) 编辑
摘要: 使用foreach不能执行删除、修改,这是规定。你可以使用for循环遍历修改。 如果你是删除的话,for循环 i 要从大到小,比如: 阅读全文
posted @ 2019-08-08 15:09 wonderfulviews 阅读(142) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页