摘要: 下面介绍三种对comboBox绑定的方式,分别是泛型中IList和Dictionary,还有数据集DataTable 一、IList 现在我们直接创建一个List集合,然后绑定 IList<string> list = new List<string>(); list.Add("111111"); 阅读全文
posted @ 2019-10-28 08:43 道德天尊 阅读(12200) 评论(0) 推荐(1)
摘要: CREATE TABLE [tab_cJ] ([id] [int] IDENTITY (1, 1) NOT NULL PRIMARY KEY,[name] [varchar] (50) ,[age] [int] NULL ,[info] [varchar] (200)) 建存储过程 CREATE P 阅读全文
posted @ 2019-08-26 10:00 道德天尊 阅读(261) 评论(0) 推荐(0)
摘要: MongoDB语法与现有关系型数据库SQL语法比较 MongoDB语法 MySql语法 db.test.find({'name':'foobar'}) <==> select * from test where name='foobar' db.test.find() <==> select *fr 阅读全文
posted @ 2019-08-15 15:22 道德天尊 阅读(270) 评论(0) 推荐(0)
摘要: 我用到了WinForm窗体中去调用一个子窗体,在连续点击调用子窗体之后就出现了异常:未处理异常:Win32Exception 创建窗口句柄时出错。 之前运行好好的,当我改写了Createhandle()函数的重写积累方法之后就可以实现了代码如下: protected override void Cr 阅读全文
posted @ 2019-08-14 10:39 道德天尊 阅读(838) 评论(0) 推荐(0)
摘要: List<JE_PartInventoryTran> listtran = new List<JE_PartInventoryTran>(); foreach (DataGridViewRow item in dataGridView10.Rows) { JM_LabelList ll = new 阅读全文
posted @ 2019-08-07 14:55 道德天尊 阅读(556) 评论(0) 推荐(0)