上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 52 下一页
摘要: http://blog.csdn.net/ligenyingsr/article/details/54095986 System.ConfigurationManager类用于对配置文件的读取。其具有的成员如下: 一、AppSettings AppSetting是最简单的配置节,读写非常简单。 名称 阅读全文
posted @ 2018-03-14 22:19 LuoCore 阅读(2496) 评论(0) 推荐(0)
摘要: string name = txtUserName.Text.Trim();//移除用户名前部和后部的空格 string pwd = txtUserPwd.Text.Trim();//移除密码前部和后部的空格 SqlConnection conn = new Sqlconnection(@"serv 阅读全文
posted @ 2018-03-14 22:15 LuoCore 阅读(250) 评论(0) 推荐(0)
摘要: http://heavenslv.iteye.com/blog/1033870 阅读全文
posted @ 2018-03-14 15:53 LuoCore 阅读(490) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/xht555/article/details/38685845 https://www.cnblogs.com/wuchao/archive/2012/12/25/2832744.html IEnumerable<DataGridViewRow> enume 阅读全文
posted @ 2018-03-08 21:07 LuoCore 阅读(2233) 评论(1) 推荐(1)
摘要: https://www.cnblogs.com/sufei/archive/2010/01/12/1645763.html var result = ((DataTable) (this.ComShop.DataSource)).AsEnumerable() .Where(f1 => f1["Nam 阅读全文
posted @ 2018-03-06 19:38 LuoCore 阅读(338) 评论(0) 推荐(0)
摘要: 参考文章:http://www.cnblogs.com/Abel_cn/archive/2008/12/09/1351425.html http://blog.csdn.net/friendan/article/details/52182923 using System; using System. 阅读全文
posted @ 2018-03-02 14:45 LuoCore 阅读(272) 评论(0) 推荐(0)
摘要: http://bbs.csdn.net/topics/391085792 DataTable 老表= 新表.AsEnumerable().GroupBy(p => p["姓名"]).SelectMany(p => p.GroupBy(s => s["年龄"]).Select(x => x.First 阅读全文
posted @ 2018-03-02 11:17 LuoCore 阅读(843) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/lxhbky/p/5962393.html 需求:查询表dbo.Message,每页10条,查询第2页 1:TOP() SELECT TOP(20) * FROM dbo.Message WHERE Code NOT IN (SELECT TOP(10 阅读全文
posted @ 2018-02-27 18:08 LuoCore 阅读(996) 评论(0) 推荐(0)
摘要: select * from table1 where patindex('%关键字%' , aa) = 0 select * from table1 where charindex('关键字' , aa) = 0 select * from table1 where aa like '%关键字%' 阅读全文
posted @ 2018-02-27 12:14 LuoCore 阅读(2030) 评论(0) 推荐(0)
摘要: https://zhidao.baidu.com/question/154994771.html 阅读全文
posted @ 2018-02-02 21:50 LuoCore 阅读(1661) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 52 下一页