Zbiór zmian 456 dla branches/TruckExpo/BrMerger/Form1.cs
- Data:
- 2009-03-18 09:38:12 (17 years ago)
- Pliki:
-
- 1 zmodyfikowane
-
branches/TruckExpo/BrMerger/Form1.cs (zmodyfikowane) (4 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
branches/TruckExpo/BrMerger/Form1.cs
r455 r456 31 31 private void RunProcess() 32 32 { 33 SqlTransaction tr1 = null;33 //SqlTransaction tr1 = null; 34 34 35 35 SqlConnection conn1 = null; … … 84 84 = nKontakty = nKONTAKTY_Log = nKLIENCI_Log = nKlienci_Tytul = nOferty_Main = nSheduler = nKl_Klienci = 0; 85 85 86 tr1 = conn3.BeginTransaction();87 cmd3.Transaction = tr1;86 //tr1 = conn3.BeginTransaction(); 87 //cmd3.Transaction = tr1; 88 88 89 89 int nRead = 0; … … 737 737 //test: anulujemy operacjê 738 738 //tr1.Rollback(); 739 tr1.Commit();740 tr1 = null;739 //tr1.Commit(); 740 //tr1 = null; 741 741 742 742 conn1.Close(); … … 767 767 catch (Exception ex) 768 768 { 769 if (tr1 != null)770 {771 tr1.Rollback();772 tr1 = null;773 }769 //if (tr1 != null) 770 //{ 771 // tr1.Rollback(); 772 // tr1 = null; 773 //} 774 774 775 775 MessageBox.Show(ex.ToString());
