摘要: 1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num上 阅读全文
posted @ 2020-07-03 09:36 Allen6167 阅读(349) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-02-29 09:52 Allen6167 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://blog.csdn.net/liumaolincycle/article/details/50052619 https://www.cnblogs.com/eczhou/p/7860573.html https://blog.csdn.net/lengconglin/art 阅读全文
posted @ 2018-12-01 15:06 Allen6167 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: 参考链接:http://www.wangchao.info/1137.html 注意:链接中写的简化了,其中重启服务的命令似乎不太适用,可能是不通用,我下面描述的方式亲测可行,如有其他疑问请留言; https://blog.csdn.net/ponyxx/article/details/537697 阅读全文
posted @ 2018-12-01 12:03 Allen6167 阅读(3659) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://jingyan.baidu.com/article/63f236284aca280208ab3dcc.html https://jingyan.baidu.com/article/d7130635f7187313fdf47582.html https://www.cnbl 阅读全文
posted @ 2018-11-19 13:19 Allen6167 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 1、 如何解决单击记录整行选中的问题 View->OptionsBehavior->EditorShowMode 设置为:Click 2、 如何新增一条记录 (1)、gridView.AddNewRow() (2)、实现 gridView_InitNewRow 事件 3、如何解决 GridContr 阅读全文
posted @ 2018-09-01 22:51 Allen6167 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1.字符串的各种属性和方法; 2.数组的各种属性和方法; 3.public、private、protect、internal、protect internal 4.构造函数 5.属性 6.ADO.NET 7.重载overload、重写override、静态方法static、密封类/方法sealed、 阅读全文
posted @ 2018-08-23 00:51 Allen6167 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 本文内容主要记录本人学习过程中遇到的错误,其中不乏有一些低级错误,为了牢记以免再次犯错特意记录,不要笑话哈; 1.“System.TypeInitializationException”类型的未经处理的异常在 LoginDAL.dll 中发生其他信息: “sqlHelper.sqlHelper”的类 阅读全文
posted @ 2018-08-17 23:57 Allen6167 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 以下代码是参考几个不同人的写法总结写成的,肯定还有很大的优化空间,暂存该版本;有建议的欢迎提出; 阅读全文
posted @ 2018-08-17 22:26 Allen6167 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 001 using System; 002 using System.Data; 003 using System.Configuration; 004 using System.Web; 005 using System.Web.Security; 006 using System.Collections; 007 using System.Data.... 阅读全文
posted @ 2018-08-17 22:23 Allen6167 阅读(265) 评论(0) 推荐(0) 编辑