sqlConnection cn1 = new sqlConnection();cn1.Open(); //connection opened when there is no ambient transaction.... using(TransactionScope scope = new TransactionScope()){ sqlCommand cmd; //a typical sql command. ... cmd.ExecuteNonQuery(); //Is this command within transaction? ...}