上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 118 下一页
摘要: 基础知识一:using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;namespace WindowsFormsApplication2{ public class P... 阅读全文
posted @ 2014-08-05 15:39 跟着阿笨一起玩.NET 阅读(4327) 评论(0) 推荐(0) 编辑
摘要: 不错的设计博客: http://www.cnblogs.com/smiler/category/509554.html http://www.cnblogs.com/ywqu/tag/Design%20pattern/ http://www.cnblogs.com/chengxingliang/ta 阅读全文
posted @ 2014-08-05 08:34 跟着阿笨一起玩.NET 阅读(280) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-08-04 22:44 跟着阿笨一起玩.NET 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 本文章转载:http://www.cnblogs.com/wintersun/p/3577039.html官方地址:http://www.codemaid.net/开源VS扩展CodeMaid介绍CodeMaid是一个开源的Visual Studio的扩展插件,用于整理与优化代码等。功能类似于商业软... 阅读全文
posted @ 2014-08-04 22:26 跟着阿笨一起玩.NET 阅读(8601) 评论(0) 推荐(0) 编辑
摘要: 多线程或者异步调用中如何访问HttpContext?前面我还提到在APM模式下的异步完成回调时,访问HttpContext.Current也会返回null,那么此时该怎么办呢?答案有二种:1. 在类型中添加一个字段来保存HttpContext的引用(异步开始前)。2. 将HttpContext赋值给... 阅读全文
posted @ 2014-08-04 16:23 跟着阿笨一起玩.NET 阅读(8270) 评论(1) 推荐(0) 编辑
摘要: 本人转载:http://www.cnblogs.com/xiebin1986/archive/2011/12/15/2288893.html调试WindowsService,以前用过一个附加到进程的方法,还是挺麻烦的,需要先安装并启动服务,后来找到了一个更好的方法,方法如下:在Service1.cs... 阅读全文
posted @ 2014-08-02 17:41 跟着阿笨一起玩.NET 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 本文转载:http://www.cnblogs.com/ybhcolin/archive/2010/09/24/1834219.htmlc#类的初始化顺序类在初始化时的执行顺序,依次如下:1: 子类静态变量2: 子类静态构造函数3: 子类非静态变量4: 父类静态变量5: 父类静态构造函数6: 父类非... 阅读全文
posted @ 2014-08-02 16:47 跟着阿笨一起玩.NET 阅读(343) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-08-01 20:19 跟着阿笨一起玩.NET 阅读(762) 评论(3) 推荐(2) 编辑
摘要: 本文转载:http://blog.csdn.net/limlimlim/article/details/8638080 #region 多条件搜索时,使用List集合来拼接条件(拼接Sql) StringBuilder sql = new StringBuilder("se... 阅读全文
posted @ 2014-07-29 10:28 跟着阿笨一起玩.NET 阅读(13689) 评论(0) 推荐(0) 编辑
摘要: 解决办法:HttpContext.Current.Response.Clear();HttpContext.Current.Response.Buffer = true;HttpContext.Current.Response.ContentEncoding = System.Text.Encodi... 阅读全文
posted @ 2014-07-28 23:14 跟着阿笨一起玩.NET 阅读(4018) 评论(0) 推荐(0) 编辑
上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 118 下一页