------解决方案-------------------- System.Data.OleDb.OleDbDataAdapter da = new System.Data.OleDb.OleDbDataAdapter("SELECT * From a11", cn); System.Data.OleDb.OleDbDataAdapter da1 = new System.Data.OleDb.OleDbDataAdapter("SELECT * From b11", cn);
System.Data.OleDb.OleDbCommandBuilder cb = new System.Data.OleDb.OleDbCommandBuilder(da); System.Data.OleDb.OleDbCommandBuilder cb1 = new System.Data.OleDb.OleDbCommandBuilder(da1); da.Fill(ds,"table"); da1.Fill(ds, "table1"); ds.Tables[1].Rows[0].Delete(); da.Update(ds,"table"); da1.Update(ds,"table1");
------解决方案--------------------