摘要: 泛型 form usercontrol 一般经常会用到泛型类,但是在winform中需要有一些界面上的泛型. 阅读全文
posted @ 2012-12-01 15:17 rwecho 阅读(7251) 评论(8) 推荐(0) 编辑
摘要: var query = from c in Customers where c.Country == "USA" select new { c.CompanyName,c.Country};//查看query的类型System.Data.Linq.DataQuery`1[[<>f__AnonymousType0`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b... 阅读全文
posted @ 2011-09-14 10:27 rwecho 阅读(622) 评论(0) 推荐(0) 编辑
摘要: var num = Enumerable.Range(1, 20) .Select(x => new { v = x, k = Guid.NewGuid().ToString() }).ToList() .OrderBy(x => x.k) .Select(x => x.v) .Take(10).ToList();foreach (var i in num){ Console.WriteLine(i);} 阅读全文
posted @ 2011-09-09 14:57 rwecho 阅读(1571) 评论(0) 推荐(0) 编辑
摘要: string path = "D:\\"; string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path + ";Extended Properties=\"Text;HDR=Yes;FMT=Delimited\""; OleDbConnection con = new OleDbConnection(conStr);//连接读取txt驱动 OleDbDataAdapter oda = null;//适配器 ... 阅读全文
posted @ 2011-08-31 12:48 rwecho 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 总结在项目中应用RDLC,遇到的一点问题 阅读全文
posted @ 2011-08-04 10:11 rwecho 阅读(4400) 评论(0) 推荐(1) 编辑
摘要: 关于Configuration中节点的用法,以备以后使用中用到 阅读全文
posted @ 2011-08-01 12:56 rwecho 阅读(5611) 评论(0) 推荐(0) 编辑
摘要: 事隔两个月终于又上班了,新公司,新同事,感觉很好! 今天就给我分项目了!还小得意下!可是下班同事给我讲这是家外包公司!!以后加班会很累! 累就累吧!为了媳妇 阅读全文
posted @ 2011-06-13 19:23 rwecho 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 在办公室中经常会遇到虚拟机的使用,而这个虚拟机里面发出的声音确总是beep beep,难受的要命,也影响旁边同事,看到这篇文章,一起去掉该死的BEEP 阅读全文
posted @ 2010-06-23 09:14 rwecho 阅读(6593) 评论(0) 推荐(1) 编辑
摘要: 虚拟键码对应值对应键VK_LBUTTON1鼠标左键VK_RBUTTON2鼠标右键VK_CANCEL3CancelVK_MBUTTON4鼠标中键VK_XBUTTON15VK_XBUTTON26VK_BACK8BackspaceVK_TAB9TabVK_CLEAR12ClearVK_RETURN13EnterVK_SHIFT16ShiftVK_CONTROL17CtrlVK_MENU18AltVK_P... 阅读全文
posted @ 2010-06-15 18:55 rwecho 阅读(1316) 评论(0) 推荐(0) 编辑
摘要: 摘自网络 阅读全文
posted @ 2010-06-13 21:03 rwecho 阅读(1164) 评论(1) 推荐(1) 编辑