Pokaż
Ignoruj:
Data:
2009-03-18 09:38:12 (17 years ago)
Autor:
marek
Opis:

re #75 - wersja 1.0.0.84

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/TruckExpo/BrMerger/Form1.cs

    r455 r456  
    3131        private void RunProcess() 
    3232        { 
    33             SqlTransaction tr1 = null; 
     33            //SqlTransaction tr1 = null; 
    3434 
    3535            SqlConnection conn1 = null; 
     
    8484                        = nKontakty = nKONTAKTY_Log = nKLIENCI_Log = nKlienci_Tytul = nOferty_Main = nSheduler = nKl_Klienci = 0; 
    8585 
    86                 tr1 = conn3.BeginTransaction(); 
    87                 cmd3.Transaction = tr1; 
     86                //tr1 = conn3.BeginTransaction(); 
     87                //cmd3.Transaction = tr1; 
    8888 
    8989                int nRead = 0; 
     
    737737                //test: anulujemy operacjê 
    738738                //tr1.Rollback(); 
    739                 tr1.Commit(); 
    740                 tr1 = null; 
     739                //tr1.Commit(); 
     740                //tr1 = null; 
    741741 
    742742                conn1.Close(); 
     
    767767            catch (Exception ex) 
    768768            { 
    769                 if (tr1 != null) 
    770                 { 
    771                     tr1.Rollback(); 
    772                     tr1 = null; 
    773                 } 
     769                //if (tr1 != null) 
     770                //{ 
     771                //    tr1.Rollback(); 
     772                //    tr1 = null; 
     773                //} 
    774774 
    775775                MessageBox.Show(ex.ToString());