日期:2014-05-18 浏览次数:20819 次
OleDbConnection conn=new OledbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='d:\a.mdb'"); OleDbCommand cmd=new OleDbCommand("insert into tablename (columnsname) values (values)"); conn.open(); cmd.ExecuteNonQuery(); conn.close(); //不排除手误