Zbiór zmian 448 dla branches

Pokaż
Ignoruj:
Data:
2009-03-16 10:34:26 (17 years ago)
Autor:
sylwek
Opis:

Re #123

Lokalizacja:
branches/TruckExpo/BrMerger
Pliki:
2 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/TruckExpo/BrMerger/App.config

    r446 r448  
    44    <add key="BazaReklam.DbName" value="Baza_Reklam" /> 
    55    <add key="TruckExpo.DbName" value="Truck_Expo" /> 
    6      
     6 
    77    <add key="BazaReklam.ConnectionString" value="Data Source=.\sql2k;Initial Catalog=Baza_Reklam;Persist Security Info=True;User=sa;Password=mageroni;" /> 
    88    <add key="TruckExpo.ConnectionString" value="Data Source=.\sql2k;Initial Catalog=Truck_Expo;Persist Security Info=True;User=sa;Password=mageroni;" /> 
  • branches/TruckExpo/BrMerger/Form1.cs

    r447 r448  
    472472 
    473473                Debug.WriteLine("Uff..."); 
    474                 return; 
     474                //return; 
    475475 
    476476 
     
    673673 
    674674                    cmd3.CommandText = "INSERT INTO " + bazaReklamDbName + ".dbo.Kontakty " + 
    675                         "(customerId, symbol_agenta, data, rodzaj, opis) " + 
    676                         "SELECT customerId, symbol_agenta, data, rodzaj, opis " + 
     675                        "(customerId, symbol_agenta, data, rodzaj, opis, KontaktTypId) " + 
     676                        "SELECT customerId, symbol_agenta, data, rodzaj, opis, 2 " + 
    677677                        "FROM " + truckExpoDbName + ".dbo.Kontakty " + 
    678678                        "WHERE Id_kontaktu=" + rdrKontakt["Id_kontaktu"];