Index: branches/Emisje/BazaReklam/OrderDetails.cs
===================================================================
--- branches/Emisje/BazaReklam/OrderDetails.cs (revision 784)
+++ branches/Emisje/BazaReklam/OrderDetails.cs (revision 789)
@@ -1361,4 +1361,7 @@
                 issue.Lokalizacja = editAdIssue.Lokalizacja.Text;
                 issue.LokalizacjaId = editAdIssue.Lokalizacja.Id;
+
+                //TODO: czy jest mozliwoæ aby ustawiaæ dzial lub rozdzial na NULL?
+                //Teraz to siê nie uda...
                 if (editAdIssue.Dzial != null)
                 {
Index: branches/Emisje/BazaReklam/LogaKlientowForm.cs
===================================================================
--- branches/Emisje/BazaReklam/LogaKlientowForm.cs (revision 591)
+++ branches/Emisje/BazaReklam/LogaKlientowForm.cs (revision 789)
@@ -25,6 +25,4 @@
             InitializeComponent();
             this.customerId = customerId;
-
-            this.kLIENCI_INTERNET_LOGOTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
         }
 
Index: branches/Emisje/BazaReklam/AddClient.cs
===================================================================
--- branches/Emisje/BazaReklam/AddClient.cs (revision 732)
+++ branches/Emisje/BazaReklam/AddClient.cs (revision 789)
@@ -50,6 +50,6 @@
         {
             LoadTitleList();
-            clientsAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            clientTitlesAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //clientsAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //clientTitlesAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             ComboBoxHelper.Bind(CountryRepository.FindAll(), cbCountry);
@@ -173,5 +173,5 @@
         {
             SLOWNIKDataSetTableAdapters.LISTA_TYTULOWTableAdapter titleListAdapter = new SLOWNIKDataSetTableAdapters.LISTA_TYTULOWTableAdapter();
-            titleListAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //titleListAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
             lbTitles.DataSource = titleListAdapter.GetData();
             lbTitles.DisplayMember = "SYMB";
Index: branches/Emisje/BazaReklam/ZamowieniaForm.cs
===================================================================
--- branches/Emisje/BazaReklam/ZamowieniaForm.cs (revision 764)
+++ branches/Emisje/BazaReklam/ZamowieniaForm.cs (revision 789)
@@ -1162,30 +1162,31 @@
         private void zamowieniaBindingSource_CurrentChanged(object sender, EventArgs e)
         {
-            if (zamowieniaBindingSource.Current != null)
-            {
-                DataRowView z = (DataRowView)zamowieniaBindingSource.Current;
-                REKLAMADataSet.zamowieniaRow zamowienie = (REKLAMADataSet.zamowieniaRow)z.Row;
-                
-                rEKLAMATableAdapter.FillByIdZamowienia(rEKLAMADataSet.REKLAMA, zamowienie.idZamowienia);
-                fAKTURYTableAdapter.FillByIdZamowienia(rEKLAMADataSet.FAKTURY, zamowienie.idZamowienia);
-
-                dodajDoZamButton.Enabled = !zamowienie.zafakturowanoWszystko;
-                usunZZamButton.Enabled = !zamowienie.zafakturowanoWszystko;
-                fakturujButton.Enabled = !zamowienie.zafakturowanoWszystko;
-
-                if (!zamowienie.IsdataOstatniejZafakturowanejEmisjiNull())
-                {
-                    DateTime data = zamowienie.dataOstatniejZafakturowanejEmisji;
-                    DateTime dzis = DateTime.Today;
-
-                    if ((dzis.Year > data.Year) ||
-                        (dzis.Year == data.Year & dzis.Month > data.Month))
-                    {
-                        fakturujButton.Enabled = true;
-                    }
-                    else
-                    {
-                        fakturujButton.Enabled = false;
-                    }
+            if (zamowieniaBindingSource.Current == null) return;
+
+            RestoreConnections();
+            
+            DataRowView z = (DataRowView) zamowieniaBindingSource.Current;
+            REKLAMADataSet.zamowieniaRow zamowienie = (REKLAMADataSet.zamowieniaRow) z.Row;
+            
+            rEKLAMATableAdapter.FillByIdZamowienia(rEKLAMADataSet.REKLAMA, zamowienie.idZamowienia);
+            fAKTURYTableAdapter.FillByIdZamowienia(rEKLAMADataSet.FAKTURY, zamowienie.idZamowienia);
+
+            dodajDoZamButton.Enabled = !zamowienie.zafakturowanoWszystko;
+            usunZZamButton.Enabled = !zamowienie.zafakturowanoWszystko;
+            fakturujButton.Enabled = !zamowienie.zafakturowanoWszystko;
+
+            if (!zamowienie.IsdataOstatniejZafakturowanejEmisjiNull())
+            {
+                DateTime data = zamowienie.dataOstatniejZafakturowanejEmisji;
+                DateTime dzis = DateTime.Today;
+
+                if ((dzis.Year > data.Year) ||
+                    (dzis.Year == data.Year & dzis.Month > data.Month))
+                {
+                    fakturujButton.Enabled = true;
+                }
+                else
+                {
+                    fakturujButton.Enabled = false;
                 }
             }
Index: branches/Emisje/BazaReklam/LetterViewer.cs
===================================================================
--- branches/Emisje/BazaReklam/LetterViewer.cs (revision 65)
+++ branches/Emisje/BazaReklam/LetterViewer.cs (revision 789)
@@ -19,7 +19,4 @@
             this.nrGS1 = nrGS1;
             this.nrGS2 = nrGS2;
-
-            KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            ListaReklamDoWydaniaNrTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             KLIENCITableAdapter.FillByCustomerId(REKLAMADataSet.KLIENCI, custId);
@@ -50,7 +47,4 @@
             this.nrGS1 = nrGS1;
             this.nrGS2 = nrGS2;
-
-            KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            ListaReklamDoWydaniaNrTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             KLIENCITableAdapter.ClearBeforeFill = false;
Index: branches/Emisje/BazaReklam/ZestawienieZamowienForm.cs
===================================================================
--- branches/Emisje/BazaReklam/ZestawienieZamowienForm.cs (revision 732)
+++ branches/Emisje/BazaReklam/ZestawienieZamowienForm.cs (revision 789)
@@ -33,9 +33,5 @@
 
             MdiParent = parent;
-
-            //podmiana connstringa
-            VIEW_ZESTAWIENIE_ZAMOWIEN_NOWETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            reklamyZestawienieTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            
+           
             //obiekty wykorzytywane przy wyszukiwaniu
             SqlConnection conn = new SqlConnection(ConnString.getConnString().Value);
Index: branches/Emisje/BazaReklam/ListaReklamNaWydanieForm.cs
===================================================================
--- branches/Emisje/BazaReklam/ListaReklamNaWydanieForm.cs (revision 735)
+++ branches/Emisje/BazaReklam/ListaReklamNaWydanieForm.cs (revision 789)
@@ -30,6 +30,5 @@
 
             MdiParent = parent;
-            listaReklamNaWydanie2TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-         
+
             bindingNavigator1.Items.Insert(17, new ToolStripLabel("DR"));
             bindingNavigator1.Items.Insert(18, new ToolStripControlHost(new CheckBox(), "DRCheckBox"));
Index: branches/Emisje/BazaReklam/FactureViewer.cs
===================================================================
--- branches/Emisje/BazaReklam/FactureViewer.cs (revision 707)
+++ branches/Emisje/BazaReklam/FactureViewer.cs (revision 789)
@@ -120,9 +120,4 @@
             proforma = r;
 
-            fakturaTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURA_DETAILS2TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            proformaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-
             ds = new DataSet();
 
@@ -244,9 +239,4 @@
 
             btnRefresh.Click += zapiszKorektaButton_Click;
-
-            fakturaTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURA_DETAILS2TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            proformaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             ds = new DataSet();
Index: branches/Emisje/BazaReklam/AddKontoForm.cs
===================================================================
--- branches/Emisje/BazaReklam/AddKontoForm.cs (revision 65)
+++ branches/Emisje/BazaReklam/AddKontoForm.cs (revision 789)
@@ -15,5 +15,5 @@
             InitializeComponent();
 
-            this.kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //this.kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
 
Index: branches/Emisje/BazaReklam/PaymentForm.cs
===================================================================
--- branches/Emisje/BazaReklam/PaymentForm.cs (revision 65)
+++ branches/Emisje/BazaReklam/PaymentForm.cs (revision 789)
@@ -1,8 +1,4 @@
 using System;
-using System.Collections.Generic;
-using System.ComponentModel;
 using System.Data;
-using System.Drawing;
-using System.Text;
 using System.Windows.Forms;
 
@@ -22,8 +18,5 @@
         private void PaymentForm_Load(object sender, EventArgs e)
         {
-            rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-
-            this.rEKLAMATableAdapter.FillByReklamaId(this.rEKLAMADataSet.REKLAMA, reklamaId);
+            rEKLAMATableAdapter.FillByReklamaId(rEKLAMADataSet.REKLAMA, reklamaId);
 
 
@@ -37,9 +30,9 @@
                 }
 
-                if ((row["FAKTURA WYSTAWIONO"] != DBNull.Value) && (Convert.ToBoolean(row["FAKTURA WYSTAWIONO"]) == true))
+                if ((row["FAKTURA WYSTAWIONO"] != DBNull.Value) && Convert.ToBoolean(row["FAKTURA WYSTAWIONO"]))
                 {
                     int id_faktury = Convert.ToInt32(row["ID_FAKTURY"]);
 
-                    this.fAKTURYTableAdapter.FillByIdFaktury(this.rEKLAMADataSet.FAKTURY, id_faktury);
+                    fAKTURYTableAdapter.FillByIdFaktury(rEKLAMADataSet.FAKTURY, id_faktury);
                 }
             }
@@ -64,8 +57,8 @@
             }
 
-            this.Validate();
-            this.rEKLAMABindingSource.EndEdit();
-            this.rEKLAMATableAdapter.Update(this.rEKLAMADataSet.REKLAMA);
-            this.DialogResult = DialogResult.OK;
+            Validate();
+            rEKLAMABindingSource.EndEdit();
+            rEKLAMATableAdapter.Update(rEKLAMADataSet.REKLAMA);
+            DialogResult = DialogResult.OK;
       
         }
Index: branches/Emisje/BazaReklam/AdminForm.cs
===================================================================
--- branches/Emisje/BazaReklam/AdminForm.cs (revision 591)
+++ branches/Emisje/BazaReklam/AdminForm.cs (revision 789)
@@ -35,5 +35,5 @@
             errProvider = new ErrorProvider();
 
-            uZYTKOWNICYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //uZYTKOWNICYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
         }
 
Index: branches/Emisje/BazaReklam/DaneKlientaViewer.cs
===================================================================
--- branches/Emisje/BazaReklam/DaneKlientaViewer.cs (revision 65)
+++ branches/Emisje/BazaReklam/DaneKlientaViewer.cs (revision 789)
@@ -17,6 +17,6 @@
             InitializeComponent();
 
-            KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kliencI_OSOBY_DO_KONTAKTUTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
+            //KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kliencI_OSOBY_DO_KONTAKTUTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
 
             KLIENCITableAdapter.FillByCustomerId(REKLAMADataSet.KLIENCI, custId);
@@ -30,6 +30,6 @@
             InitializeComponent();
 
-            KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kliencI_OSOBY_DO_KONTAKTUTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
+            //KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kliencI_OSOBY_DO_KONTAKTUTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
 
             KLIENCITableAdapter.ClearBeforeFill = false;
Index: branches/Emisje/BazaReklam/AddZamowienieForm.cs
===================================================================
--- branches/Emisje/BazaReklam/AddZamowienieForm.cs (revision 676)
+++ branches/Emisje/BazaReklam/AddZamowienieForm.cs (revision 789)
@@ -23,8 +23,8 @@
             InitializeComponent();
 
-            zamowieniaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            klienciTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //zamowieniaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //klienciTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             procentProwizjiTextBox.DataBindings[0].Format += DecimalToProcent;
Index: branches/Emisje/BazaReklam/Facturer.cs
===================================================================
--- branches/Emisje/BazaReklam/Facturer.cs (revision 676)
+++ branches/Emisje/BazaReklam/Facturer.cs (revision 789)
@@ -20,11 +20,11 @@
             reklamaId = rekId;
 
-            kLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            emisjeTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fakturA_DETAILSTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            datyWydanTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //emisjeTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //fakturA_DETAILSTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //datyWydanTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
         }
 
