Open ras90it opened 10 months ago
`string sqlConnectionString = ""; // CONNECTION_STRING using (TransactionScope scope = new TransactionScope()) { try { using (OleDbConnection myCon = new OleDbConnection(db2ConnectionString)) { myCon.Open();
OleDbCommand cmd = new OleDbCommand { CommandType = CommandType.Text, CommandText = insertQuery, // INSERT QUERY Connection = myCon }; _ = cmd.ExecuteNonQuery(); scope.Complete(); } } catch (Exception ex) { throw; }
}`
Reproduction Steps:-
This repo is not a good place for asking this kind of question. I think something like Stack Overflow has a much better chance of getting you the answer you're looking for.
`string sqlConnectionString = ""; // CONNECTION_STRING using (TransactionScope scope = new TransactionScope()) { try { using (OleDbConnection myCon = new OleDbConnection(db2ConnectionString)) { myCon.Open();
}`
Reproduction Steps:-