源程序如下:        public void UpdataDataSet(DataSet ds, String sql, String srcTableName)
        {
            DataSet dsnull = new DataSet();
            try
            {
                this.openConnect();
                OracleDataAdapter dap = new OracleDataAdapter(sql, connect);
                OracleCommandBuilder builder = new OracleCommandBuilder(dap);
                builder.QuotePrefix = "[";
                builder.QuoteSuffix = "]";
                //dsnull.Tables.Add(ds.Tables[0].Copy());
                dap.Fill(dsnull, "DEV_STATE_CHECK");
                //dsnull.Merge(ds);
                foreach (DataRow row in ds.Tables[0].Rows)
                {
                    row.SetAdded();
                    dsnull.Tables[0].ImportRow(row);
                }
                Console.WriteLine(dsnull.Tables[0].Rows[0].Table.TableName);                dap.MissingSchemaAction = MissingSchemaAction.AddWithKey;                dap.Update(dsnull.Tables[0]);
            }
参数DataSET 是从别的数据库导出的,其中表名不同,表结构完全一样晕:只有10分可用分