Index: branches/Emisje/BazaReklam/FakturowaniePoznanKatowice.cs
===================================================================
--- branches/Emisje/BazaReklam/FakturowaniePoznanKatowice.cs (revision 621)
+++ branches/Emisje/BazaReklam/FakturowaniePoznanKatowice.cs (revision 789)
@@ -24,10 +24,4 @@
 
             txtYear.Text = DateTime.Now.Year.ToString();
-
-            fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fakturA_DETAILSTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            klienciTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            agencjeTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kontaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             dtpZmianaDaty.Value = DateTime.Today;
Index: branches/Emisje/BazaReklam/PaymentForm2.cs
===================================================================
--- branches/Emisje/BazaReklam/PaymentForm2.cs (revision 230)
+++ branches/Emisje/BazaReklam/PaymentForm2.cs (revision 789)
@@ -33,8 +33,4 @@
             rEKLAMADataSet.Wplaty.Constraints.Remove("FAKTURY_Wplaty");
 
-            wplatyTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            zestawienieFakturTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-
             if (idWplaty != 0)
             {
@@ -53,18 +49,4 @@
                 }
             }
-
-            //REKLAMADataSet.WplatyRow wplata = rEKLAMADataSet.Wplaty.FindByidWplaty(idWplaty);
-
-            //if (wplata == null || wplata.IsdataWplatyNull())
-            //{
-            //    //stara faktura
-            //    UstawBindowanieDlaStarychFaktur();
-
-            //    zestawienieFakturTableAdapter.FillByIdFaktury(rEKLAMADataSet.ZestawienieFaktur, idFaktury);
-            //}
-            //else
-            //{
-            //    VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter.FillByIdFaktury(rEKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWE, idFaktury);
-            //}
         }
 
