07 2017 档案

摘要:Id bigint not null, version int not null default(1), created_by nvarchar(50) not null, created_time datetime not null default(getdate()), modified_by nvarchar(50) not null, mo... 阅读全文
posted @ 2017-07-26 09:30 谷仁儿 阅读(445) 评论(0) 推荐(0)
摘要:接触 LINQ 也有很长的一段时间了,有些在 SQL 语句中用的很顺手的东西在 Linq 中却不知道如何实现了,最近遇到了一个问题,在 LINQ 的 Where 条件式中要如何使用 IN 与 NOT IN 呢? 这时候真的开始怀念 T-SQL 其实还是最好用的。为了让自己日后开发时更为方便,于是花了一点时间,参考一些网络资料及 MSDN 后,得到以下的测试結果:T-SQL的IN:Select Pr... 阅读全文
posted @ 2017-07-25 13:02 谷仁儿 阅读(356) 评论(0) 推荐(0)
摘要:1、设置选择模式 this.DataGridView_1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; 2、添加CellMouseDown事件 阅读全文
posted @ 2017-07-12 13:48 谷仁儿 阅读(1402) 评论(0) 推荐(0)