12 2012 档案

摘要:下面以Access为例:string path = "D:\\newdb.accdb"; OleDbConnection conn = new OleDbConnection();string sql = "select * from News ";conn.ConnectionString = string.Format("Provider=Microsoft.ACE.OLEDB.12.0;; Data Source={0}; ", path);OleDbCommand comm = new OleDbCommand(sql,con 阅读全文
posted @ 2012-12-14 10:51 striiiiing 阅读(385) 评论(0) 推荐(0)
摘要:ChildForm f = new ChildForm();f.MdiParent = this;f.Parent = this.splitContainer1.Panel2;f.Show();f.Dock = DockStyle.Fill; //实现此功能的语句 阅读全文
posted @ 2012-12-11 20:33 striiiiing 阅读(2147) 评论(0) 推荐(0)