@@ -88,17 +70,4 @@
         private void dodajButton_Click(object sender, EventArgs e)
         {
-            /*
-            if ((sYMBOL_POTWIERDZENIATextBox.Text == "") | (rODZAJ_POTWIERDZENIAComboBox.SelectedIndex == -1))
-            {
-                MessageBox.Show("Uzupe³nij wszystkie pola");
-                return;
-            }
-            
-            this.Validate();
-
-            this.wplatyBindingSource.EndEdit();
-            this.wplatyTableAdapter.Update(this.rEKLAMADataSet.Wplaty);
-            this.idWplaty = rEKLAMADataSet.Wplaty[0].idWplaty;
-             */
             DialogResult = DialogResult.OK;
         }
Index: branches/Emisje/BazaReklam/AgencjaAddForm.cs
===================================================================
--- branches/Emisje/BazaReklam/AgencjaAddForm.cs (revision 65)
+++ branches/Emisje/BazaReklam/AgencjaAddForm.cs (revision 789)
@@ -15,5 +15,5 @@
             InitializeComponent();
 
-            this.aGENCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //this.aGENCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             if (idAgencji == 0)
Index: branches/Emisje/BazaReklam/AgentAddForm.cs
===================================================================
--- branches/Emisje/BazaReklam/AgentAddForm.cs (revision 591)
+++ branches/Emisje/BazaReklam/AgentAddForm.cs (revision 789)
@@ -18,6 +18,6 @@
             InitializeComponent();
 
