会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
LuoCore
LuoCore
www.LuoCore.com
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
38
39
40
41
42
43
44
45
46
···
52
下一页
2018年3月16日
SQL中的字母的大小写转换
摘要: http://blog.csdn.net/dxb601/article/details/52086830 update 表名 set 字段名a= Lower(字段a) 2.将小写字母转化成大写字母 update 表名 set 字段名a= upper(字段名a) update 表名 set 字段名a=
阅读全文
posted @ 2018-03-16 13:08 LuoCore
阅读(1661)
评论(0)
推荐(0)
2018年3月15日
Sql 通过表名查找所有列名
摘要: SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'ImmediacyOutKu'
阅读全文
posted @ 2018-03-15 19:50 LuoCore
阅读(237)
评论(0)
推荐(0)
Sql 日期时间各种操作
摘要: select convert(varchar(10),getdate(),120) 输出格式:2008-02-27 00:25:13 SELECT CONVERT(char(19), getdate(), 120) 输出格式:2008-02-27 SELECT CONVERT(char(10), g
阅读全文
posted @ 2018-03-15 13:06 LuoCore
阅读(687)
评论(0)
推荐(0)
2018年3月14日
System.ConfigurationManager类用于对配置文件的读取
摘要: http://blog.csdn.net/ligenyingsr/article/details/54095986 System.ConfigurationManager类用于对配置文件的读取。其具有的成员如下: 一、AppSettings AppSetting是最简单的配置节,读写非常简单。 名称
阅读全文
posted @ 2018-03-14 22:19 LuoCore
阅读(2535)
评论(0)
推荐(0)
Sql 最简单的Sqlserver连接
摘要: string name = txtUserName.Text.Trim();//移除用户名前部和后部的空格 string pwd = txtUserPwd.Text.Trim();//移除密码前部和后部的空格 SqlConnection conn = new Sqlconnection(@"serv
阅读全文
posted @ 2018-03-14 22:15 LuoCore
阅读(266)
评论(0)
推荐(0)
C#调用系统蜂鸣(需要发出警告时挺好用的 即使没有声卡)
摘要: http://heavenslv.iteye.com/blog/1033870
阅读全文
posted @ 2018-03-14 15:53 LuoCore
阅读(514)
评论(0)
推荐(0)
2018年3月8日
C# 用Linq或Lambda查询DataGridView行中的数据是否包含(各种操作)
摘要: 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
阅读(2271)
评论(1)
推荐(1)
2018年3月6日
C#用Linq查询Combox的数据源
摘要: 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
阅读(349)
评论(0)
推荐(0)
2018年3月2日
C# 获取SQL Server所有的数据库名称
摘要: 参考文章: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
阅读(292)
评论(0)
推荐(0)
C# 查出数据表DataTable 清除一列中的重复项保留其他项
摘要: 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
阅读(855)
评论(0)
推荐(0)
上一页
1
···
38
39
40
41
42
43
44
45
46
···
52
下一页
公告