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
阅读全文
摘要:ChildForm f = new ChildForm();f.MdiParent = this;f.Parent = this.splitContainer1.Panel2;f.Show();f.Dock = DockStyle.Fill; //实现此功能的语句
阅读全文

浙公网安备 33010602011771号