-            aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            pLANY_PROWIZJITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //pLANY_PROWIZJITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
             pLANY_PROWIZJITableAdapter.Fill(sLOWNIKDataSet.PLANY_PROWIZJI);
             cbInvoiceProvider.DataSource = InvoiceProviderFactory.GetInvoiceProviders();
Index: branches/Emisje/BazaReklam/FacturesForm.cs
===================================================================
--- branches/Emisje/BazaReklam/FacturesForm.cs (revision 732)
+++ branches/Emisje/BazaReklam/FacturesForm.cs (revision 789)
@@ -32,9 +32,5 @@
 
             MdiParent = parent;
-
-            //podmiana connstringa
-            zestawienieFakturTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            reklamaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-         
+       
             //obiekty wykorzytywane przy wyszukiwaniu
             SqlConnection conn = new SqlConnection(ConnString.getConnString().Value);
Index: branches/Emisje/BazaReklam/FullInfoProjectForm.cs
===================================================================
--- branches/Emisje/BazaReklam/FullInfoProjectForm.cs (revision 591)
+++ branches/Emisje/BazaReklam/FullInfoProjectForm.cs (revision 789)
@@ -15,5 +15,4 @@
             InitializeComponent();
 
-            this.pRODUKCJATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
             this.pRODUKCJATableAdapter.FillById(this.rEKLAMADataSet.PRODUKCJA,id);
         }
