02 2016 档案

摘要:1. 实现DevExpress GridControl 只有鼠标双击后才进行修改数据:修改GridView.OptionsBehavior.EditorShowMode属性为Click 2. 实现DevExpress GridControl 只有鼠标双击后才进行修改数据:修改GridView.Opt 阅读全文
posted @ 2016-02-24 04:37 水果饮料 阅读(703) 评论(0) 推荐(0)
摘要:网上找的代码,还没经过验证 /// <summary> /// Bulk inserts multiple rows to SQL /// </summary> /// <param name="tableName">The name of the table to insert into</par 阅读全文
posted @ 2016-02-23 07:23 水果饮料 阅读(1969) 评论(2) 推荐(0)
摘要:1 public DataTable ExecuteDataTable(Sql sql) 2 { 3 return ExecuteDataTable(sql.SQL, sql.Arguments); 4 } 5 public DataTable ExecuteDataTable(string sql 阅读全文
posted @ 2016-02-20 17:37 水果饮料 阅读(1338) 评论(0) 推荐(1)
摘要:public static object GetProperty(object o, string member) { if(o == null) throw new ArgumentNullException("o"); if(member == null) throw new ArgumentN 阅读全文
posted @ 2016-02-20 17:35 水果饮料 阅读(460) 评论(0) 推荐(0)