摘要: 链接:https://pan.baidu.com/s/1ZGFieFO-D7_hvtFy5xro5w 提取码:t1yw 复制这段内容后打开百度网盘手机App,操作更方便哦 阅读全文
posted @ 2019-03-17 21:04 风葬秋暝 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 链接:https://pan.baidu.com/s/1kiOhEEQ66igKTMJ8K4sjLw 提取码:ozwe 复制这段内容后打开百度网盘手机App,操作更方便哦 阅读全文
posted @ 2019-03-17 20:36 风葬秋暝 阅读(773) 评论(1) 推荐(2) 编辑
摘要: https://blog.csdn.net/qq_36868342/article/details/78816740 阅读全文
posted @ 2019-03-17 14:54 风葬秋暝 阅读(137) 评论(0) 推荐(0) 编辑
摘要: A题: http://blog.sina.com.cn/s/blog_939f768f0102wix6.html 在using ()中新建的对象,比如你这里的conn,会在{}结束的时候自动关闭和释放,不需要你手动进行。 这样你不用每次都要去调用conn.Close(),或者conn.Dispose 阅读全文
posted @ 2019-03-15 21:46 风葬秋暝 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 1.什么是sql Injection(sql 注入)?如何防止? 答:是一种恶意将sql代码添加到输入参数中,传递到sql服务器解析并执行的一种攻击手法。 防止:1.对用户的输入进行校验,可以通过正则表达式,或限制长度;对单引号和双"-"进行转换等; 2.永远不要使用动态拼装sql,可以使用参数化的 阅读全文
posted @ 2019-03-15 20:38 风葬秋暝 阅读(170) 评论(0) 推荐(0) 编辑
摘要: //控制器 public ActionResult GetAllUserInfo() { int pageIndex = Request["page"] == null ? 1 : int.Parse(Request["page"]); int pageSize = Request["rows"] 阅读全文
posted @ 2019-03-14 22:13 风葬秋暝 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 务必请先注意这2点: 1. 要在<head></head>里面引用js ,否则没有验证图片出来 <script src="~/Scripts/jquery-1.8.2.min.js"></script> 2. <img id="GL_StandardCode" style="cursor: poin 阅读全文
posted @ 2019-02-24 20:47 风葬秋暝 阅读(360) 评论(0) 推荐(0) 编辑
摘要: .net MvcPager+Ajax无刷新分页百度网盘链接: https://pan.baidu.com/s/1QmtBVH_sb4O6pNnEIsB5jw 1.新建Asp.net Web项目,重命名为MvcAppPager,再选择MVC框架,完成。 在项目“引用”下添加“MvcPager.dll” 阅读全文
posted @ 2018-12-04 11:24 风葬秋暝 阅读(268) 评论(0) 推荐(0) 编辑
摘要: @RenderPartial() 将分布视图直接写入响应输出流,所以只能直接放在代码块中,不能放在表达式中(返回值是void) RenderPartial 不需要创建 Controller 的 Action ,而 RenderAction 需要在 Controller 创建要加载的 Action。R 阅读全文
posted @ 2018-12-02 23:40 风葬秋暝 阅读(2578) 评论(0) 推荐(0) 编辑
摘要: 案例一:在视图创建表单: 案例二:创建分部视图 控制器: 视图: 运行: 阅读全文
posted @ 2018-12-01 21:05 风葬秋暝 阅读(141) 评论(0) 推荐(0) 编辑