Index: branches/Emisje/BazaReklam/ProductionForm.cs
===================================================================
--- branches/Emisje/BazaReklam/ProductionForm.cs (revision 745)
+++ branches/Emisje/BazaReklam/ProductionForm.cs (revision 789)
@@ -37,18 +37,4 @@
 
             MdiParent = parent;
-
-            gRZBIETYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            grzbietyProdukcjaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            lISTA_TYTULOWTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            reklamaTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            pRODUKCJATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            listaReklamDoWydaniaNrTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            listyTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            listyPodsumowanieTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            klienciTableAdapter1.Connection.ConnectionString = ConnString.getConnString().Value;
 
             zwrotToolStripButton.Enabled = false;
Index: branches/Emisje/BazaReklam/InfoForm.cs
===================================================================
--- branches/Emisje/BazaReklam/InfoForm.cs (revision 676)
+++ branches/Emisje/BazaReklam/InfoForm.cs (revision 789)
@@ -31,19 +31,4 @@
 
             MdiParent = parent;
-
-            //podmiana connstringa
-            nAZWY_MODULOWTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            gRZBIETYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            koszty_BiuraTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            bUDZET_BIURTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            nRTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            daty_publikacjiTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            pLANY_PROWIZJITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kONTATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            lISTA_TYTULOWTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            pROMOCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kursy_WalutTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             ImageList imageList = new ImageList();
Index: branches/Emisje/BazaReklam/ClientsForm.cs
===================================================================
--- branches/Emisje/BazaReklam/ClientsForm.cs (revision 732)
+++ branches/Emisje/BazaReklam/ClientsForm.cs (revision 789)
@@ -44,22 +44,22 @@
             MdiParent = parent;
 
-            //podmiana connstringa
-            kL_1TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kL_2TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kL_3TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kL_KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kLIENCI_OSOBY_DO_KONTAKTUTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kONTAKTYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            zestawienieFakturTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fakturA_DETAILSTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            shedulerTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            oFERTY_MAINTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kLIENCI_TYTULTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            vIEW_KOREKTYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            kontaktTypTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            ////podmiana connstringa
+            //kL_1TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kL_2TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kL_3TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kL_KLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kLIENCI_OSOBY_DO_KONTAKTUTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kLIENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kONTAKTYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //zestawienieFakturTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //fakturA_DETAILSTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //fAKTURYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //shedulerTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //oFERTY_MAINTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kLIENCI_TYTULTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //vIEW_KOREKTYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
+            //kontaktTypTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             SqlConnection conn = new SqlConnection(ConnString.getConnString().Value);
Index: branches/Emisje/BazaReklam/OrderViewer.cs
===================================================================
--- branches/Emisje/BazaReklam/OrderViewer.cs (revision 732)
+++ branches/Emisje/BazaReklam/OrderViewer.cs (revision 789)
@@ -28,6 +28,4 @@
             ds = new DataSet();
 
-            zamowienieTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-
             Stream s = Assembly.GetExecutingAssembly().GetManifestResourceStream("Baza_Reklam.Raporty.zamowienie.xml");
             ds.ReadXml(s);
@@ -69,7 +67,4 @@
 
             ds = new DataSet();
-
-            zamowienie2TableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
-            invoiceProviderTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value;
 
             reportViewer1.LocalReport.ReportEmbeddedResource = "Baza_Reklam.Raporty.zamowienie2.rdlc";
