//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1433
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace Baza_Reklam {
    
    
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("REKLAMADataSet")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class REKLAMADataSet : global::System.Data.DataSet {
        
        private REKLAMADataTable tableREKLAMA;
        
        private UKAZE_SIE_W_NRDataTable tableUKAZE_SIE_W_NR;
        
        private KLIENCIDataTable tableKLIENCI;
        
        private REKLAMA_STRONADataTable tableREKLAMA_STRONA;
        
        private KLIENCI_OSOBY_DO_KONTAKTUDataTable tableKLIENCI_OSOBY_DO_KONTAKTU;
        
        private PRODUKCJADataTable tablePRODUKCJA;
        
        private FAKTURYDataTable tableFAKTURY;
        
        private FAKTURA_DETAILSDataTable tableFAKTURA_DETAILS;
        
        private KL_KLIENCIDataTable tableKL_KLIENCI;
        
        private ReklamyZestawienieDataTable tableReklamyZestawienie;
        
        private ListaReklamDoWydaniaNrDataTable tableListaReklamDoWydaniaNr;
        
        private KONTAKTYDataTable tableKONTAKTY;
        
        private ZestawienieFakturDataTable tableZestawienieFaktur;
        
        private PLANDataTable tablePLAN;
        
        private ListyDataTable tableListy;
        
        private ListyPodsumowanieDataTable tableListyPodsumowanie;
        
        private shedulerDataTable tablesheduler;
        
        private OFERTY_MAINDataTable tableOFERTY_MAIN;
        
        private Oferty_WersjeDataTable tableOferty_Wersje;
        
        private zastawienieKontaktowDataTable tablezastawienieKontaktow;
        
        private View_Podsumowanie_Wykonania_PlanuDataTable tableView_Podsumowanie_Wykonania_Planu;
        
        private View_Podsumowanie_Wykonania_Planu_AgencjaDataTable tableView_Podsumowanie_Wykonania_Planu_Agencja;
        
        private LISTA_REKLAM_NA_WYDANIEDataTable tableLISTA_REKLAM_NA_WYDANIE;
        
        private Reklama_Info_DodDataTable tableReklama_Info_Dod;
        
        private KLIENCI_TYTULDataTable tableKLIENCI_TYTUL;
        
        private KLIENCI_INTERNET_LOGODataTable tableKLIENCI_INTERNET_LOGO;
        
        private zmianyEmisjiDataTable tablezmianyEmisji;
        
        private zamowieniaDataTable tablezamowienia;
        
        private DatyWydanDataTable tableDatyWydan;
        
        private VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE;
        
        private WplatyDataTable tableWplaty;
        
        private PROWIZJEDataTable tablePROWIZJE;
        
        private VIEW_KOREKTYDataTable tableVIEW_KOREKTY;
        
        private VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable tableVIEW_ZESTAWIENIE_FAKTUR_NOWE;
        
        private global::System.Data.DataRelation relationFAKTURY_UKAZE_SIE_W_NR;
        
        private global::System.Data.DataRelation relationFAKTURY_FAKTURA_DETAILS;
        
        private global::System.Data.DataRelation relationFAKTURY_Wplaty;
        
        private global::System.Data.DataRelation relationREKLAMA_REKLAMA_STRONA;
        
        private global::System.Data.DataRelation relationKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU;
        
        private global::System.Data.DataRelation relationREKLAMA_PRODUKCJA;
        
        private global::System.Data.DataRelation relationKLIENCI_REKLAMA;
        
        private global::System.Data.DataRelation relationFAKTURY_REKLAMA;
        
        private global::System.Data.DataRelation relationKLIENCI_KL_KLIENCI;
        
        private global::System.Data.DataRelation relationKLIENCI_KONTAKTY;
        
        private global::System.Data.DataRelation relationKLIENCI_FAKTURY;
        
        private global::System.Data.DataRelation relationREKLAMA_Reklama_Info_Dod;
        
        private global::System.Data.DataRelation relationFK_KLIENCI_INTERNET_LOGO_KLIENCI;
        
        private global::System.Data.DataRelation relationFK_UKAZE_SIE_W_NR_zmianyEmisji;
        
        private global::System.Data.DataRelation relationUKAZE_SIE_W_NR_DatyWydan;
        
        private global::System.Data.DataRelation relationREKLAMA_UKAZE_SIE_W_NR;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public REKLAMADataSet() {
            this.BeginInit();
            this.InitClass();
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            base.Relations.CollectionChanged += schemaChangedHandler;
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected REKLAMADataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                base(info, context, false) {
            if ((this.IsBinarySerialized(info, context) == true)) {
                this.InitVars(false);
                global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += schemaChangedHandler1;
                this.Relations.CollectionChanged += schemaChangedHandler1;
                return;
            }
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
                if ((ds.Tables["REKLAMA"] != null)) {
                    base.Tables.Add(new REKLAMADataTable(ds.Tables["REKLAMA"]));
                }
                if ((ds.Tables["UKAZE_SIE_W_NR"] != null)) {
                    base.Tables.Add(new UKAZE_SIE_W_NRDataTable(ds.Tables["UKAZE_SIE_W_NR"]));
                }
                if ((ds.Tables["KLIENCI"] != null)) {
                    base.Tables.Add(new KLIENCIDataTable(ds.Tables["KLIENCI"]));
                }
                if ((ds.Tables["REKLAMA_STRONA"] != null)) {
                    base.Tables.Add(new REKLAMA_STRONADataTable(ds.Tables["REKLAMA_STRONA"]));
                }
                if ((ds.Tables["KLIENCI_OSOBY_DO_KONTAKTU"] != null)) {
                    base.Tables.Add(new KLIENCI_OSOBY_DO_KONTAKTUDataTable(ds.Tables["KLIENCI_OSOBY_DO_KONTAKTU"]));
                }
                if ((ds.Tables["PRODUKCJA"] != null)) {
                    base.Tables.Add(new PRODUKCJADataTable(ds.Tables["PRODUKCJA"]));
                }
                if ((ds.Tables["FAKTURY"] != null)) {
                    base.Tables.Add(new FAKTURYDataTable(ds.Tables["FAKTURY"]));
                }
                if ((ds.Tables["FAKTURA_DETAILS"] != null)) {
                    base.Tables.Add(new FAKTURA_DETAILSDataTable(ds.Tables["FAKTURA_DETAILS"]));
                }
                if ((ds.Tables["KL_KLIENCI"] != null)) {
                    base.Tables.Add(new KL_KLIENCIDataTable(ds.Tables["KL_KLIENCI"]));
                }
                if ((ds.Tables["ReklamyZestawienie"] != null)) {
                    base.Tables.Add(new ReklamyZestawienieDataTable(ds.Tables["ReklamyZestawienie"]));
                }
                if ((ds.Tables["ListaReklamDoWydaniaNr"] != null)) {
                    base.Tables.Add(new ListaReklamDoWydaniaNrDataTable(ds.Tables["ListaReklamDoWydaniaNr"]));
                }
                if ((ds.Tables["KONTAKTY"] != null)) {
                    base.Tables.Add(new KONTAKTYDataTable(ds.Tables["KONTAKTY"]));
                }
                if ((ds.Tables["ZestawienieFaktur"] != null)) {
                    base.Tables.Add(new ZestawienieFakturDataTable(ds.Tables["ZestawienieFaktur"]));
                }
                if ((ds.Tables["PLAN"] != null)) {
                    base.Tables.Add(new PLANDataTable(ds.Tables["PLAN"]));
                }
                if ((ds.Tables["Listy"] != null)) {
                    base.Tables.Add(new ListyDataTable(ds.Tables["Listy"]));
                }
                if ((ds.Tables["ListyPodsumowanie"] != null)) {
                    base.Tables.Add(new ListyPodsumowanieDataTable(ds.Tables["ListyPodsumowanie"]));
                }
                if ((ds.Tables["sheduler"] != null)) {
                    base.Tables.Add(new shedulerDataTable(ds.Tables["sheduler"]));
                }
                if ((ds.Tables["OFERTY_MAIN"] != null)) {
                    base.Tables.Add(new OFERTY_MAINDataTable(ds.Tables["OFERTY_MAIN"]));
                }
                if ((ds.Tables["Oferty_Wersje"] != null)) {
                    base.Tables.Add(new Oferty_WersjeDataTable(ds.Tables["Oferty_Wersje"]));
                }
                if ((ds.Tables["zastawienieKontaktow"] != null)) {
                    base.Tables.Add(new zastawienieKontaktowDataTable(ds.Tables["zastawienieKontaktow"]));
                }
                if ((ds.Tables["View_Podsumowanie_Wykonania_Planu"] != null)) {
                    base.Tables.Add(new View_Podsumowanie_Wykonania_PlanuDataTable(ds.Tables["View_Podsumowanie_Wykonania_Planu"]));
                }
                if ((ds.Tables["View_Podsumowanie_Wykonania_Planu_Agencja"] != null)) {
                    base.Tables.Add(new View_Podsumowanie_Wykonania_Planu_AgencjaDataTable(ds.Tables["View_Podsumowanie_Wykonania_Planu_Agencja"]));
                }
                if ((ds.Tables["LISTA_REKLAM_NA_WYDANIE"] != null)) {
                    base.Tables.Add(new LISTA_REKLAM_NA_WYDANIEDataTable(ds.Tables["LISTA_REKLAM_NA_WYDANIE"]));
                }
                if ((ds.Tables["Reklama_Info_Dod"] != null)) {
                    base.Tables.Add(new Reklama_Info_DodDataTable(ds.Tables["Reklama_Info_Dod"]));
                }
                if ((ds.Tables["KLIENCI_TYTUL"] != null)) {
                    base.Tables.Add(new KLIENCI_TYTULDataTable(ds.Tables["KLIENCI_TYTUL"]));
                }
                if ((ds.Tables["KLIENCI_INTERNET_LOGO"] != null)) {
                    base.Tables.Add(new KLIENCI_INTERNET_LOGODataTable(ds.Tables["KLIENCI_INTERNET_LOGO"]));
                }
                if ((ds.Tables["zmianyEmisji"] != null)) {
                    base.Tables.Add(new zmianyEmisjiDataTable(ds.Tables["zmianyEmisji"]));
                }
                if ((ds.Tables["zamowienia"] != null)) {
                    base.Tables.Add(new zamowieniaDataTable(ds.Tables["zamowienia"]));
                }
                if ((ds.Tables["DatyWydan"] != null)) {
                    base.Tables.Add(new DatyWydanDataTable(ds.Tables["DatyWydan"]));
                }
                if ((ds.Tables["VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE"] != null)) {
                    base.Tables.Add(new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable(ds.Tables["VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE"]));
                }
                if ((ds.Tables["Wplaty"] != null)) {
                    base.Tables.Add(new WplatyDataTable(ds.Tables["Wplaty"]));
                }
                if ((ds.Tables["PROWIZJE"] != null)) {
                    base.Tables.Add(new PROWIZJEDataTable(ds.Tables["PROWIZJE"]));
                }
                if ((ds.Tables["VIEW_KOREKTY"] != null)) {
                    base.Tables.Add(new VIEW_KOREKTYDataTable(ds.Tables["VIEW_KOREKTY"]));
                }
                if ((ds.Tables["VIEW_ZESTAWIENIE_FAKTUR_NOWE"] != null)) {
                    base.Tables.Add(new VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable(ds.Tables["VIEW_ZESTAWIENIE_FAKTUR_NOWE"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
            }
            this.GetSerializationData(info, context);
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public REKLAMADataTable REKLAMA {
            get {
                return this.tableREKLAMA;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public UKAZE_SIE_W_NRDataTable UKAZE_SIE_W_NR {
            get {
                return this.tableUKAZE_SIE_W_NR;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KLIENCIDataTable KLIENCI {
            get {
                return this.tableKLIENCI;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public REKLAMA_STRONADataTable REKLAMA_STRONA {
            get {
                return this.tableREKLAMA_STRONA;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KLIENCI_OSOBY_DO_KONTAKTUDataTable KLIENCI_OSOBY_DO_KONTAKTU {
            get {
                return this.tableKLIENCI_OSOBY_DO_KONTAKTU;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public PRODUKCJADataTable PRODUKCJA {
            get {
                return this.tablePRODUKCJA;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public FAKTURYDataTable FAKTURY {
            get {
                return this.tableFAKTURY;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public FAKTURA_DETAILSDataTable FAKTURA_DETAILS {
            get {
                return this.tableFAKTURA_DETAILS;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KL_KLIENCIDataTable KL_KLIENCI {
            get {
                return this.tableKL_KLIENCI;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ReklamyZestawienieDataTable ReklamyZestawienie {
            get {
                return this.tableReklamyZestawienie;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ListaReklamDoWydaniaNrDataTable ListaReklamDoWydaniaNr {
            get {
                return this.tableListaReklamDoWydaniaNr;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KONTAKTYDataTable KONTAKTY {
            get {
                return this.tableKONTAKTY;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ZestawienieFakturDataTable ZestawienieFaktur {
            get {
                return this.tableZestawienieFaktur;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public PLANDataTable PLAN {
            get {
                return this.tablePLAN;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ListyDataTable Listy {
            get {
                return this.tableListy;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ListyPodsumowanieDataTable ListyPodsumowanie {
            get {
                return this.tableListyPodsumowanie;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public shedulerDataTable sheduler {
            get {
                return this.tablesheduler;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public OFERTY_MAINDataTable OFERTY_MAIN {
            get {
                return this.tableOFERTY_MAIN;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public Oferty_WersjeDataTable Oferty_Wersje {
            get {
                return this.tableOferty_Wersje;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public zastawienieKontaktowDataTable zastawienieKontaktow {
            get {
                return this.tablezastawienieKontaktow;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public View_Podsumowanie_Wykonania_PlanuDataTable View_Podsumowanie_Wykonania_Planu {
            get {
                return this.tableView_Podsumowanie_Wykonania_Planu;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public View_Podsumowanie_Wykonania_Planu_AgencjaDataTable View_Podsumowanie_Wykonania_Planu_Agencja {
            get {
                return this.tableView_Podsumowanie_Wykonania_Planu_Agencja;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public LISTA_REKLAM_NA_WYDANIEDataTable LISTA_REKLAM_NA_WYDANIE {
            get {
                return this.tableLISTA_REKLAM_NA_WYDANIE;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public Reklama_Info_DodDataTable Reklama_Info_Dod {
            get {
                return this.tableReklama_Info_Dod;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KLIENCI_TYTULDataTable KLIENCI_TYTUL {
            get {
                return this.tableKLIENCI_TYTUL;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public KLIENCI_INTERNET_LOGODataTable KLIENCI_INTERNET_LOGO {
            get {
                return this.tableKLIENCI_INTERNET_LOGO;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public zmianyEmisjiDataTable zmianyEmisji {
            get {
                return this.tablezmianyEmisji;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public zamowieniaDataTable zamowienia {
            get {
                return this.tablezamowienia;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public DatyWydanDataTable DatyWydan {
            get {
                return this.tableDatyWydan;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE {
            get {
                return this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public WplatyDataTable Wplaty {
            get {
                return this.tableWplaty;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public PROWIZJEDataTable PROWIZJE {
            get {
                return this.tablePROWIZJE;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public VIEW_KOREKTYDataTable VIEW_KOREKTY {
            get {
                return this.tableVIEW_KOREKTY;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable VIEW_ZESTAWIENIE_FAKTUR_NOWE {
            get {
                return this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.BrowsableAttribute(true)]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
        public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
            get {
                return this._schemaSerializationMode;
            }
            set {
                this._schemaSerializationMode = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataTableCollection Tables {
            get {
                return base.Tables;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataRelationCollection Relations {
            get {
                return base.Relations;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void InitializeDerivedDataSet() {
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public override global::System.Data.DataSet Clone() {
            REKLAMADataSet cln = ((REKLAMADataSet)(base.Clone()));
            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return cln;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
            if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                this.Reset();
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXml(reader);
                if ((ds.Tables["REKLAMA"] != null)) {
                    base.Tables.Add(new REKLAMADataTable(ds.Tables["REKLAMA"]));
                }
                if ((ds.Tables["UKAZE_SIE_W_NR"] != null)) {
                    base.Tables.Add(new UKAZE_SIE_W_NRDataTable(ds.Tables["UKAZE_SIE_W_NR"]));
                }
                if ((ds.Tables["KLIENCI"] != null)) {
                    base.Tables.Add(new KLIENCIDataTable(ds.Tables["KLIENCI"]));
                }
                if ((ds.Tables["REKLAMA_STRONA"] != null)) {
                    base.Tables.Add(new REKLAMA_STRONADataTable(ds.Tables["REKLAMA_STRONA"]));
                }
                if ((ds.Tables["KLIENCI_OSOBY_DO_KONTAKTU"] != null)) {
                    base.Tables.Add(new KLIENCI_OSOBY_DO_KONTAKTUDataTable(ds.Tables["KLIENCI_OSOBY_DO_KONTAKTU"]));
                }
                if ((ds.Tables["PRODUKCJA"] != null)) {
                    base.Tables.Add(new PRODUKCJADataTable(ds.Tables["PRODUKCJA"]));
                }
                if ((ds.Tables["FAKTURY"] != null)) {
                    base.Tables.Add(new FAKTURYDataTable(ds.Tables["FAKTURY"]));
                }
                if ((ds.Tables["FAKTURA_DETAILS"] != null)) {
                    base.Tables.Add(new FAKTURA_DETAILSDataTable(ds.Tables["FAKTURA_DETAILS"]));
                }
                if ((ds.Tables["KL_KLIENCI"] != null)) {
                    base.Tables.Add(new KL_KLIENCIDataTable(ds.Tables["KL_KLIENCI"]));
                }
                if ((ds.Tables["ReklamyZestawienie"] != null)) {
                    base.Tables.Add(new ReklamyZestawienieDataTable(ds.Tables["ReklamyZestawienie"]));
                }
                if ((ds.Tables["ListaReklamDoWydaniaNr"] != null)) {
                    base.Tables.Add(new ListaReklamDoWydaniaNrDataTable(ds.Tables["ListaReklamDoWydaniaNr"]));
                }
                if ((ds.Tables["KONTAKTY"] != null)) {
                    base.Tables.Add(new KONTAKTYDataTable(ds.Tables["KONTAKTY"]));
                }
                if ((ds.Tables["ZestawienieFaktur"] != null)) {
                    base.Tables.Add(new ZestawienieFakturDataTable(ds.Tables["ZestawienieFaktur"]));
                }
                if ((ds.Tables["PLAN"] != null)) {
                    base.Tables.Add(new PLANDataTable(ds.Tables["PLAN"]));
                }
                if ((ds.Tables["Listy"] != null)) {
                    base.Tables.Add(new ListyDataTable(ds.Tables["Listy"]));
                }
                if ((ds.Tables["ListyPodsumowanie"] != null)) {
                    base.Tables.Add(new ListyPodsumowanieDataTable(ds.Tables["ListyPodsumowanie"]));
                }
                if ((ds.Tables["sheduler"] != null)) {
                    base.Tables.Add(new shedulerDataTable(ds.Tables["sheduler"]));
                }
                if ((ds.Tables["OFERTY_MAIN"] != null)) {
                    base.Tables.Add(new OFERTY_MAINDataTable(ds.Tables["OFERTY_MAIN"]));
                }
                if ((ds.Tables["Oferty_Wersje"] != null)) {
                    base.Tables.Add(new Oferty_WersjeDataTable(ds.Tables["Oferty_Wersje"]));
                }
                if ((ds.Tables["zastawienieKontaktow"] != null)) {
                    base.Tables.Add(new zastawienieKontaktowDataTable(ds.Tables["zastawienieKontaktow"]));
                }
                if ((ds.Tables["View_Podsumowanie_Wykonania_Planu"] != null)) {
                    base.Tables.Add(new View_Podsumowanie_Wykonania_PlanuDataTable(ds.Tables["View_Podsumowanie_Wykonania_Planu"]));
                }
                if ((ds.Tables["View_Podsumowanie_Wykonania_Planu_Agencja"] != null)) {
                    base.Tables.Add(new View_Podsumowanie_Wykonania_Planu_AgencjaDataTable(ds.Tables["View_Podsumowanie_Wykonania_Planu_Agencja"]));
                }
                if ((ds.Tables["LISTA_REKLAM_NA_WYDANIE"] != null)) {
                    base.Tables.Add(new LISTA_REKLAM_NA_WYDANIEDataTable(ds.Tables["LISTA_REKLAM_NA_WYDANIE"]));
                }
                if ((ds.Tables["Reklama_Info_Dod"] != null)) {
                    base.Tables.Add(new Reklama_Info_DodDataTable(ds.Tables["Reklama_Info_Dod"]));
                }
                if ((ds.Tables["KLIENCI_TYTUL"] != null)) {
                    base.Tables.Add(new KLIENCI_TYTULDataTable(ds.Tables["KLIENCI_TYTUL"]));
                }
                if ((ds.Tables["KLIENCI_INTERNET_LOGO"] != null)) {
                    base.Tables.Add(new KLIENCI_INTERNET_LOGODataTable(ds.Tables["KLIENCI_INTERNET_LOGO"]));
                }
                if ((ds.Tables["zmianyEmisji"] != null)) {
                    base.Tables.Add(new zmianyEmisjiDataTable(ds.Tables["zmianyEmisji"]));
                }
                if ((ds.Tables["zamowienia"] != null)) {
                    base.Tables.Add(new zamowieniaDataTable(ds.Tables["zamowienia"]));
                }
                if ((ds.Tables["DatyWydan"] != null)) {
                    base.Tables.Add(new DatyWydanDataTable(ds.Tables["DatyWydan"]));
                }
                if ((ds.Tables["VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE"] != null)) {
                    base.Tables.Add(new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable(ds.Tables["VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE"]));
                }
                if ((ds.Tables["Wplaty"] != null)) {
                    base.Tables.Add(new WplatyDataTable(ds.Tables["Wplaty"]));
                }
                if ((ds.Tables["PROWIZJE"] != null)) {
                    base.Tables.Add(new PROWIZJEDataTable(ds.Tables["PROWIZJE"]));
                }
                if ((ds.Tables["VIEW_KOREKTY"] != null)) {
                    base.Tables.Add(new VIEW_KOREKTYDataTable(ds.Tables["VIEW_KOREKTY"]));
                }
                if ((ds.Tables["VIEW_ZESTAWIENIE_FAKTUR_NOWE"] != null)) {
                    base.Tables.Add(new VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable(ds.Tables["VIEW_ZESTAWIENIE_FAKTUR_NOWE"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXml(reader);
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
            this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
            stream.Position = 0;
            return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars() {
            this.InitVars(true);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars(bool initTable) {
            this.tableREKLAMA = ((REKLAMADataTable)(base.Tables["REKLAMA"]));
            if ((initTable == true)) {
                if ((this.tableREKLAMA != null)) {
                    this.tableREKLAMA.InitVars();
                }
            }
            this.tableUKAZE_SIE_W_NR = ((UKAZE_SIE_W_NRDataTable)(base.Tables["UKAZE_SIE_W_NR"]));
            if ((initTable == true)) {
                if ((this.tableUKAZE_SIE_W_NR != null)) {
                    this.tableUKAZE_SIE_W_NR.InitVars();
                }
            }
            this.tableKLIENCI = ((KLIENCIDataTable)(base.Tables["KLIENCI"]));
            if ((initTable == true)) {
                if ((this.tableKLIENCI != null)) {
                    this.tableKLIENCI.InitVars();
                }
            }
            this.tableREKLAMA_STRONA = ((REKLAMA_STRONADataTable)(base.Tables["REKLAMA_STRONA"]));
            if ((initTable == true)) {
                if ((this.tableREKLAMA_STRONA != null)) {
                    this.tableREKLAMA_STRONA.InitVars();
                }
            }
            this.tableKLIENCI_OSOBY_DO_KONTAKTU = ((KLIENCI_OSOBY_DO_KONTAKTUDataTable)(base.Tables["KLIENCI_OSOBY_DO_KONTAKTU"]));
            if ((initTable == true)) {
                if ((this.tableKLIENCI_OSOBY_DO_KONTAKTU != null)) {
                    this.tableKLIENCI_OSOBY_DO_KONTAKTU.InitVars();
                }
            }
            this.tablePRODUKCJA = ((PRODUKCJADataTable)(base.Tables["PRODUKCJA"]));
            if ((initTable == true)) {
                if ((this.tablePRODUKCJA != null)) {
                    this.tablePRODUKCJA.InitVars();
                }
            }
            this.tableFAKTURY = ((FAKTURYDataTable)(base.Tables["FAKTURY"]));
            if ((initTable == true)) {
                if ((this.tableFAKTURY != null)) {
                    this.tableFAKTURY.InitVars();
                }
            }
            this.tableFAKTURA_DETAILS = ((FAKTURA_DETAILSDataTable)(base.Tables["FAKTURA_DETAILS"]));
            if ((initTable == true)) {
                if ((this.tableFAKTURA_DETAILS != null)) {
                    this.tableFAKTURA_DETAILS.InitVars();
                }
            }
            this.tableKL_KLIENCI = ((KL_KLIENCIDataTable)(base.Tables["KL_KLIENCI"]));
            if ((initTable == true)) {
                if ((this.tableKL_KLIENCI != null)) {
                    this.tableKL_KLIENCI.InitVars();
                }
            }
            this.tableReklamyZestawienie = ((ReklamyZestawienieDataTable)(base.Tables["ReklamyZestawienie"]));
            if ((initTable == true)) {
                if ((this.tableReklamyZestawienie != null)) {
                    this.tableReklamyZestawienie.InitVars();
                }
            }
            this.tableListaReklamDoWydaniaNr = ((ListaReklamDoWydaniaNrDataTable)(base.Tables["ListaReklamDoWydaniaNr"]));
            if ((initTable == true)) {
                if ((this.tableListaReklamDoWydaniaNr != null)) {
                    this.tableListaReklamDoWydaniaNr.InitVars();
                }
            }
            this.tableKONTAKTY = ((KONTAKTYDataTable)(base.Tables["KONTAKTY"]));
            if ((initTable == true)) {
                if ((this.tableKONTAKTY != null)) {
                    this.tableKONTAKTY.InitVars();
                }
            }
            this.tableZestawienieFaktur = ((ZestawienieFakturDataTable)(base.Tables["ZestawienieFaktur"]));
            if ((initTable == true)) {
                if ((this.tableZestawienieFaktur != null)) {
                    this.tableZestawienieFaktur.InitVars();
                }
            }
            this.tablePLAN = ((PLANDataTable)(base.Tables["PLAN"]));
            if ((initTable == true)) {
                if ((this.tablePLAN != null)) {
                    this.tablePLAN.InitVars();
                }
            }
            this.tableListy = ((ListyDataTable)(base.Tables["Listy"]));
            if ((initTable == true)) {
                if ((this.tableListy != null)) {
                    this.tableListy.InitVars();
                }
            }
            this.tableListyPodsumowanie = ((ListyPodsumowanieDataTable)(base.Tables["ListyPodsumowanie"]));
            if ((initTable == true)) {
                if ((this.tableListyPodsumowanie != null)) {
                    this.tableListyPodsumowanie.InitVars();
                }
            }
            this.tablesheduler = ((shedulerDataTable)(base.Tables["sheduler"]));
            if ((initTable == true)) {
                if ((this.tablesheduler != null)) {
                    this.tablesheduler.InitVars();
                }
            }
            this.tableOFERTY_MAIN = ((OFERTY_MAINDataTable)(base.Tables["OFERTY_MAIN"]));
            if ((initTable == true)) {
                if ((this.tableOFERTY_MAIN != null)) {
                    this.tableOFERTY_MAIN.InitVars();
                }
            }
            this.tableOferty_Wersje = ((Oferty_WersjeDataTable)(base.Tables["Oferty_Wersje"]));
            if ((initTable == true)) {
                if ((this.tableOferty_Wersje != null)) {
                    this.tableOferty_Wersje.InitVars();
                }
            }
            this.tablezastawienieKontaktow = ((zastawienieKontaktowDataTable)(base.Tables["zastawienieKontaktow"]));
            if ((initTable == true)) {
                if ((this.tablezastawienieKontaktow != null)) {
                    this.tablezastawienieKontaktow.InitVars();
                }
            }
            this.tableView_Podsumowanie_Wykonania_Planu = ((View_Podsumowanie_Wykonania_PlanuDataTable)(base.Tables["View_Podsumowanie_Wykonania_Planu"]));
            if ((initTable == true)) {
                if ((this.tableView_Podsumowanie_Wykonania_Planu != null)) {
                    this.tableView_Podsumowanie_Wykonania_Planu.InitVars();
                }
            }
            this.tableView_Podsumowanie_Wykonania_Planu_Agencja = ((View_Podsumowanie_Wykonania_Planu_AgencjaDataTable)(base.Tables["View_Podsumowanie_Wykonania_Planu_Agencja"]));
            if ((initTable == true)) {
                if ((this.tableView_Podsumowanie_Wykonania_Planu_Agencja != null)) {
                    this.tableView_Podsumowanie_Wykonania_Planu_Agencja.InitVars();
                }
            }
            this.tableLISTA_REKLAM_NA_WYDANIE = ((LISTA_REKLAM_NA_WYDANIEDataTable)(base.Tables["LISTA_REKLAM_NA_WYDANIE"]));
            if ((initTable == true)) {
                if ((this.tableLISTA_REKLAM_NA_WYDANIE != null)) {
                    this.tableLISTA_REKLAM_NA_WYDANIE.InitVars();
                }
            }
            this.tableReklama_Info_Dod = ((Reklama_Info_DodDataTable)(base.Tables["Reklama_Info_Dod"]));
            if ((initTable == true)) {
                if ((this.tableReklama_Info_Dod != null)) {
                    this.tableReklama_Info_Dod.InitVars();
                }
            }
            this.tableKLIENCI_TYTUL = ((KLIENCI_TYTULDataTable)(base.Tables["KLIENCI_TYTUL"]));
            if ((initTable == true)) {
                if ((this.tableKLIENCI_TYTUL != null)) {
                    this.tableKLIENCI_TYTUL.InitVars();
                }
            }
            this.tableKLIENCI_INTERNET_LOGO = ((KLIENCI_INTERNET_LOGODataTable)(base.Tables["KLIENCI_INTERNET_LOGO"]));
            if ((initTable == true)) {
                if ((this.tableKLIENCI_INTERNET_LOGO != null)) {
                    this.tableKLIENCI_INTERNET_LOGO.InitVars();
                }
            }
            this.tablezmianyEmisji = ((zmianyEmisjiDataTable)(base.Tables["zmianyEmisji"]));
            if ((initTable == true)) {
                if ((this.tablezmianyEmisji != null)) {
                    this.tablezmianyEmisji.InitVars();
                }
            }
            this.tablezamowienia = ((zamowieniaDataTable)(base.Tables["zamowienia"]));
            if ((initTable == true)) {
                if ((this.tablezamowienia != null)) {
                    this.tablezamowienia.InitVars();
                }
            }
            this.tableDatyWydan = ((DatyWydanDataTable)(base.Tables["DatyWydan"]));
            if ((initTable == true)) {
                if ((this.tableDatyWydan != null)) {
                    this.tableDatyWydan.InitVars();
                }
            }
            this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE = ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable)(base.Tables["VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE"]));
            if ((initTable == true)) {
                if ((this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE != null)) {
                    this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.InitVars();
                }
            }
            this.tableWplaty = ((WplatyDataTable)(base.Tables["Wplaty"]));
            if ((initTable == true)) {
                if ((this.tableWplaty != null)) {
                    this.tableWplaty.InitVars();
                }
            }
            this.tablePROWIZJE = ((PROWIZJEDataTable)(base.Tables["PROWIZJE"]));
            if ((initTable == true)) {
                if ((this.tablePROWIZJE != null)) {
                    this.tablePROWIZJE.InitVars();
                }
            }
            this.tableVIEW_KOREKTY = ((VIEW_KOREKTYDataTable)(base.Tables["VIEW_KOREKTY"]));
            if ((initTable == true)) {
                if ((this.tableVIEW_KOREKTY != null)) {
                    this.tableVIEW_KOREKTY.InitVars();
                }
            }
            this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE = ((VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable)(base.Tables["VIEW_ZESTAWIENIE_FAKTUR_NOWE"]));
            if ((initTable == true)) {
                if ((this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE != null)) {
                    this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.InitVars();
                }
            }
            this.relationFAKTURY_UKAZE_SIE_W_NR = this.Relations["FAKTURY_UKAZE_SIE_W_NR"];
            this.relationFAKTURY_FAKTURA_DETAILS = this.Relations["FAKTURY_FAKTURA_DETAILS"];
            this.relationFAKTURY_Wplaty = this.Relations["FAKTURY_Wplaty"];
            this.relationREKLAMA_REKLAMA_STRONA = this.Relations["REKLAMA_REKLAMA_STRONA"];
            this.relationKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU = this.Relations["KLIENCI_KLIENCI_OSOBY_DO_KONTAKTU"];
            this.relationREKLAMA_PRODUKCJA = this.Relations["REKLAMA_PRODUKCJA"];
            this.relationKLIENCI_REKLAMA = this.Relations["KLIENCI_REKLAMA"];
            this.relationFAKTURY_REKLAMA = this.Relations["FAKTURY_REKLAMA"];
            this.relationKLIENCI_KL_KLIENCI = this.Relations["KLIENCI_KL_KLIENCI"];
            this.relationKLIENCI_KONTAKTY = this.Relations["KLIENCI_KONTAKTY"];
            this.relationKLIENCI_FAKTURY = this.Relations["KLIENCI_FAKTURY"];
            this.relationREKLAMA_Reklama_Info_Dod = this.Relations["REKLAMA_Reklama_Info_Dod"];
            this.relationFK_KLIENCI_INTERNET_LOGO_KLIENCI = this.Relations["FK_KLIENCI_INTERNET_LOGO_KLIENCI"];
            this.relationFK_UKAZE_SIE_W_NR_zmianyEmisji = this.Relations["FK_UKAZE_SIE_W_NR_zmianyEmisji"];
            this.relationUKAZE_SIE_W_NR_DatyWydan = this.Relations["UKAZE_SIE_W_NR_DatyWydan"];
            this.relationREKLAMA_UKAZE_SIE_W_NR = this.Relations["REKLAMA_UKAZE_SIE_W_NR"];
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "REKLAMADataSet";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/REKLAMADataSet.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableREKLAMA = new REKLAMADataTable();
            base.Tables.Add(this.tableREKLAMA);
            this.tableUKAZE_SIE_W_NR = new UKAZE_SIE_W_NRDataTable();
            base.Tables.Add(this.tableUKAZE_SIE_W_NR);
            this.tableKLIENCI = new KLIENCIDataTable();
            base.Tables.Add(this.tableKLIENCI);
            this.tableREKLAMA_STRONA = new REKLAMA_STRONADataTable();
            base.Tables.Add(this.tableREKLAMA_STRONA);
            this.tableKLIENCI_OSOBY_DO_KONTAKTU = new KLIENCI_OSOBY_DO_KONTAKTUDataTable();
            base.Tables.Add(this.tableKLIENCI_OSOBY_DO_KONTAKTU);
            this.tablePRODUKCJA = new PRODUKCJADataTable();
            base.Tables.Add(this.tablePRODUKCJA);
            this.tableFAKTURY = new FAKTURYDataTable();
            base.Tables.Add(this.tableFAKTURY);
            this.tableFAKTURA_DETAILS = new FAKTURA_DETAILSDataTable();
            base.Tables.Add(this.tableFAKTURA_DETAILS);
            this.tableKL_KLIENCI = new KL_KLIENCIDataTable();
            base.Tables.Add(this.tableKL_KLIENCI);
            this.tableReklamyZestawienie = new ReklamyZestawienieDataTable();
            base.Tables.Add(this.tableReklamyZestawienie);
            this.tableListaReklamDoWydaniaNr = new ListaReklamDoWydaniaNrDataTable();
            base.Tables.Add(this.tableListaReklamDoWydaniaNr);
            this.tableKONTAKTY = new KONTAKTYDataTable();
            base.Tables.Add(this.tableKONTAKTY);
            this.tableZestawienieFaktur = new ZestawienieFakturDataTable();
            base.Tables.Add(this.tableZestawienieFaktur);
            this.tablePLAN = new PLANDataTable();
            base.Tables.Add(this.tablePLAN);
            this.tableListy = new ListyDataTable();
            base.Tables.Add(this.tableListy);
            this.tableListyPodsumowanie = new ListyPodsumowanieDataTable();
            base.Tables.Add(this.tableListyPodsumowanie);
            this.tablesheduler = new shedulerDataTable();
            base.Tables.Add(this.tablesheduler);
            this.tableOFERTY_MAIN = new OFERTY_MAINDataTable();
            base.Tables.Add(this.tableOFERTY_MAIN);
            this.tableOferty_Wersje = new Oferty_WersjeDataTable();
            base.Tables.Add(this.tableOferty_Wersje);
            this.tablezastawienieKontaktow = new zastawienieKontaktowDataTable();
            base.Tables.Add(this.tablezastawienieKontaktow);
            this.tableView_Podsumowanie_Wykonania_Planu = new View_Podsumowanie_Wykonania_PlanuDataTable();
            base.Tables.Add(this.tableView_Podsumowanie_Wykonania_Planu);
            this.tableView_Podsumowanie_Wykonania_Planu_Agencja = new View_Podsumowanie_Wykonania_Planu_AgencjaDataTable();
            base.Tables.Add(this.tableView_Podsumowanie_Wykonania_Planu_Agencja);
            this.tableLISTA_REKLAM_NA_WYDANIE = new LISTA_REKLAM_NA_WYDANIEDataTable();
            base.Tables.Add(this.tableLISTA_REKLAM_NA_WYDANIE);
            this.tableReklama_Info_Dod = new Reklama_Info_DodDataTable();
            base.Tables.Add(this.tableReklama_Info_Dod);
            this.tableKLIENCI_TYTUL = new KLIENCI_TYTULDataTable();
            base.Tables.Add(this.tableKLIENCI_TYTUL);
            this.tableKLIENCI_INTERNET_LOGO = new KLIENCI_INTERNET_LOGODataTable();
            base.Tables.Add(this.tableKLIENCI_INTERNET_LOGO);
            this.tablezmianyEmisji = new zmianyEmisjiDataTable();
            base.Tables.Add(this.tablezmianyEmisji);
            this.tablezamowienia = new zamowieniaDataTable();
            base.Tables.Add(this.tablezamowienia);
            this.tableDatyWydan = new DatyWydanDataTable();
            base.Tables.Add(this.tableDatyWydan);
            this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE = new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable();
            base.Tables.Add(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE);
            this.tableWplaty = new WplatyDataTable();
            base.Tables.Add(this.tableWplaty);
            this.tablePROWIZJE = new PROWIZJEDataTable();
            base.Tables.Add(this.tablePROWIZJE);
            this.tableVIEW_KOREKTY = new VIEW_KOREKTYDataTable();
            base.Tables.Add(this.tableVIEW_KOREKTY);
            this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE = new VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable();
            base.Tables.Add(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE);
            global::System.Data.ForeignKeyConstraint fkc;
            fkc = new global::System.Data.ForeignKeyConstraint("FAKTURY_UKAZE_SIE_W_NR", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableUKAZE_SIE_W_NR.idFakturyColumn});
            this.tableUKAZE_SIE_W_NR.Constraints.Add(fkc);
            fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
            fkc.DeleteRule = global::System.Data.Rule.None;
            fkc.UpdateRule = global::System.Data.Rule.Cascade;
            fkc = new global::System.Data.ForeignKeyConstraint("FAKTURY_FAKTURA_DETAILS", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableFAKTURA_DETAILS.ID_FAKTURYColumn});
            this.tableFAKTURA_DETAILS.Constraints.Add(fkc);
            fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
            fkc.DeleteRule = global::System.Data.Rule.None;
            fkc.UpdateRule = global::System.Data.Rule.Cascade;
            fkc = new global::System.Data.ForeignKeyConstraint("FAKTURY_Wplaty", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableWplaty.idFakturyColumn});
            this.tableWplaty.Constraints.Add(fkc);
            fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
            fkc.DeleteRule = global::System.Data.Rule.None;
            fkc.UpdateRule = global::System.Data.Rule.Cascade;
            this.relationFAKTURY_UKAZE_SIE_W_NR = new global::System.Data.DataRelation("FAKTURY_UKAZE_SIE_W_NR", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableUKAZE_SIE_W_NR.idFakturyColumn}, false);
            this.Relations.Add(this.relationFAKTURY_UKAZE_SIE_W_NR);
            this.relationFAKTURY_FAKTURA_DETAILS = new global::System.Data.DataRelation("FAKTURY_FAKTURA_DETAILS", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableFAKTURA_DETAILS.ID_FAKTURYColumn}, false);
            this.Relations.Add(this.relationFAKTURY_FAKTURA_DETAILS);
            this.relationFAKTURY_Wplaty = new global::System.Data.DataRelation("FAKTURY_Wplaty", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableWplaty.idFakturyColumn}, false);
            this.Relations.Add(this.relationFAKTURY_Wplaty);
            this.relationREKLAMA_REKLAMA_STRONA = new global::System.Data.DataRelation("REKLAMA_REKLAMA_STRONA", new global::System.Data.DataColumn[] {
                        this.tableREKLAMA.ReklamaIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableREKLAMA_STRONA.ReklamaIdColumn}, false);
            this.Relations.Add(this.relationREKLAMA_REKLAMA_STRONA);
            this.relationKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU = new global::System.Data.DataRelation("KLIENCI_KLIENCI_OSOBY_DO_KONTAKTU", new global::System.Data.DataColumn[] {
                        this.tableKLIENCI.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableKLIENCI_OSOBY_DO_KONTAKTU.customeridColumn}, false);
            this.Relations.Add(this.relationKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU);
            this.relationREKLAMA_PRODUKCJA = new global::System.Data.DataRelation("REKLAMA_PRODUKCJA", new global::System.Data.DataColumn[] {
                        this.tableREKLAMA.ReklamaIDColumn}, new global::System.Data.DataColumn[] {
                        this.tablePRODUKCJA.ReklamaIdColumn}, false);
            this.Relations.Add(this.relationREKLAMA_PRODUKCJA);
            this.relationKLIENCI_REKLAMA = new global::System.Data.DataRelation("KLIENCI_REKLAMA", new global::System.Data.DataColumn[] {
                        this.tableKLIENCI.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableREKLAMA.CustomerIDColumn}, false);
            this.Relations.Add(this.relationKLIENCI_REKLAMA);
            this.relationFAKTURY_REKLAMA = new global::System.Data.DataRelation("FAKTURY_REKLAMA", new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_FAKTURYColumn}, new global::System.Data.DataColumn[] {
                        this.tableREKLAMA.ID_FAKTURYColumn}, false);
            this.Relations.Add(this.relationFAKTURY_REKLAMA);
            this.relationKLIENCI_KL_KLIENCI = new global::System.Data.DataRelation("KLIENCI_KL_KLIENCI", new global::System.Data.DataColumn[] {
                        this.tableKLIENCI.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableKL_KLIENCI.CustomeridColumn}, false);
            this.Relations.Add(this.relationKLIENCI_KL_KLIENCI);
            this.relationKLIENCI_KONTAKTY = new global::System.Data.DataRelation("KLIENCI_KONTAKTY", new global::System.Data.DataColumn[] {
                        this.tableKLIENCI.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableKONTAKTY.customerIdColumn}, false);
            this.Relations.Add(this.relationKLIENCI_KONTAKTY);
            this.relationKLIENCI_FAKTURY = new global::System.Data.DataRelation("KLIENCI_FAKTURY", new global::System.Data.DataColumn[] {
                        this.tableKLIENCI.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableFAKTURY.ID_NABYWCYColumn}, false);
            this.Relations.Add(this.relationKLIENCI_FAKTURY);
            this.relationREKLAMA_Reklama_Info_Dod = new global::System.Data.DataRelation("REKLAMA_Reklama_Info_Dod", new global::System.Data.DataColumn[] {
                        this.tableREKLAMA.ReklamaIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableReklama_Info_Dod.ReklamaIdColumn}, false);
            this.Relations.Add(this.relationREKLAMA_Reklama_Info_Dod);
            this.relationFK_KLIENCI_INTERNET_LOGO_KLIENCI = new global::System.Data.DataRelation("FK_KLIENCI_INTERNET_LOGO_KLIENCI", new global::System.Data.DataColumn[] {
                        this.tableKLIENCI.CustomerIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableKLIENCI_INTERNET_LOGO.customerIDColumn}, false);
            this.Relations.Add(this.relationFK_KLIENCI_INTERNET_LOGO_KLIENCI);
            this.relationFK_UKAZE_SIE_W_NR_zmianyEmisji = new global::System.Data.DataRelation("FK_UKAZE_SIE_W_NR_zmianyEmisji", new global::System.Data.DataColumn[] {
                        this.tableUKAZE_SIE_W_NR.IDColumn}, new global::System.Data.DataColumn[] {
                        this.tablezmianyEmisji.idEmisjiColumn}, false);
            this.Relations.Add(this.relationFK_UKAZE_SIE_W_NR_zmianyEmisji);
            this.relationUKAZE_SIE_W_NR_DatyWydan = new global::System.Data.DataRelation("UKAZE_SIE_W_NR_DatyWydan", new global::System.Data.DataColumn[] {
                        this.tableUKAZE_SIE_W_NR.Nr_WydaniaColumn,
                        this.tableUKAZE_SIE_W_NR.ReklamaIdColumn}, new global::System.Data.DataColumn[] {
                        this.tableDatyWydan.Nr_WydaniaColumn,
                        this.tableDatyWydan.ReklamaIdColumn}, false);
            this.Relations.Add(this.relationUKAZE_SIE_W_NR_DatyWydan);
            this.relationREKLAMA_UKAZE_SIE_W_NR = new global::System.Data.DataRelation("REKLAMA_UKAZE_SIE_W_NR", new global::System.Data.DataColumn[] {
                        this.tableREKLAMA.ReklamaIDColumn}, new global::System.Data.DataColumn[] {
                        this.tableUKAZE_SIE_W_NR.ReklamaIdColumn}, false);
            this.Relations.Add(this.relationREKLAMA_UKAZE_SIE_W_NR);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeREKLAMA() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeUKAZE_SIE_W_NR() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKLIENCI() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeREKLAMA_STRONA() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKLIENCI_OSOBY_DO_KONTAKTU() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializePRODUKCJA() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeFAKTURY() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeFAKTURA_DETAILS() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKL_KLIENCI() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeReklamyZestawienie() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeListaReklamDoWydaniaNr() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKONTAKTY() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeZestawienieFaktur() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializePLAN() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeListy() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeListyPodsumowanie() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializesheduler() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeOFERTY_MAIN() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeOferty_Wersje() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializezastawienieKontaktow() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeView_Podsumowanie_Wykonania_Planu() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeView_Podsumowanie_Wykonania_Planu_Agencja() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeLISTA_REKLAM_NA_WYDANIE() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeReklama_Info_Dod() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKLIENCI_TYTUL() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeKLIENCI_INTERNET_LOGO() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializezmianyEmisji() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializezamowienia() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeDatyWydan() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeWplaty() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializePROWIZJE() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeVIEW_KOREKTY() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeVIEW_ZESTAWIENIE_FAKTUR_NOWE() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
            REKLAMADataSet ds = new REKLAMADataSet();
            global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace)) {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length)) {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length) 
                                        && (s1.ReadByte() == s2.ReadByte())); ) {
                                ;
                            }
                            if ((s1.Position == s1.Length)) {
                                return type;
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
        
        public delegate void REKLAMARowChangeEventHandler(object sender, REKLAMARowChangeEvent e);
        
        public delegate void UKAZE_SIE_W_NRRowChangeEventHandler(object sender, UKAZE_SIE_W_NRRowChangeEvent e);
        
        public delegate void KLIENCIRowChangeEventHandler(object sender, KLIENCIRowChangeEvent e);
        
        public delegate void REKLAMA_STRONARowChangeEventHandler(object sender, REKLAMA_STRONARowChangeEvent e);
        
        public delegate void KLIENCI_OSOBY_DO_KONTAKTURowChangeEventHandler(object sender, KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent e);
        
        public delegate void PRODUKCJARowChangeEventHandler(object sender, PRODUKCJARowChangeEvent e);
        
        public delegate void FAKTURYRowChangeEventHandler(object sender, FAKTURYRowChangeEvent e);
        
        public delegate void FAKTURA_DETAILSRowChangeEventHandler(object sender, FAKTURA_DETAILSRowChangeEvent e);
        
        public delegate void KL_KLIENCIRowChangeEventHandler(object sender, KL_KLIENCIRowChangeEvent e);
        
        public delegate void ReklamyZestawienieRowChangeEventHandler(object sender, ReklamyZestawienieRowChangeEvent e);
        
        public delegate void ListaReklamDoWydaniaNrRowChangeEventHandler(object sender, ListaReklamDoWydaniaNrRowChangeEvent e);
        
        public delegate void KONTAKTYRowChangeEventHandler(object sender, KONTAKTYRowChangeEvent e);
        
        public delegate void ZestawienieFakturRowChangeEventHandler(object sender, ZestawienieFakturRowChangeEvent e);
        
        public delegate void PLANRowChangeEventHandler(object sender, PLANRowChangeEvent e);
        
        public delegate void ListyRowChangeEventHandler(object sender, ListyRowChangeEvent e);
        
        public delegate void ListyPodsumowanieRowChangeEventHandler(object sender, ListyPodsumowanieRowChangeEvent e);
        
        public delegate void shedulerRowChangeEventHandler(object sender, shedulerRowChangeEvent e);
        
        public delegate void OFERTY_MAINRowChangeEventHandler(object sender, OFERTY_MAINRowChangeEvent e);
        
        public delegate void Oferty_WersjeRowChangeEventHandler(object sender, Oferty_WersjeRowChangeEvent e);
        
        public delegate void zastawienieKontaktowRowChangeEventHandler(object sender, zastawienieKontaktowRowChangeEvent e);
        
        public delegate void View_Podsumowanie_Wykonania_PlanuRowChangeEventHandler(object sender, View_Podsumowanie_Wykonania_PlanuRowChangeEvent e);
        
        public delegate void View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEventHandler(object sender, View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent e);
        
        public delegate void LISTA_REKLAM_NA_WYDANIERowChangeEventHandler(object sender, LISTA_REKLAM_NA_WYDANIERowChangeEvent e);
        
        public delegate void Reklama_Info_DodRowChangeEventHandler(object sender, Reklama_Info_DodRowChangeEvent e);
        
        public delegate void KLIENCI_TYTULRowChangeEventHandler(object sender, KLIENCI_TYTULRowChangeEvent e);
        
        public delegate void KLIENCI_INTERNET_LOGORowChangeEventHandler(object sender, KLIENCI_INTERNET_LOGORowChangeEvent e);
        
        public delegate void zmianyEmisjiRowChangeEventHandler(object sender, zmianyEmisjiRowChangeEvent e);
        
        public delegate void zamowieniaRowChangeEventHandler(object sender, zamowieniaRowChangeEvent e);
        
        public delegate void DatyWydanRowChangeEventHandler(object sender, DatyWydanRowChangeEvent e);
        
        public delegate void VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEventHandler(object sender, VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent e);
        
        public delegate void WplatyRowChangeEventHandler(object sender, WplatyRowChangeEvent e);
        
        public delegate void PROWIZJERowChangeEventHandler(object sender, PROWIZJERowChangeEvent e);
        
        public delegate void VIEW_KOREKTYRowChangeEventHandler(object sender, VIEW_KOREKTYRowChangeEvent e);
        
        public delegate void VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEventHandler(object sender, VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class REKLAMADataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnReklamaID;
            
            private global::System.Data.DataColumn columnCustomerID;
            
            private global::System.Data.DataColumn columnSYMBOL_AKWIZYTORA;
            
            private global::System.Data.DataColumn columnTYTUŁ;
            
            private global::System.Data.DataColumn columnTYP;
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            private global::System.Data.DataColumn columnNICK_NAME;
            
            private global::System.Data.DataColumn columnDATA_ZAMÓWIENIA;
            
            private global::System.Data.DataColumn columnSZER;
            
            private global::System.Data.DataColumn columnWYS;
            
            private global::System.Data.DataColumn columnMOD_TYP;
            
            private global::System.Data.DataColumn columnSTRONA;
            
            private global::System.Data.DataColumn columnSTR_NR_WT;
            
            private global::System.Data.DataColumn columnSTR_NR_PT;
            
            private global::System.Data.DataColumn columnKROTNOŚĆ;
            
            private global::System.Data.DataColumn columnODSTĘP;
            
            private global::System.Data.DataColumn columnKOLOR;
            
            private global::System.Data.DataColumn columnWSKAZANIE_MIEJSCA;
            
            private global::System.Data.DataColumn columnRABAT;
            
            private global::System.Data.DataColumn columnRABAT_WARTOŚĆ;
            
            private global::System.Data.DataColumn columnZAPŁACONO;
            
            private global::System.Data.DataColumn columnZATWIERDZONO_DO_DRUKU;
            
            private global::System.Data.DataColumn columnDATA_ZAPŁATY;
            
            private global::System.Data.DataColumn columnSYMBOL_POTWIERDZENIA;
            
            private global::System.Data.DataColumn columnRODZAJ_POTWIERDZENIA;
            
            private global::System.Data.DataColumn columnCENA_JEDN;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnPVAT;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnPROCENT_PROWIZJI;
            
            private global::System.Data.DataColumn columnPROWIZJA;
            
            private global::System.Data.DataColumn columnINFO;
            
            private global::System.Data.DataColumn columnFAKTURA_NUMER;
            
            private global::System.Data.DataColumn columnFAKTURA_ID_KONTA;
            
            private global::System.Data.DataColumn columnFAKTURA_DATA_WYSTAWIENIA;
            
            private global::System.Data.DataColumn columnFAKTURA_DATA_SPRZEDAŻY;
            
            private global::System.Data.DataColumn columnFAKTURA_TERMIN_ZAPŁATY;
            
            private global::System.Data.DataColumn columnFAKTURA_FORMA_PŁATNOŚCI;
            
            private global::System.Data.DataColumn columnFAKTURA_WYSTAWIONO;
            
            private global::System.Data.DataColumn columnFAKTURA_RODZAJ;
            
            private global::System.Data.DataColumn columnUSERID;
            
            private global::System.Data.DataColumn columnDATA_OSTATNIEJ_MODYFIKACJI;
            
            private global::System.Data.DataColumn _columnFK_TR;
            
            private global::System.Data.DataColumn columnF_NR;
            
            private global::System.Data.DataColumn columnF_NR_ROZ;
            
            private global::System.Data.DataColumn columnF_NR_ROK;
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnPROMOCJA;
            
            private global::System.Data.DataColumn columnGRZBIET;
            
            private global::System.Data.DataColumn columncustomerId_Sub;
            
            private global::System.Data.DataColumn columnkier_notatka;
            
            private global::System.Data.DataColumn columnkier_zatwierdzil;
            
            private global::System.Data.DataColumn columnzam_notatka;
            
            private global::System.Data.DataColumn columnzablokuj_prowizje;
            
            private global::System.Data.DataColumn columnBrutto_Euro;
            
            private global::System.Data.DataColumn columnZaliczka_Brutto;
            
            private global::System.Data.DataColumn columnZaliczka_Data;
            
            private global::System.Data.DataColumn columnBrutto_Euro_Miano;
            
            private global::System.Data.DataColumn columnwaluta_kurs_z_dnia;
            
            private global::System.Data.DataColumn columnwaluta_kurs;
            
            private global::System.Data.DataColumn columnwaluta_Przelicznik;
            
            private global::System.Data.DataColumn columnwaluta_tabela_nr;
            
            private global::System.Data.DataColumn columnwyroznienie_procent;
            
            private global::System.Data.DataColumn columnwyroznienie_kwota;
            
            private global::System.Data.DataColumn columnwyroznienie;
            
            private global::System.Data.DataColumn columnwyroznienie_exported;
            
            private global::System.Data.DataColumn columnlogo;
            
            private global::System.Data.DataColumn columnlogoID;
            
            private global::System.Data.DataColumn columnogl_dzial;
            
            private global::System.Data.DataColumn columnogl_rozdzial;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnData1Emisji;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMADataTable() {
                this.TableName = "REKLAMA";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal REKLAMADataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected REKLAMADataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIDColumn {
                get {
                    return this.columnReklamaID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIDColumn {
                get {
                    return this.columnCustomerID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_AKWIZYTORAColumn {
                get {
                    return this.columnSYMBOL_AKWIZYTORA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTUŁColumn {
                get {
                    return this.columnTYTUŁ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYPColumn {
                get {
                    return this.columnTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NICK_NAMEColumn {
                get {
                    return this.columnNICK_NAME;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_ZAMÓWIENIAColumn {
                get {
                    return this.columnDATA_ZAMÓWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SZERColumn {
                get {
                    return this.columnSZER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WYSColumn {
                get {
                    return this.columnWYS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MOD_TYPColumn {
                get {
                    return this.columnMOD_TYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STRONAColumn {
                get {
                    return this.columnSTRONA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STR_NR_WTColumn {
                get {
                    return this.columnSTR_NR_WT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STR_NR_PTColumn {
                get {
                    return this.columnSTR_NR_PT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KROTNOŚĆColumn {
                get {
                    return this.columnKROTNOŚĆ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ODSTĘPColumn {
                get {
                    return this.columnODSTĘP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOLORColumn {
                get {
                    return this.columnKOLOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WSKAZANIE_MIEJSCAColumn {
                get {
                    return this.columnWSKAZANIE_MIEJSCA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RABATColumn {
                get {
                    return this.columnRABAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RABAT_WARTOŚĆColumn {
                get {
                    return this.columnRABAT_WARTOŚĆ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAPŁACONOColumn {
                get {
                    return this.columnZAPŁACONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZATWIERDZONO_DO_DRUKUColumn {
                get {
                    return this.columnZATWIERDZONO_DO_DRUKU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_ZAPŁATYColumn {
                get {
                    return this.columnDATA_ZAPŁATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_POTWIERDZENIAColumn {
                get {
                    return this.columnSYMBOL_POTWIERDZENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RODZAJ_POTWIERDZENIAColumn {
                get {
                    return this.columnRODZAJ_POTWIERDZENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENA_JEDNColumn {
                get {
                    return this.columnCENA_JEDN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NETTOColumn {
                get {
                    return this.columnNETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VATColumn {
                get {
                    return this.columnVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PVATColumn {
                get {
                    return this.columnPVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PROCENT_PROWIZJIColumn {
                get {
                    return this.columnPROCENT_PROWIZJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PROWIZJAColumn {
                get {
                    return this.columnPROWIZJA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn INFOColumn {
                get {
                    return this.columnINFO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_NUMERColumn {
                get {
                    return this.columnFAKTURA_NUMER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_ID_KONTAColumn {
                get {
                    return this.columnFAKTURA_ID_KONTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_DATA_WYSTAWIENIAColumn {
                get {
                    return this.columnFAKTURA_DATA_WYSTAWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_DATA_SPRZEDAŻYColumn {
                get {
                    return this.columnFAKTURA_DATA_SPRZEDAŻY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_TERMIN_ZAPŁATYColumn {
                get {
                    return this.columnFAKTURA_TERMIN_ZAPŁATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_FORMA_PŁATNOŚCIColumn {
                get {
                    return this.columnFAKTURA_FORMA_PŁATNOŚCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_WYSTAWIONOColumn {
                get {
                    return this.columnFAKTURA_WYSTAWIONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_RODZAJColumn {
                get {
                    return this.columnFAKTURA_RODZAJ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn USERIDColumn {
                get {
                    return this.columnUSERID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_OSTATNIEJ_MODYFIKACJIColumn {
                get {
                    return this.columnDATA_OSTATNIEJ_MODYFIKACJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn _FK_TRColumn {
                get {
                    return this._columnFK_TR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn F_NRColumn {
                get {
                    return this.columnF_NR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn F_NR_ROZColumn {
                get {
                    return this.columnF_NR_ROZ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn F_NR_ROKColumn {
                get {
                    return this.columnF_NR_ROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PROMOCJAColumn {
                get {
                    return this.columnPROMOCJA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GRZBIETColumn {
                get {
                    return this.columnGRZBIET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn customerId_SubColumn {
                get {
                    return this.columncustomerId_Sub;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kier_notatkaColumn {
                get {
                    return this.columnkier_notatka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kier_zatwierdzilColumn {
                get {
                    return this.columnkier_zatwierdzil;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zam_notatkaColumn {
                get {
                    return this.columnzam_notatka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zablokuj_prowizjeColumn {
                get {
                    return this.columnzablokuj_prowizje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Brutto_EuroColumn {
                get {
                    return this.columnBrutto_Euro;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zaliczka_BruttoColumn {
                get {
                    return this.columnZaliczka_Brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zaliczka_DataColumn {
                get {
                    return this.columnZaliczka_Data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Brutto_Euro_MianoColumn {
                get {
                    return this.columnBrutto_Euro_Miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kurs_z_dniaColumn {
                get {
                    return this.columnwaluta_kurs_z_dnia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kursColumn {
                get {
                    return this.columnwaluta_kurs;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_PrzelicznikColumn {
                get {
                    return this.columnwaluta_Przelicznik;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_tabela_nrColumn {
                get {
                    return this.columnwaluta_tabela_nr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienie_procentColumn {
                get {
                    return this.columnwyroznienie_procent;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienie_kwotaColumn {
                get {
                    return this.columnwyroznienie_kwota;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienieColumn {
                get {
                    return this.columnwyroznienie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienie_exportedColumn {
                get {
                    return this.columnwyroznienie_exported;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn logoColumn {
                get {
                    return this.columnlogo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn logoIDColumn {
                get {
                    return this.columnlogoID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ogl_dzialColumn {
                get {
                    return this.columnogl_dzial;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ogl_rozdzialColumn {
                get {
                    return this.columnogl_rozdzial;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Data1EmisjiColumn {
                get {
                    return this.columnData1Emisji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow this[int index] {
                get {
                    return ((REKLAMARow)(this.Rows[index]));
                }
            }
            
            public event REKLAMARowChangeEventHandler REKLAMARowChanging;
            
            public event REKLAMARowChangeEventHandler REKLAMARowChanged;
            
            public event REKLAMARowChangeEventHandler REKLAMARowDeleting;
            
            public event REKLAMARowChangeEventHandler REKLAMARowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddREKLAMARow(REKLAMARow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow AddREKLAMARow(
                        KLIENCIRow parentKLIENCIRowByKLIENCI_REKLAMA, 
                        string SYMBOL_AKWIZYTORA, 
                        string TYTUŁ, 
                        string TYP, 
                        string ID_REKLAMY, 
                        string NICK_NAME, 
                        System.DateTime DATA_ZAMÓWIENIA, 
                        double SZER, 
                        double WYS, 
                        string MOD_TYP, 
                        string STRONA, 
                        short STR_NR_WT, 
                        short STR_NR_PT, 
                        short KROTNOŚĆ, 
                        byte ODSTĘP, 
                        string KOLOR, 
                        bool WSKAZANIE_MIEJSCA, 
                        double RABAT, 
                        double RABAT_WARTOŚĆ, 
                        bool ZAPŁACONO, 
                        bool ZATWIERDZONO_DO_DRUKU, 
                        System.DateTime DATA_ZAPŁATY, 
                        string SYMBOL_POTWIERDZENIA, 
                        string RODZAJ_POTWIERDZENIA, 
                        double CENA_JEDN, 
                        double NETTO, 
                        double VAT, 
                        double PVAT, 
                        double BRUTTO, 
                        double PROCENT_PROWIZJI, 
                        double PROWIZJA, 
                        string INFO, 
                        string FAKTURA_NUMER, 
                        int FAKTURA_ID_KONTA, 
                        System.DateTime FAKTURA_DATA_WYSTAWIENIA, 
                        System.DateTime FAKTURA_DATA_SPRZEDAŻY, 
                        System.DateTime FAKTURA_TERMIN_ZAPŁATY, 
                        byte FAKTURA_FORMA_PŁATNOŚCI, 
                        bool FAKTURA_WYSTAWIONO, 
                        string FAKTURA_RODZAJ, 
                        string USERID, 
                        System.DateTime DATA_OSTATNIEJ_MODYFIKACJI, 
                        string _FK_TR, 
                        int F_NR, 
                        string F_NR_ROZ, 
                        int F_NR_ROK, 
                        FAKTURYRow parentFAKTURYRowByFAKTURY_REKLAMA, 
                        int PROMOCJA, 
                        int GRZBIET, 
                        int customerId_Sub, 
                        string kier_notatka, 
                        bool kier_zatwierdzil, 
                        string zam_notatka, 
                        bool zablokuj_prowizje, 
                        double Brutto_Euro, 
                        decimal Zaliczka_Brutto, 
                        System.DateTime Zaliczka_Data, 
                        string Brutto_Euro_Miano, 
                        System.DateTime waluta_kurs_z_dnia, 
                        double waluta_kurs, 
                        int waluta_Przelicznik, 
                        string waluta_tabela_nr, 
                        double wyroznienie_procent, 
                        double wyroznienie_kwota, 
                        bool wyroznienie, 
                        bool wyroznienie_exported, 
                        bool logo, 
                        int logoID, 
                        int ogl_dzial, 
                        int ogl_rozdzial, 
                        int idZamowienia, 
                        System.DateTime Data1Emisji) {
                REKLAMARow rowREKLAMARow = ((REKLAMARow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        SYMBOL_AKWIZYTORA,
                        TYTUŁ,
                        TYP,
                        ID_REKLAMY,
                        NICK_NAME,
                        DATA_ZAMÓWIENIA,
                        SZER,
                        WYS,
                        MOD_TYP,
                        STRONA,
                        STR_NR_WT,
                        STR_NR_PT,
                        KROTNOŚĆ,
                        ODSTĘP,
                        KOLOR,
                        WSKAZANIE_MIEJSCA,
                        RABAT,
                        RABAT_WARTOŚĆ,
                        ZAPŁACONO,
                        ZATWIERDZONO_DO_DRUKU,
                        DATA_ZAPŁATY,
                        SYMBOL_POTWIERDZENIA,
                        RODZAJ_POTWIERDZENIA,
                        CENA_JEDN,
                        NETTO,
                        VAT,
                        PVAT,
                        BRUTTO,
                        PROCENT_PROWIZJI,
                        PROWIZJA,
                        INFO,
                        FAKTURA_NUMER,
                        FAKTURA_ID_KONTA,
                        FAKTURA_DATA_WYSTAWIENIA,
                        FAKTURA_DATA_SPRZEDAŻY,
                        FAKTURA_TERMIN_ZAPŁATY,
                        FAKTURA_FORMA_PŁATNOŚCI,
                        FAKTURA_WYSTAWIONO,
                        FAKTURA_RODZAJ,
                        USERID,
                        DATA_OSTATNIEJ_MODYFIKACJI,
                        _FK_TR,
                        F_NR,
                        F_NR_ROZ,
                        F_NR_ROK,
                        null,
                        PROMOCJA,
                        GRZBIET,
                        customerId_Sub,
                        kier_notatka,
                        kier_zatwierdzil,
                        zam_notatka,
                        zablokuj_prowizje,
                        Brutto_Euro,
                        Zaliczka_Brutto,
                        Zaliczka_Data,
                        Brutto_Euro_Miano,
                        waluta_kurs_z_dnia,
                        waluta_kurs,
                        waluta_Przelicznik,
                        waluta_tabela_nr,
                        wyroznienie_procent,
                        wyroznienie_kwota,
                        wyroznienie,
                        wyroznienie_exported,
                        logo,
                        logoID,
                        ogl_dzial,
                        ogl_rozdzial,
                        idZamowienia,
                        Data1Emisji};
                if ((parentKLIENCIRowByKLIENCI_REKLAMA != null)) {
                    columnValuesArray[1] = parentKLIENCIRowByKLIENCI_REKLAMA[25];
                }
                if ((parentFAKTURYRowByFAKTURY_REKLAMA != null)) {
                    columnValuesArray[47] = parentFAKTURYRowByFAKTURY_REKLAMA[0];
                }
                rowREKLAMARow.ItemArray = columnValuesArray;
                this.Rows.Add(rowREKLAMARow);
                return rowREKLAMARow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow FindByReklamaID(int ReklamaID) {
                return ((REKLAMARow)(this.Rows.Find(new object[] {
                            ReklamaID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                REKLAMADataTable cln = ((REKLAMADataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new REKLAMADataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnReklamaID = base.Columns["ReklamaID"];
                this.columnCustomerID = base.Columns["CustomerID"];
                this.columnSYMBOL_AKWIZYTORA = base.Columns["SYMBOL AKWIZYTORA"];
                this.columnTYTUŁ = base.Columns["TYTUŁ"];
                this.columnTYP = base.Columns["TYP"];
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                this.columnNICK_NAME = base.Columns["NICK NAME"];
                this.columnDATA_ZAMÓWIENIA = base.Columns["DATA ZAMÓWIENIA"];
                this.columnSZER = base.Columns["SZER"];
                this.columnWYS = base.Columns["WYS"];
                this.columnMOD_TYP = base.Columns["MOD_TYP"];
                this.columnSTRONA = base.Columns["STRONA"];
                this.columnSTR_NR_WT = base.Columns["STR NR WT"];
                this.columnSTR_NR_PT = base.Columns["STR NR PT"];
                this.columnKROTNOŚĆ = base.Columns["KROTNOŚĆ"];
                this.columnODSTĘP = base.Columns["ODSTĘP"];
                this.columnKOLOR = base.Columns["KOLOR"];
                this.columnWSKAZANIE_MIEJSCA = base.Columns["WSKAZANIE MIEJSCA"];
                this.columnRABAT = base.Columns["RABAT"];
                this.columnRABAT_WARTOŚĆ = base.Columns["RABAT WARTOŚĆ"];
                this.columnZAPŁACONO = base.Columns["ZAPŁACONO"];
                this.columnZATWIERDZONO_DO_DRUKU = base.Columns["ZATWIERDZONO DO DRUKU"];
                this.columnDATA_ZAPŁATY = base.Columns["DATA ZAPŁATY"];
                this.columnSYMBOL_POTWIERDZENIA = base.Columns["SYMBOL POTWIERDZENIA"];
                this.columnRODZAJ_POTWIERDZENIA = base.Columns["RODZAJ POTWIERDZENIA"];
                this.columnCENA_JEDN = base.Columns["CENA JEDN"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnVAT = base.Columns["VAT"];
                this.columnPVAT = base.Columns["PVAT"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnPROCENT_PROWIZJI = base.Columns["PROCENT PROWIZJI"];
                this.columnPROWIZJA = base.Columns["PROWIZJA"];
                this.columnINFO = base.Columns["INFO"];
                this.columnFAKTURA_NUMER = base.Columns["FAKTURA NUMER"];
                this.columnFAKTURA_ID_KONTA = base.Columns["FAKTURA ID KONTA"];
                this.columnFAKTURA_DATA_WYSTAWIENIA = base.Columns["FAKTURA DATA WYSTAWIENIA"];
                this.columnFAKTURA_DATA_SPRZEDAŻY = base.Columns["FAKTURA DATA SPRZEDAŻY"];
                this.columnFAKTURA_TERMIN_ZAPŁATY = base.Columns["FAKTURA TERMIN ZAPŁATY"];
                this.columnFAKTURA_FORMA_PŁATNOŚCI = base.Columns["FAKTURA FORMA PŁATNOŚCI"];
                this.columnFAKTURA_WYSTAWIONO = base.Columns["FAKTURA WYSTAWIONO"];
                this.columnFAKTURA_RODZAJ = base.Columns["FAKTURA RODZAJ"];
                this.columnUSERID = base.Columns["USERID"];
                this.columnDATA_OSTATNIEJ_MODYFIKACJI = base.Columns["DATA OSTATNIEJ MODYFIKACJI"];
                this._columnFK_TR = base.Columns["FK-TR"];
                this.columnF_NR = base.Columns["F_NR"];
                this.columnF_NR_ROZ = base.Columns["F_NR_ROZ"];
                this.columnF_NR_ROK = base.Columns["F_NR_ROK"];
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnPROMOCJA = base.Columns["PROMOCJA"];
                this.columnGRZBIET = base.Columns["GRZBIET"];
                this.columncustomerId_Sub = base.Columns["customerId_Sub"];
                this.columnkier_notatka = base.Columns["kier_notatka"];
                this.columnkier_zatwierdzil = base.Columns["kier_zatwierdzil"];
                this.columnzam_notatka = base.Columns["zam_notatka"];
                this.columnzablokuj_prowizje = base.Columns["zablokuj_prowizje"];
                this.columnBrutto_Euro = base.Columns["Brutto_Euro"];
                this.columnZaliczka_Brutto = base.Columns["Zaliczka_Brutto"];
                this.columnZaliczka_Data = base.Columns["Zaliczka_Data"];
                this.columnBrutto_Euro_Miano = base.Columns["Brutto_Euro_Miano"];
                this.columnwaluta_kurs_z_dnia = base.Columns["waluta_kurs_z_dnia"];
                this.columnwaluta_kurs = base.Columns["waluta_kurs"];
                this.columnwaluta_Przelicznik = base.Columns["waluta_Przelicznik"];
                this.columnwaluta_tabela_nr = base.Columns["waluta_tabela_nr"];
                this.columnwyroznienie_procent = base.Columns["wyroznienie_procent"];
                this.columnwyroznienie_kwota = base.Columns["wyroznienie_kwota"];
                this.columnwyroznienie = base.Columns["wyroznienie"];
                this.columnwyroznienie_exported = base.Columns["wyroznienie_exported"];
                this.columnlogo = base.Columns["logo"];
                this.columnlogoID = base.Columns["logoID"];
                this.columnogl_dzial = base.Columns["ogl_dzial"];
                this.columnogl_rozdzial = base.Columns["ogl_rozdzial"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnData1Emisji = base.Columns["Data1Emisji"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnReklamaID = new global::System.Data.DataColumn("ReklamaID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaID);
                this.columnCustomerID = new global::System.Data.DataColumn("CustomerID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerID);
                this.columnSYMBOL_AKWIZYTORA = new global::System.Data.DataColumn("SYMBOL AKWIZYTORA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_AKWIZYTORA);
                this.columnTYTUŁ = new global::System.Data.DataColumn("TYTUŁ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUŁ);
                this.columnTYP = new global::System.Data.DataColumn("TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYP);
                this.columnID_REKLAMY = new global::System.Data.DataColumn("ID REKLAMY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_REKLAMY);
                this.columnNICK_NAME = new global::System.Data.DataColumn("NICK NAME", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNICK_NAME);
                this.columnDATA_ZAMÓWIENIA = new global::System.Data.DataColumn("DATA ZAMÓWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_ZAMÓWIENIA);
                this.columnSZER = new global::System.Data.DataColumn("SZER", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSZER);
                this.columnWYS = new global::System.Data.DataColumn("WYS", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWYS);
                this.columnMOD_TYP = new global::System.Data.DataColumn("MOD_TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMOD_TYP);
                this.columnSTRONA = new global::System.Data.DataColumn("STRONA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTRONA);
                this.columnSTR_NR_WT = new global::System.Data.DataColumn("STR NR WT", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTR_NR_WT);
                this.columnSTR_NR_PT = new global::System.Data.DataColumn("STR NR PT", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTR_NR_PT);
                this.columnKROTNOŚĆ = new global::System.Data.DataColumn("KROTNOŚĆ", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKROTNOŚĆ);
                this.columnODSTĘP = new global::System.Data.DataColumn("ODSTĘP", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnODSTĘP);
                this.columnKOLOR = new global::System.Data.DataColumn("KOLOR", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOLOR);
                this.columnWSKAZANIE_MIEJSCA = new global::System.Data.DataColumn("WSKAZANIE MIEJSCA", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWSKAZANIE_MIEJSCA);
                this.columnRABAT = new global::System.Data.DataColumn("RABAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRABAT);
                this.columnRABAT_WARTOŚĆ = new global::System.Data.DataColumn("RABAT WARTOŚĆ", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRABAT_WARTOŚĆ);
                this.columnZAPŁACONO = new global::System.Data.DataColumn("ZAPŁACONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAPŁACONO);
                this.columnZATWIERDZONO_DO_DRUKU = new global::System.Data.DataColumn("ZATWIERDZONO DO DRUKU", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZATWIERDZONO_DO_DRUKU);
                this.columnDATA_ZAPŁATY = new global::System.Data.DataColumn("DATA ZAPŁATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_ZAPŁATY);
                this.columnSYMBOL_POTWIERDZENIA = new global::System.Data.DataColumn("SYMBOL POTWIERDZENIA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_POTWIERDZENIA);
                this.columnRODZAJ_POTWIERDZENIA = new global::System.Data.DataColumn("RODZAJ POTWIERDZENIA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRODZAJ_POTWIERDZENIA);
                this.columnCENA_JEDN = new global::System.Data.DataColumn("CENA JEDN", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCENA_JEDN);
                this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNETTO);
                this.columnVAT = new global::System.Data.DataColumn("VAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVAT);
                this.columnPVAT = new global::System.Data.DataColumn("PVAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPVAT);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnPROCENT_PROWIZJI = new global::System.Data.DataColumn("PROCENT PROWIZJI", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPROCENT_PROWIZJI);
                this.columnPROWIZJA = new global::System.Data.DataColumn("PROWIZJA", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPROWIZJA);
                this.columnINFO = new global::System.Data.DataColumn("INFO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnINFO);
                this.columnFAKTURA_NUMER = new global::System.Data.DataColumn("FAKTURA NUMER", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_NUMER);
                this.columnFAKTURA_ID_KONTA = new global::System.Data.DataColumn("FAKTURA ID KONTA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_ID_KONTA);
                this.columnFAKTURA_DATA_WYSTAWIENIA = new global::System.Data.DataColumn("FAKTURA DATA WYSTAWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_DATA_WYSTAWIENIA);
                this.columnFAKTURA_DATA_SPRZEDAŻY = new global::System.Data.DataColumn("FAKTURA DATA SPRZEDAŻY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_DATA_SPRZEDAŻY);
                this.columnFAKTURA_TERMIN_ZAPŁATY = new global::System.Data.DataColumn("FAKTURA TERMIN ZAPŁATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_TERMIN_ZAPŁATY);
                this.columnFAKTURA_FORMA_PŁATNOŚCI = new global::System.Data.DataColumn("FAKTURA FORMA PŁATNOŚCI", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_FORMA_PŁATNOŚCI);
                this.columnFAKTURA_WYSTAWIONO = new global::System.Data.DataColumn("FAKTURA WYSTAWIONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_WYSTAWIONO);
                this.columnFAKTURA_RODZAJ = new global::System.Data.DataColumn("FAKTURA RODZAJ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_RODZAJ);
                this.columnUSERID = new global::System.Data.DataColumn("USERID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUSERID);
                this.columnDATA_OSTATNIEJ_MODYFIKACJI = new global::System.Data.DataColumn("DATA OSTATNIEJ MODYFIKACJI", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_OSTATNIEJ_MODYFIKACJI);
                this._columnFK_TR = new global::System.Data.DataColumn("FK-TR", typeof(string), null, global::System.Data.MappingType.Element);
                this._columnFK_TR.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnFK_TR");
                this._columnFK_TR.ExtendedProperties.Add("Generator_UserColumnName", "FK-TR");
                base.Columns.Add(this._columnFK_TR);
                this.columnF_NR = new global::System.Data.DataColumn("F_NR", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF_NR);
                this.columnF_NR_ROZ = new global::System.Data.DataColumn("F_NR_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF_NR_ROZ);
                this.columnF_NR_ROK = new global::System.Data.DataColumn("F_NR_ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF_NR_ROK);
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnPROMOCJA = new global::System.Data.DataColumn("PROMOCJA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPROMOCJA);
                this.columnGRZBIET = new global::System.Data.DataColumn("GRZBIET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGRZBIET);
                this.columncustomerId_Sub = new global::System.Data.DataColumn("customerId_Sub", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncustomerId_Sub);
                this.columnkier_notatka = new global::System.Data.DataColumn("kier_notatka", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkier_notatka);
                this.columnkier_zatwierdzil = new global::System.Data.DataColumn("kier_zatwierdzil", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkier_zatwierdzil);
                this.columnzam_notatka = new global::System.Data.DataColumn("zam_notatka", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzam_notatka);
                this.columnzablokuj_prowizje = new global::System.Data.DataColumn("zablokuj_prowizje", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzablokuj_prowizje);
                this.columnBrutto_Euro = new global::System.Data.DataColumn("Brutto_Euro", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBrutto_Euro);
                this.columnZaliczka_Brutto = new global::System.Data.DataColumn("Zaliczka_Brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZaliczka_Brutto);
                this.columnZaliczka_Data = new global::System.Data.DataColumn("Zaliczka_Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZaliczka_Data);
                this.columnBrutto_Euro_Miano = new global::System.Data.DataColumn("Brutto_Euro_Miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBrutto_Euro_Miano);
                this.columnwaluta_kurs_z_dnia = new global::System.Data.DataColumn("waluta_kurs_z_dnia", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs_z_dnia);
                this.columnwaluta_kurs = new global::System.Data.DataColumn("waluta_kurs", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs);
                this.columnwaluta_Przelicznik = new global::System.Data.DataColumn("waluta_Przelicznik", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_Przelicznik);
                this.columnwaluta_tabela_nr = new global::System.Data.DataColumn("waluta_tabela_nr", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_tabela_nr);
                this.columnwyroznienie_procent = new global::System.Data.DataColumn("wyroznienie_procent", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie_procent);
                this.columnwyroznienie_kwota = new global::System.Data.DataColumn("wyroznienie_kwota", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie_kwota);
                this.columnwyroznienie = new global::System.Data.DataColumn("wyroznienie", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie);
                this.columnwyroznienie_exported = new global::System.Data.DataColumn("wyroznienie_exported", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie_exported);
                this.columnlogo = new global::System.Data.DataColumn("logo", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlogo);
                this.columnlogoID = new global::System.Data.DataColumn("logoID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlogoID);
                this.columnogl_dzial = new global::System.Data.DataColumn("ogl_dzial", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnogl_dzial);
                this.columnogl_rozdzial = new global::System.Data.DataColumn("ogl_rozdzial", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnogl_rozdzial);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnData1Emisji = new global::System.Data.DataColumn("Data1Emisji", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnData1Emisji);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnReklamaID}, true));
                this.columnReklamaID.AutoIncrement = true;
                this.columnReklamaID.AllowDBNull = false;
                this.columnReklamaID.ReadOnly = true;
                this.columnReklamaID.Unique = true;
                this.columnSYMBOL_AKWIZYTORA.MaxLength = 50;
                this.columnTYTUŁ.DefaultValue = ((string)("AMT"));
                this.columnTYTUŁ.MaxLength = 5;
                this.columnTYP.DefaultValue = ((string)("PŁATNA"));
                this.columnTYP.MaxLength = 10;
                this.columnID_REKLAMY.DefaultValue = ((string)("test"));
                this.columnID_REKLAMY.MaxLength = 10;
                this.columnNICK_NAME.MaxLength = 50;
                this.columnSZER.DefaultValue = ((double)(1));
                this.columnWYS.DefaultValue = ((double)(1));
                this.columnMOD_TYP.MaxLength = 15;
                this.columnSTRONA.MaxLength = 25;
                this.columnKROTNOŚĆ.DefaultValue = ((short)(0));
                this.columnODSTĘP.DefaultValue = ((byte)(1));
                this.columnKOLOR.DefaultValue = ((string)("B\\W"));
                this.columnKOLOR.MaxLength = 5;
                this.columnWSKAZANIE_MIEJSCA.DefaultValue = ((bool)(false));
                this.columnRABAT.DefaultValue = ((double)(0));
                this.columnRABAT_WARTOŚĆ.DefaultValue = ((double)(0));
                this.columnZAPŁACONO.DefaultValue = ((bool)(false));
                this.columnZATWIERDZONO_DO_DRUKU.DefaultValue = ((bool)(false));
                this.columnSYMBOL_POTWIERDZENIA.MaxLength = 25;
                this.columnRODZAJ_POTWIERDZENIA.MaxLength = 50;
                this.columnCENA_JEDN.DefaultValue = ((double)(0));
                this.columnNETTO.DefaultValue = ((double)(0));
                this.columnVAT.DefaultValue = ((double)(0.22));
                this.columnPVAT.DefaultValue = ((double)(0));
                this.columnBRUTTO.DefaultValue = ((double)(0));
                this.columnPROCENT_PROWIZJI.DefaultValue = ((double)(0));
                this.columnPROWIZJA.DefaultValue = ((double)(0));
                this.columnINFO.MaxLength = 1000;
                this.columnFAKTURA_NUMER.MaxLength = 50;
                this.columnFAKTURA_ID_KONTA.DefaultValue = ((int)(1));
                this.columnFAKTURA_WYSTAWIONO.DefaultValue = ((bool)(false));
                this.columnFAKTURA_RODZAJ.MaxLength = 50;
                this.columnUSERID.MaxLength = 50;
                this._columnFK_TR.MaxLength = 1;
                this.columnF_NR_ROZ.MaxLength = 8;
                this.columnkier_notatka.MaxLength = 200;
                this.columnkier_zatwierdzil.DefaultValue = ((bool)(false));
                this.columnzam_notatka.MaxLength = 200;
                this.columnzablokuj_prowizje.AllowDBNull = false;
                this.columnzablokuj_prowizje.DefaultValue = ((bool)(false));
                this.columnBrutto_Euro_Miano.DefaultValue = ((string)(""));
                this.columnBrutto_Euro_Miano.MaxLength = 4;
                this.columnwaluta_Przelicznik.DefaultValue = ((int)(1));
                this.columnwaluta_tabela_nr.MaxLength = 15;
                this.columnwyroznienie_procent.DefaultValue = ((double)(0));
                this.columnwyroznienie_kwota.DefaultValue = ((double)(0));
                this.columnwyroznienie.AllowDBNull = false;
                this.columnwyroznienie.DefaultValue = ((bool)(false));
                this.columnwyroznienie_exported.AllowDBNull = false;
                this.columnwyroznienie_exported.DefaultValue = ((bool)(false));
                this.columnlogo.AllowDBNull = false;
                this.columnlogo.DefaultValue = ((bool)(false));
                this.columnData1Emisji.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow NewREKLAMARow() {
                return ((REKLAMARow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new REKLAMARow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(REKLAMARow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.REKLAMARowChanged != null)) {
                    this.REKLAMARowChanged(this, new REKLAMARowChangeEvent(((REKLAMARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.REKLAMARowChanging != null)) {
                    this.REKLAMARowChanging(this, new REKLAMARowChangeEvent(((REKLAMARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.REKLAMARowDeleted != null)) {
                    this.REKLAMARowDeleted(this, new REKLAMARowChangeEvent(((REKLAMARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.REKLAMARowDeleting != null)) {
                    this.REKLAMARowDeleting(this, new REKLAMARowChangeEvent(((REKLAMARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveREKLAMARow(REKLAMARow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "REKLAMADataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class UKAZE_SIE_W_NRDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID;
            
            private global::System.Data.DataColumn columnReklamaId;
            
            private global::System.Data.DataColumn columnNr_Wydania;
            
            private global::System.Data.DataColumn columnstatus;
            
            private global::System.Data.DataColumn columnzafakturowana;
            
            private global::System.Data.DataColumn columnidFaktury;
            
            private global::System.Data.DataColumn columndataDodania;
            
            private global::System.Data.DataColumn columndataAnulowania;
            
            private global::System.Data.DataColumn columnnetto;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRDataTable() {
                this.TableName = "UKAZE_SIE_W_NR";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal UKAZE_SIE_W_NRDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected UKAZE_SIE_W_NRDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn IDColumn {
                get {
                    return this.columnID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIdColumn {
                get {
                    return this.columnReklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Nr_WydaniaColumn {
                get {
                    return this.columnNr_Wydania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn statusColumn {
                get {
                    return this.columnstatus;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zafakturowanaColumn {
                get {
                    return this.columnzafakturowana;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyColumn {
                get {
                    return this.columnidFaktury;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataDodaniaColumn {
                get {
                    return this.columndataDodania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataAnulowaniaColumn {
                get {
                    return this.columndataAnulowania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nettoColumn {
                get {
                    return this.columnnetto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow this[int index] {
                get {
                    return ((UKAZE_SIE_W_NRRow)(this.Rows[index]));
                }
            }
            
            public event UKAZE_SIE_W_NRRowChangeEventHandler UKAZE_SIE_W_NRRowChanging;
            
            public event UKAZE_SIE_W_NRRowChangeEventHandler UKAZE_SIE_W_NRRowChanged;
            
            public event UKAZE_SIE_W_NRRowChangeEventHandler UKAZE_SIE_W_NRRowDeleting;
            
            public event UKAZE_SIE_W_NRRowChangeEventHandler UKAZE_SIE_W_NRRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddUKAZE_SIE_W_NRRow(UKAZE_SIE_W_NRRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow AddUKAZE_SIE_W_NRRow(REKLAMARow parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR, short Nr_Wydania, short status, bool zafakturowana, FAKTURYRow parentFAKTURYRowByFAKTURY_UKAZE_SIE_W_NR, System.DateTime dataDodania, System.DateTime dataAnulowania, decimal netto) {
                UKAZE_SIE_W_NRRow rowUKAZE_SIE_W_NRRow = ((UKAZE_SIE_W_NRRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        Nr_Wydania,
                        status,
                        zafakturowana,
                        null,
                        dataDodania,
                        dataAnulowania,
                        netto};
                if ((parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR != null)) {
                    columnValuesArray[1] = parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR[0];
                }
                if ((parentFAKTURYRowByFAKTURY_UKAZE_SIE_W_NR != null)) {
                    columnValuesArray[5] = parentFAKTURYRowByFAKTURY_UKAZE_SIE_W_NR[0];
                }
                rowUKAZE_SIE_W_NRRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowUKAZE_SIE_W_NRRow);
                return rowUKAZE_SIE_W_NRRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow FindByID(decimal ID) {
                return ((UKAZE_SIE_W_NRRow)(this.Rows.Find(new object[] {
                            ID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                UKAZE_SIE_W_NRDataTable cln = ((UKAZE_SIE_W_NRDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new UKAZE_SIE_W_NRDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID = base.Columns["ID"];
                this.columnReklamaId = base.Columns["ReklamaId"];
                this.columnNr_Wydania = base.Columns["Nr Wydania"];
                this.columnstatus = base.Columns["status"];
                this.columnzafakturowana = base.Columns["zafakturowana"];
                this.columnidFaktury = base.Columns["idFaktury"];
                this.columndataDodania = base.Columns["dataDodania"];
                this.columndataAnulowania = base.Columns["dataAnulowania"];
                this.columnnetto = base.Columns["netto"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID = new global::System.Data.DataColumn("ID", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnReklamaId = new global::System.Data.DataColumn("ReklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaId);
                this.columnNr_Wydania = new global::System.Data.DataColumn("Nr Wydania", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNr_Wydania);
                this.columnstatus = new global::System.Data.DataColumn("status", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnstatus);
                this.columnzafakturowana = new global::System.Data.DataColumn("zafakturowana", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzafakturowana);
                this.columnidFaktury = new global::System.Data.DataColumn("idFaktury", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFaktury);
                this.columndataDodania = new global::System.Data.DataColumn("dataDodania", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataDodania);
                this.columndataAnulowania = new global::System.Data.DataColumn("dataAnulowania", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataAnulowania);
                this.columnnetto = new global::System.Data.DataColumn("netto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnetto);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID}, true));
                this.columnID.AutoIncrement = true;
                this.columnID.AutoIncrementSeed = -1;
                this.columnID.AutoIncrementStep = -1;
                this.columnID.AllowDBNull = false;
                this.columnID.ReadOnly = true;
                this.columnID.Unique = true;
                this.columnReklamaId.AllowDBNull = false;
                this.columnNr_Wydania.AllowDBNull = false;
                this.columnstatus.AllowDBNull = false;
                this.columnstatus.DefaultValue = ((short)(0));
                this.columnzafakturowana.AllowDBNull = false;
                this.columnzafakturowana.DefaultValue = ((bool)(false));
                this.columnnetto.DefaultValue = ((decimal)(0m));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow NewUKAZE_SIE_W_NRRow() {
                return ((UKAZE_SIE_W_NRRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new UKAZE_SIE_W_NRRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(UKAZE_SIE_W_NRRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.UKAZE_SIE_W_NRRowChanged != null)) {
                    this.UKAZE_SIE_W_NRRowChanged(this, new UKAZE_SIE_W_NRRowChangeEvent(((UKAZE_SIE_W_NRRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.UKAZE_SIE_W_NRRowChanging != null)) {
                    this.UKAZE_SIE_W_NRRowChanging(this, new UKAZE_SIE_W_NRRowChangeEvent(((UKAZE_SIE_W_NRRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.UKAZE_SIE_W_NRRowDeleted != null)) {
                    this.UKAZE_SIE_W_NRRowDeleted(this, new UKAZE_SIE_W_NRRowChangeEvent(((UKAZE_SIE_W_NRRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.UKAZE_SIE_W_NRRowDeleting != null)) {
                    this.UKAZE_SIE_W_NRRowDeleting(this, new UKAZE_SIE_W_NRRowChangeEvent(((UKAZE_SIE_W_NRRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveUKAZE_SIE_W_NRRow(UKAZE_SIE_W_NRRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "UKAZE_SIE_W_NRDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KLIENCIDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnLastName;
            
            private global::System.Data.DataColumn columnOrganizationName;
            
            private global::System.Data.DataColumn columnAddress;
            
            private global::System.Data.DataColumn columnCity;
            
            private global::System.Data.DataColumn columnPostalCode;
            
            private global::System.Data.DataColumn columnCountry;
            
            private global::System.Data.DataColumn columnNip;
            
            private global::System.Data.DataColumn columnContactName;
            
            private global::System.Data.DataColumn columnState;
            
            private global::System.Data.DataColumn columnPhoneNumber;
            
            private global::System.Data.DataColumn columnFaxNumber;
            
            private global::System.Data.DataColumn columnNote;
            
            private global::System.Data.DataColumn columndata;
            
            private global::System.Data.DataColumn columnAdres_Fkatura;
            
            private global::System.Data.DataColumn columnAdres_Kor;
            
            private global::System.Data.DataColumn columnEmail;
            
            private global::System.Data.DataColumn columnAktywny;
            
            private global::System.Data.DataColumn columnPlatnik_VAT;
            
            private global::System.Data.DataColumn columnUserName;
            
            private global::System.Data.DataColumn columnhttp;
            
            private global::System.Data.DataColumn columnregon;
            
            private global::System.Data.DataColumn columnVIES;
            
            private global::System.Data.DataColumn columnkrs;
            
            private global::System.Data.DataColumn columnModify_User;
            
            private global::System.Data.DataColumn columnLast_Modify;
            
            private global::System.Data.DataColumn columnCustomerID;
            
            private global::System.Data.DataColumn columnFirstName;
            
            private global::System.Data.DataColumn columnnipKraj;
            
            private global::System.Data.DataColumn columnkodKlienta;
            
            private global::System.Data.DataColumn columnAgentExpo;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIDataTable() {
                this.TableName = "KLIENCI";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCIDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KLIENCIDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn LastNameColumn {
                get {
                    return this.columnLastName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn OrganizationNameColumn {
                get {
                    return this.columnOrganizationName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AddressColumn {
                get {
                    return this.columnAddress;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CityColumn {
                get {
                    return this.columnCity;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PostalCodeColumn {
                get {
                    return this.columnPostalCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CountryColumn {
                get {
                    return this.columnCountry;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NipColumn {
                get {
                    return this.columnNip;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ContactNameColumn {
                get {
                    return this.columnContactName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn StateColumn {
                get {
                    return this.columnState;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PhoneNumberColumn {
                get {
                    return this.columnPhoneNumber;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FaxNumberColumn {
                get {
                    return this.columnFaxNumber;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NoteColumn {
                get {
                    return this.columnNote;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataColumn {
                get {
                    return this.columndata;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Adres_FkaturaColumn {
                get {
                    return this.columnAdres_Fkatura;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Adres_KorColumn {
                get {
                    return this.columnAdres_Kor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EmailColumn {
                get {
                    return this.columnEmail;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AktywnyColumn {
                get {
                    return this.columnAktywny;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Platnik_VATColumn {
                get {
                    return this.columnPlatnik_VAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserNameColumn {
                get {
                    return this.columnUserName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn httpColumn {
                get {
                    return this.columnhttp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn regonColumn {
                get {
                    return this.columnregon;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VIESColumn {
                get {
                    return this.columnVIES;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn krsColumn {
                get {
                    return this.columnkrs;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Modify_UserColumn {
                get {
                    return this.columnModify_User;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Last_ModifyColumn {
                get {
                    return this.columnLast_Modify;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIDColumn {
                get {
                    return this.columnCustomerID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FirstNameColumn {
                get {
                    return this.columnFirstName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nipKrajColumn {
                get {
                    return this.columnnipKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodKlientaColumn {
                get {
                    return this.columnkodKlienta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AgentExpoColumn {
                get {
                    return this.columnAgentExpo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow this[int index] {
                get {
                    return ((KLIENCIRow)(this.Rows[index]));
                }
            }
            
            public event KLIENCIRowChangeEventHandler KLIENCIRowChanging;
            
            public event KLIENCIRowChangeEventHandler KLIENCIRowChanged;
            
            public event KLIENCIRowChangeEventHandler KLIENCIRowDeleting;
            
            public event KLIENCIRowChangeEventHandler KLIENCIRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKLIENCIRow(KLIENCIRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow AddKLIENCIRow(
                        string LastName, 
                        string OrganizationName, 
                        string Address, 
                        string City, 
                        string PostalCode, 
                        string Country, 
                        string Nip, 
                        string ContactName, 
                        string State, 
                        string PhoneNumber, 
                        string FaxNumber, 
                        string Note, 
                        System.DateTime data, 
                        string Adres_Fkatura, 
                        string Adres_Kor, 
                        string Email, 
                        bool Aktywny, 
                        bool Platnik_VAT, 
                        string UserName, 
                        string http, 
                        string regon, 
                        short VIES, 
                        string krs, 
                        string Modify_User, 
                        System.DateTime Last_Modify, 
                        string FirstName, 
                        string nipKraj, 
                        string kodKlienta, 
                        string AgentExpo) {
                KLIENCIRow rowKLIENCIRow = ((KLIENCIRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        LastName,
                        OrganizationName,
                        Address,
                        City,
                        PostalCode,
                        Country,
                        Nip,
                        ContactName,
                        State,
                        PhoneNumber,
                        FaxNumber,
                        Note,
                        data,
                        Adres_Fkatura,
                        Adres_Kor,
                        Email,
                        Aktywny,
                        Platnik_VAT,
                        UserName,
                        http,
                        regon,
                        VIES,
                        krs,
                        Modify_User,
                        Last_Modify,
                        null,
                        FirstName,
                        nipKraj,
                        kodKlienta,
                        AgentExpo};
                rowKLIENCIRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKLIENCIRow);
                return rowKLIENCIRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow FindByCustomerID(int CustomerID) {
                return ((KLIENCIRow)(this.Rows.Find(new object[] {
                            CustomerID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KLIENCIDataTable cln = ((KLIENCIDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KLIENCIDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnLastName = base.Columns["LastName"];
                this.columnOrganizationName = base.Columns["OrganizationName"];
                this.columnAddress = base.Columns["Address"];
                this.columnCity = base.Columns["City"];
                this.columnPostalCode = base.Columns["PostalCode"];
                this.columnCountry = base.Columns["Country"];
                this.columnNip = base.Columns["Nip"];
                this.columnContactName = base.Columns["ContactName"];
                this.columnState = base.Columns["State"];
                this.columnPhoneNumber = base.Columns["PhoneNumber"];
                this.columnFaxNumber = base.Columns["FaxNumber"];
                this.columnNote = base.Columns["Note"];
                this.columndata = base.Columns["data"];
                this.columnAdres_Fkatura = base.Columns["Adres_Fkatura"];
                this.columnAdres_Kor = base.Columns["Adres_Kor"];
                this.columnEmail = base.Columns["Email"];
                this.columnAktywny = base.Columns["Aktywny"];
                this.columnPlatnik_VAT = base.Columns["Platnik_VAT"];
                this.columnUserName = base.Columns["UserName"];
                this.columnhttp = base.Columns["http"];
                this.columnregon = base.Columns["regon"];
                this.columnVIES = base.Columns["VIES"];
                this.columnkrs = base.Columns["krs"];
                this.columnModify_User = base.Columns["Modify_User"];
                this.columnLast_Modify = base.Columns["Last_Modify"];
                this.columnCustomerID = base.Columns["CustomerID"];
                this.columnFirstName = base.Columns["FirstName"];
                this.columnnipKraj = base.Columns["nipKraj"];
                this.columnkodKlienta = base.Columns["kodKlienta"];
                this.columnAgentExpo = base.Columns["AgentExpo"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnLastName = new global::System.Data.DataColumn("LastName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLastName);
                this.columnOrganizationName = new global::System.Data.DataColumn("OrganizationName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOrganizationName);
                this.columnAddress = new global::System.Data.DataColumn("Address", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAddress);
                this.columnCity = new global::System.Data.DataColumn("City", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCity);
                this.columnPostalCode = new global::System.Data.DataColumn("PostalCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPostalCode);
                this.columnCountry = new global::System.Data.DataColumn("Country", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCountry);
                this.columnNip = new global::System.Data.DataColumn("Nip", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNip);
                this.columnContactName = new global::System.Data.DataColumn("ContactName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnContactName);
                this.columnState = new global::System.Data.DataColumn("State", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnState);
                this.columnPhoneNumber = new global::System.Data.DataColumn("PhoneNumber", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPhoneNumber);
                this.columnFaxNumber = new global::System.Data.DataColumn("FaxNumber", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFaxNumber);
                this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNote);
                this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata);
                this.columnAdres_Fkatura = new global::System.Data.DataColumn("Adres_Fkatura", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAdres_Fkatura);
                this.columnAdres_Kor = new global::System.Data.DataColumn("Adres_Kor", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAdres_Kor);
                this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEmail);
                this.columnAktywny = new global::System.Data.DataColumn("Aktywny", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAktywny);
                this.columnPlatnik_VAT = new global::System.Data.DataColumn("Platnik_VAT", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPlatnik_VAT);
                this.columnUserName = new global::System.Data.DataColumn("UserName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserName);
                this.columnhttp = new global::System.Data.DataColumn("http", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnhttp);
                this.columnregon = new global::System.Data.DataColumn("regon", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnregon);
                this.columnVIES = new global::System.Data.DataColumn("VIES", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVIES);
                this.columnkrs = new global::System.Data.DataColumn("krs", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkrs);
                this.columnModify_User = new global::System.Data.DataColumn("Modify_User", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnModify_User);
                this.columnLast_Modify = new global::System.Data.DataColumn("Last_Modify", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnLast_Modify);
                this.columnCustomerID = new global::System.Data.DataColumn("CustomerID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerID);
                this.columnFirstName = new global::System.Data.DataColumn("FirstName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFirstName);
                this.columnnipKraj = new global::System.Data.DataColumn("nipKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnipKraj);
                this.columnkodKlienta = new global::System.Data.DataColumn("kodKlienta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkodKlienta);
                this.columnAgentExpo = new global::System.Data.DataColumn("AgentExpo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAgentExpo);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnCustomerID}, true));
                this.columnLastName.MaxLength = 50;
                this.columnOrganizationName.MaxLength = 50;
                this.columnAddress.MaxLength = 50;
                this.columnCity.MaxLength = 50;
                this.columnPostalCode.MaxLength = 20;
                this.columnCountry.MaxLength = 50;
                this.columnNip.MaxLength = 50;
                this.columnContactName.MaxLength = 50;
                this.columnState.MaxLength = 50;
                this.columnPhoneNumber.MaxLength = 30;
                this.columnFaxNumber.MaxLength = 30;
                this.columnNote.MaxLength = 200;
                this.columnAdres_Fkatura.MaxLength = 200;
                this.columnAdres_Kor.MaxLength = 200;
                this.columnEmail.MaxLength = 50;
                this.columnAktywny.AllowDBNull = false;
                this.columnAktywny.DefaultValue = ((bool)(true));
                this.columnPlatnik_VAT.AllowDBNull = false;
                this.columnPlatnik_VAT.DefaultValue = ((bool)(true));
                this.columnUserName.MaxLength = 25;
                this.columnhttp.MaxLength = 60;
                this.columnregon.MaxLength = 50;
                this.columnkrs.MaxLength = 50;
                this.columnModify_User.MaxLength = 25;
                this.columnCustomerID.AutoIncrement = true;
                this.columnCustomerID.AllowDBNull = false;
                this.columnCustomerID.ReadOnly = true;
                this.columnCustomerID.Unique = true;
                this.columnFirstName.MaxLength = 50;
                this.columnnipKraj.MaxLength = 3;
                this.columnkodKlienta.MaxLength = 10;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow NewKLIENCIRow() {
                return ((KLIENCIRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KLIENCIRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KLIENCIRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KLIENCIRowChanged != null)) {
                    this.KLIENCIRowChanged(this, new KLIENCIRowChangeEvent(((KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KLIENCIRowChanging != null)) {
                    this.KLIENCIRowChanging(this, new KLIENCIRowChangeEvent(((KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KLIENCIRowDeleted != null)) {
                    this.KLIENCIRowDeleted(this, new KLIENCIRowChangeEvent(((KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KLIENCIRowDeleting != null)) {
                    this.KLIENCIRowDeleting(this, new KLIENCIRowChangeEvent(((KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKLIENCIRow(KLIENCIRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "KLIENCIDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class REKLAMA_STRONADataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_REKLAMA_STRONA;
            
            private global::System.Data.DataColumn columnReklamaId;
            
            private global::System.Data.DataColumn columnNR_WYDANIA;
            
            private global::System.Data.DataColumn columnID_GRZBIETU;
            
            private global::System.Data.DataColumn columnSTRONA;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONADataTable() {
                this.TableName = "REKLAMA_STRONA";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal REKLAMA_STRONADataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected REKLAMA_STRONADataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_REKLAMA_STRONAColumn {
                get {
                    return this.columnID_REKLAMA_STRONA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIdColumn {
                get {
                    return this.columnReklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_WYDANIAColumn {
                get {
                    return this.columnNR_WYDANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_GRZBIETUColumn {
                get {
                    return this.columnID_GRZBIETU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STRONAColumn {
                get {
                    return this.columnSTRONA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARow this[int index] {
                get {
                    return ((REKLAMA_STRONARow)(this.Rows[index]));
                }
            }
            
            public event REKLAMA_STRONARowChangeEventHandler REKLAMA_STRONARowChanging;
            
            public event REKLAMA_STRONARowChangeEventHandler REKLAMA_STRONARowChanged;
            
            public event REKLAMA_STRONARowChangeEventHandler REKLAMA_STRONARowDeleting;
            
            public event REKLAMA_STRONARowChangeEventHandler REKLAMA_STRONARowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddREKLAMA_STRONARow(REKLAMA_STRONARow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARow AddREKLAMA_STRONARow(REKLAMARow parentREKLAMARowByREKLAMA_REKLAMA_STRONA, short NR_WYDANIA, int ID_GRZBIETU, short STRONA) {
                REKLAMA_STRONARow rowREKLAMA_STRONARow = ((REKLAMA_STRONARow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        NR_WYDANIA,
                        ID_GRZBIETU,
                        STRONA};
                if ((parentREKLAMARowByREKLAMA_REKLAMA_STRONA != null)) {
                    columnValuesArray[1] = parentREKLAMARowByREKLAMA_REKLAMA_STRONA[0];
                }
                rowREKLAMA_STRONARow.ItemArray = columnValuesArray;
                this.Rows.Add(rowREKLAMA_STRONARow);
                return rowREKLAMA_STRONARow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARow FindByID_REKLAMA_STRONA(int ID_REKLAMA_STRONA) {
                return ((REKLAMA_STRONARow)(this.Rows.Find(new object[] {
                            ID_REKLAMA_STRONA})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                REKLAMA_STRONADataTable cln = ((REKLAMA_STRONADataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new REKLAMA_STRONADataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_REKLAMA_STRONA = base.Columns["ID_REKLAMA_STRONA"];
                this.columnReklamaId = base.Columns["ReklamaId"];
                this.columnNR_WYDANIA = base.Columns["NR_WYDANIA"];
                this.columnID_GRZBIETU = base.Columns["ID_GRZBIETU"];
                this.columnSTRONA = base.Columns["STRONA"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_REKLAMA_STRONA = new global::System.Data.DataColumn("ID_REKLAMA_STRONA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_REKLAMA_STRONA);
                this.columnReklamaId = new global::System.Data.DataColumn("ReklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaId);
                this.columnNR_WYDANIA = new global::System.Data.DataColumn("NR_WYDANIA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_WYDANIA);
                this.columnID_GRZBIETU = new global::System.Data.DataColumn("ID_GRZBIETU", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_GRZBIETU);
                this.columnSTRONA = new global::System.Data.DataColumn("STRONA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTRONA);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID_REKLAMA_STRONA}, true));
                this.columnID_REKLAMA_STRONA.AutoIncrement = true;
                this.columnID_REKLAMA_STRONA.AllowDBNull = false;
                this.columnID_REKLAMA_STRONA.ReadOnly = true;
                this.columnID_REKLAMA_STRONA.Unique = true;
                this.columnReklamaId.AllowDBNull = false;
                this.columnNR_WYDANIA.AllowDBNull = false;
                this.columnID_GRZBIETU.AllowDBNull = false;
                this.columnSTRONA.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARow NewREKLAMA_STRONARow() {
                return ((REKLAMA_STRONARow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new REKLAMA_STRONARow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(REKLAMA_STRONARow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.REKLAMA_STRONARowChanged != null)) {
                    this.REKLAMA_STRONARowChanged(this, new REKLAMA_STRONARowChangeEvent(((REKLAMA_STRONARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.REKLAMA_STRONARowChanging != null)) {
                    this.REKLAMA_STRONARowChanging(this, new REKLAMA_STRONARowChangeEvent(((REKLAMA_STRONARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.REKLAMA_STRONARowDeleted != null)) {
                    this.REKLAMA_STRONARowDeleted(this, new REKLAMA_STRONARowChangeEvent(((REKLAMA_STRONARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.REKLAMA_STRONARowDeleting != null)) {
                    this.REKLAMA_STRONARowDeleting(this, new REKLAMA_STRONARowChangeEvent(((REKLAMA_STRONARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveREKLAMA_STRONARow(REKLAMA_STRONARow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "REKLAMA_STRONADataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KLIENCI_OSOBY_DO_KONTAKTUDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnid_klienci_os_kontakt;
            
            private global::System.Data.DataColumn columncustomerid;
            
            private global::System.Data.DataColumn columnImie_Nazwisko;
            
            private global::System.Data.DataColumn columnstanowisko;
            
            private global::System.Data.DataColumn columnTel;
            
            private global::System.Data.DataColumn columnemail;
            
            private global::System.Data.DataColumn columnopis;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTUDataTable() {
                this.TableName = "KLIENCI_OSOBY_DO_KONTAKTU";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCI_OSOBY_DO_KONTAKTUDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KLIENCI_OSOBY_DO_KONTAKTUDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_klienci_os_kontaktColumn {
                get {
                    return this.columnid_klienci_os_kontakt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn customeridColumn {
                get {
                    return this.columncustomerid;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Imie_NazwiskoColumn {
                get {
                    return this.columnImie_Nazwisko;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn stanowiskoColumn {
                get {
                    return this.columnstanowisko;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TelColumn {
                get {
                    return this.columnTel;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn emailColumn {
                get {
                    return this.columnemail;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn opisColumn {
                get {
                    return this.columnopis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURow this[int index] {
                get {
                    return ((KLIENCI_OSOBY_DO_KONTAKTURow)(this.Rows[index]));
                }
            }
            
            public event KLIENCI_OSOBY_DO_KONTAKTURowChangeEventHandler KLIENCI_OSOBY_DO_KONTAKTURowChanging;
            
            public event KLIENCI_OSOBY_DO_KONTAKTURowChangeEventHandler KLIENCI_OSOBY_DO_KONTAKTURowChanged;
            
            public event KLIENCI_OSOBY_DO_KONTAKTURowChangeEventHandler KLIENCI_OSOBY_DO_KONTAKTURowDeleting;
            
            public event KLIENCI_OSOBY_DO_KONTAKTURowChangeEventHandler KLIENCI_OSOBY_DO_KONTAKTURowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKLIENCI_OSOBY_DO_KONTAKTURow(KLIENCI_OSOBY_DO_KONTAKTURow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURow AddKLIENCI_OSOBY_DO_KONTAKTURow(KLIENCIRow parentKLIENCIRowByKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU, string Imie_Nazwisko, string stanowisko, string Tel, string email, string opis) {
                KLIENCI_OSOBY_DO_KONTAKTURow rowKLIENCI_OSOBY_DO_KONTAKTURow = ((KLIENCI_OSOBY_DO_KONTAKTURow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        Imie_Nazwisko,
                        stanowisko,
                        Tel,
                        email,
                        opis};
                if ((parentKLIENCIRowByKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU != null)) {
                    columnValuesArray[1] = parentKLIENCIRowByKLIENCI_KLIENCI_OSOBY_DO_KONTAKTU[25];
                }
                rowKLIENCI_OSOBY_DO_KONTAKTURow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKLIENCI_OSOBY_DO_KONTAKTURow);
                return rowKLIENCI_OSOBY_DO_KONTAKTURow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURow FindByid_klienci_os_kontakt(int id_klienci_os_kontakt) {
                return ((KLIENCI_OSOBY_DO_KONTAKTURow)(this.Rows.Find(new object[] {
                            id_klienci_os_kontakt})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KLIENCI_OSOBY_DO_KONTAKTUDataTable cln = ((KLIENCI_OSOBY_DO_KONTAKTUDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KLIENCI_OSOBY_DO_KONTAKTUDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnid_klienci_os_kontakt = base.Columns["id_klienci_os_kontakt"];
                this.columncustomerid = base.Columns["customerid"];
                this.columnImie_Nazwisko = base.Columns["Imie_Nazwisko"];
                this.columnstanowisko = base.Columns["stanowisko"];
                this.columnTel = base.Columns["Tel"];
                this.columnemail = base.Columns["email"];
                this.columnopis = base.Columns["opis"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnid_klienci_os_kontakt = new global::System.Data.DataColumn("id_klienci_os_kontakt", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_klienci_os_kontakt);
                this.columncustomerid = new global::System.Data.DataColumn("customerid", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncustomerid);
                this.columnImie_Nazwisko = new global::System.Data.DataColumn("Imie_Nazwisko", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnImie_Nazwisko);
                this.columnstanowisko = new global::System.Data.DataColumn("stanowisko", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnstanowisko);
                this.columnTel = new global::System.Data.DataColumn("Tel", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTel);
                this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnemail);
                this.columnopis = new global::System.Data.DataColumn("opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnopis);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnid_klienci_os_kontakt}, true));
                this.columnid_klienci_os_kontakt.AutoIncrement = true;
                this.columnid_klienci_os_kontakt.AllowDBNull = false;
                this.columnid_klienci_os_kontakt.ReadOnly = true;
                this.columnid_klienci_os_kontakt.Unique = true;
                this.columncustomerid.AllowDBNull = false;
                this.columnImie_Nazwisko.MaxLength = 50;
                this.columnstanowisko.MaxLength = 50;
                this.columnTel.MaxLength = 50;
                this.columnemail.MaxLength = 50;
                this.columnopis.MaxLength = 50;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURow NewKLIENCI_OSOBY_DO_KONTAKTURow() {
                return ((KLIENCI_OSOBY_DO_KONTAKTURow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KLIENCI_OSOBY_DO_KONTAKTURow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KLIENCI_OSOBY_DO_KONTAKTURow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KLIENCI_OSOBY_DO_KONTAKTURowChanged != null)) {
                    this.KLIENCI_OSOBY_DO_KONTAKTURowChanged(this, new KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent(((KLIENCI_OSOBY_DO_KONTAKTURow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KLIENCI_OSOBY_DO_KONTAKTURowChanging != null)) {
                    this.KLIENCI_OSOBY_DO_KONTAKTURowChanging(this, new KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent(((KLIENCI_OSOBY_DO_KONTAKTURow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KLIENCI_OSOBY_DO_KONTAKTURowDeleted != null)) {
                    this.KLIENCI_OSOBY_DO_KONTAKTURowDeleted(this, new KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent(((KLIENCI_OSOBY_DO_KONTAKTURow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KLIENCI_OSOBY_DO_KONTAKTURowDeleting != null)) {
                    this.KLIENCI_OSOBY_DO_KONTAKTURowDeleting(this, new KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent(((KLIENCI_OSOBY_DO_KONTAKTURow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKLIENCI_OSOBY_DO_KONTAKTURow(KLIENCI_OSOBY_DO_KONTAKTURow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "KLIENCI_OSOBY_DO_KONTAKTUDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class PRODUKCJADataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID;
            
            private global::System.Data.DataColumn columnReklamaId;
            
            private global::System.Data.DataColumn columnTYP_PROJEKTU;
            
            private global::System.Data.DataColumn columnNAZWA_ZAMOWIENIA;
            
            private global::System.Data.DataColumn columnSTAN;
            
            private global::System.Data.DataColumn columnAGENT;
            
            private global::System.Data.DataColumn columnDATA_AGENT;
            
            private global::System.Data.DataColumn columnZAMAWIAM_NA;
            
            private global::System.Data.DataColumn columnPRIORYTET;
            
            private global::System.Data.DataColumn columnPRODUKCJA;
            
            private global::System.Data.DataColumn columnDATA_PRODUKCJA;
            
            private global::System.Data.DataColumn columnDTP;
            
            private global::System.Data.DataColumn columnDATA_DTP;
            
            private global::System.Data.DataColumn columnKOREKTA;
            
            private global::System.Data.DataColumn columnDATA_KOREKTA;
            
            private global::System.Data.DataColumn columnDTP_PO_KOR;
            
            private global::System.Data.DataColumn columnDATA_DTP_PO_KOR;
            
            private global::System.Data.DataColumn columnDATA_AKCEPTACJI;
            
            private global::System.Data.DataColumn columnOCENA;
            
            private global::System.Data.DataColumn columnOPIS;
            
            private global::System.Data.DataColumn columnPLIK;
            
            private global::System.Data.DataColumn columnuwagi;
            
            private global::System.Data.DataColumn columnDataEmisji;
            
            private global::System.Data.DataColumn columnModuł;
            
            private global::System.Data.DataColumn columnszer;
            
            private global::System.Data.DataColumn columnwys;
            
            private global::System.Data.DataColumn columnlokalizacja;
            
            private global::System.Data.DataColumn columnkolor;
            
            private global::System.Data.DataColumn columnszkic;
            
            private global::System.Data.DataColumn columnkurier;
            
            private global::System.Data.DataColumn columnpath_to_material;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJADataTable() {
                this.TableName = "PRODUKCJA";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal PRODUKCJADataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected PRODUKCJADataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn IDColumn {
                get {
                    return this.columnID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIdColumn {
                get {
                    return this.columnReklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYP_PROJEKTUColumn {
                get {
                    return this.columnTYP_PROJEKTU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NAZWA_ZAMOWIENIAColumn {
                get {
                    return this.columnNAZWA_ZAMOWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STANColumn {
                get {
                    return this.columnSTAN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AGENTColumn {
                get {
                    return this.columnAGENT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_AGENTColumn {
                get {
                    return this.columnDATA_AGENT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAMAWIAM_NAColumn {
                get {
                    return this.columnZAMAWIAM_NA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PRIORYTETColumn {
                get {
                    return this.columnPRIORYTET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PRODUKCJAColumn {
                get {
                    return this.columnPRODUKCJA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_PRODUKCJAColumn {
                get {
                    return this.columnDATA_PRODUKCJA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DTPColumn {
                get {
                    return this.columnDTP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_DTPColumn {
                get {
                    return this.columnDATA_DTP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOREKTAColumn {
                get {
                    return this.columnKOREKTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_KOREKTAColumn {
                get {
                    return this.columnDATA_KOREKTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DTP_PO_KORColumn {
                get {
                    return this.columnDTP_PO_KOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_DTP_PO_KORColumn {
                get {
                    return this.columnDATA_DTP_PO_KOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_AKCEPTACJIColumn {
                get {
                    return this.columnDATA_AKCEPTACJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn OCENAColumn {
                get {
                    return this.columnOCENA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn OPISColumn {
                get {
                    return this.columnOPIS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PLIKColumn {
                get {
                    return this.columnPLIK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn uwagiColumn {
                get {
                    return this.columnuwagi;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DataEmisjiColumn {
                get {
                    return this.columnDataEmisji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ModułColumn {
                get {
                    return this.columnModuł;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn szerColumn {
                get {
                    return this.columnszer;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wysColumn {
                get {
                    return this.columnwys;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn lokalizacjaColumn {
                get {
                    return this.columnlokalizacja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kolorColumn {
                get {
                    return this.columnkolor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn szkicColumn {
                get {
                    return this.columnszkic;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kurierColumn {
                get {
                    return this.columnkurier;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn path_to_materialColumn {
                get {
                    return this.columnpath_to_material;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARow this[int index] {
                get {
                    return ((PRODUKCJARow)(this.Rows[index]));
                }
            }
            
            public event PRODUKCJARowChangeEventHandler PRODUKCJARowChanging;
            
            public event PRODUKCJARowChangeEventHandler PRODUKCJARowChanged;
            
            public event PRODUKCJARowChangeEventHandler PRODUKCJARowDeleting;
            
            public event PRODUKCJARowChangeEventHandler PRODUKCJARowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddPRODUKCJARow(PRODUKCJARow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARow AddPRODUKCJARow(
                        REKLAMARow parentREKLAMARowByREKLAMA_PRODUKCJA, 
                        string TYP_PROJEKTU, 
                        string NAZWA_ZAMOWIENIA, 
                        string STAN, 
                        string AGENT, 
                        System.DateTime DATA_AGENT, 
                        System.DateTime ZAMAWIAM_NA, 
                        string PRIORYTET, 
                        string PRODUKCJA, 
                        System.DateTime DATA_PRODUKCJA, 
                        string DTP, 
                        System.DateTime DATA_DTP, 
                        string KOREKTA, 
                        System.DateTime DATA_KOREKTA, 
                        string DTP_PO_KOR, 
                        System.DateTime DATA_DTP_PO_KOR, 
                        System.DateTime DATA_AKCEPTACJI, 
                        short OCENA, 
                        string OPIS, 
                        string PLIK, 
                        string uwagi, 
                        string DataEmisji, 
                        string Moduł, 
                        short szer, 
                        short wys, 
                        string lokalizacja, 
                        string kolor, 
                        string szkic, 
                        string kurier, 
                        string path_to_material) {
                PRODUKCJARow rowPRODUKCJARow = ((PRODUKCJARow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        TYP_PROJEKTU,
                        NAZWA_ZAMOWIENIA,
                        STAN,
                        AGENT,
                        DATA_AGENT,
                        ZAMAWIAM_NA,
                        PRIORYTET,
                        PRODUKCJA,
                        DATA_PRODUKCJA,
                        DTP,
                        DATA_DTP,
                        KOREKTA,
                        DATA_KOREKTA,
                        DTP_PO_KOR,
                        DATA_DTP_PO_KOR,
                        DATA_AKCEPTACJI,
                        OCENA,
                        OPIS,
                        PLIK,
                        uwagi,
                        DataEmisji,
                        Moduł,
                        szer,
                        wys,
                        lokalizacja,
                        kolor,
                        szkic,
                        kurier,
                        path_to_material};
                if ((parentREKLAMARowByREKLAMA_PRODUKCJA != null)) {
                    columnValuesArray[1] = parentREKLAMARowByREKLAMA_PRODUKCJA[0];
                }
                rowPRODUKCJARow.ItemArray = columnValuesArray;
                this.Rows.Add(rowPRODUKCJARow);
                return rowPRODUKCJARow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARow FindByID(int ID) {
                return ((PRODUKCJARow)(this.Rows.Find(new object[] {
                            ID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                PRODUKCJADataTable cln = ((PRODUKCJADataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new PRODUKCJADataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID = base.Columns["ID"];
                this.columnReklamaId = base.Columns["ReklamaId"];
                this.columnTYP_PROJEKTU = base.Columns["TYP_PROJEKTU"];
                this.columnNAZWA_ZAMOWIENIA = base.Columns["NAZWA_ZAMOWIENIA"];
                this.columnSTAN = base.Columns["STAN"];
                this.columnAGENT = base.Columns["AGENT"];
                this.columnDATA_AGENT = base.Columns["DATA_AGENT"];
                this.columnZAMAWIAM_NA = base.Columns["ZAMAWIAM_NA"];
                this.columnPRIORYTET = base.Columns["PRIORYTET"];
                this.columnPRODUKCJA = base.Columns["PRODUKCJA"];
                this.columnDATA_PRODUKCJA = base.Columns["DATA_PRODUKCJA"];
                this.columnDTP = base.Columns["DTP"];
                this.columnDATA_DTP = base.Columns["DATA_DTP"];
                this.columnKOREKTA = base.Columns["KOREKTA"];
                this.columnDATA_KOREKTA = base.Columns["DATA_KOREKTA"];
                this.columnDTP_PO_KOR = base.Columns["DTP_PO_KOR"];
                this.columnDATA_DTP_PO_KOR = base.Columns["DATA_DTP_PO_KOR"];
                this.columnDATA_AKCEPTACJI = base.Columns["DATA_AKCEPTACJI"];
                this.columnOCENA = base.Columns["OCENA"];
                this.columnOPIS = base.Columns["OPIS"];
                this.columnPLIK = base.Columns["PLIK"];
                this.columnuwagi = base.Columns["uwagi"];
                this.columnDataEmisji = base.Columns["DataEmisji"];
                this.columnModuł = base.Columns["Moduł"];
                this.columnszer = base.Columns["szer"];
                this.columnwys = base.Columns["wys"];
                this.columnlokalizacja = base.Columns["lokalizacja"];
                this.columnkolor = base.Columns["kolor"];
                this.columnszkic = base.Columns["szkic"];
                this.columnkurier = base.Columns["kurier"];
                this.columnpath_to_material = base.Columns["path_to_material"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnReklamaId = new global::System.Data.DataColumn("ReklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaId);
                this.columnTYP_PROJEKTU = new global::System.Data.DataColumn("TYP_PROJEKTU", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYP_PROJEKTU);
                this.columnNAZWA_ZAMOWIENIA = new global::System.Data.DataColumn("NAZWA_ZAMOWIENIA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNAZWA_ZAMOWIENIA);
                this.columnSTAN = new global::System.Data.DataColumn("STAN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTAN);
                this.columnAGENT = new global::System.Data.DataColumn("AGENT", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAGENT);
                this.columnDATA_AGENT = new global::System.Data.DataColumn("DATA_AGENT", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_AGENT);
                this.columnZAMAWIAM_NA = new global::System.Data.DataColumn("ZAMAWIAM_NA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAMAWIAM_NA);
                this.columnPRIORYTET = new global::System.Data.DataColumn("PRIORYTET", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPRIORYTET);
                this.columnPRODUKCJA = new global::System.Data.DataColumn("PRODUKCJA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPRODUKCJA);
                this.columnDATA_PRODUKCJA = new global::System.Data.DataColumn("DATA_PRODUKCJA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_PRODUKCJA);
                this.columnDTP = new global::System.Data.DataColumn("DTP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDTP);
                this.columnDATA_DTP = new global::System.Data.DataColumn("DATA_DTP", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_DTP);
                this.columnKOREKTA = new global::System.Data.DataColumn("KOREKTA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOREKTA);
                this.columnDATA_KOREKTA = new global::System.Data.DataColumn("DATA_KOREKTA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_KOREKTA);
                this.columnDTP_PO_KOR = new global::System.Data.DataColumn("DTP_PO_KOR", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDTP_PO_KOR);
                this.columnDATA_DTP_PO_KOR = new global::System.Data.DataColumn("DATA_DTP_PO_KOR", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_DTP_PO_KOR);
                this.columnDATA_AKCEPTACJI = new global::System.Data.DataColumn("DATA_AKCEPTACJI", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_AKCEPTACJI);
                this.columnOCENA = new global::System.Data.DataColumn("OCENA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOCENA);
                this.columnOPIS = new global::System.Data.DataColumn("OPIS", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOPIS);
                this.columnPLIK = new global::System.Data.DataColumn("PLIK", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPLIK);
                this.columnuwagi = new global::System.Data.DataColumn("uwagi", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnuwagi);
                this.columnDataEmisji = new global::System.Data.DataColumn("DataEmisji", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDataEmisji);
                this.columnModuł = new global::System.Data.DataColumn("Moduł", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnModuł);
                this.columnszer = new global::System.Data.DataColumn("szer", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnszer);
                this.columnwys = new global::System.Data.DataColumn("wys", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwys);
                this.columnlokalizacja = new global::System.Data.DataColumn("lokalizacja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlokalizacja);
                this.columnkolor = new global::System.Data.DataColumn("kolor", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkolor);
                this.columnszkic = new global::System.Data.DataColumn("szkic", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnszkic);
                this.columnkurier = new global::System.Data.DataColumn("kurier", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkurier);
                this.columnpath_to_material = new global::System.Data.DataColumn("path_to_material", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnpath_to_material);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID}, true));
                this.columnID.AutoIncrement = true;
                this.columnID.AllowDBNull = false;
                this.columnID.ReadOnly = true;
                this.columnID.Unique = true;
                this.columnTYP_PROJEKTU.DefaultValue = ((string)("NOWY"));
                this.columnTYP_PROJEKTU.MaxLength = 50;
                this.columnNAZWA_ZAMOWIENIA.MaxLength = 50;
                this.columnSTAN.AllowDBNull = false;
                this.columnSTAN.DefaultValue = ((string)("ZAMAWIAM"));
                this.columnSTAN.MaxLength = 20;
                this.columnAGENT.MaxLength = 50;
                this.columnPRIORYTET.DefaultValue = ((string)("NORMALNY"));
                this.columnPRIORYTET.MaxLength = 50;
                this.columnPRODUKCJA.MaxLength = 50;
                this.columnDTP.MaxLength = 50;
                this.columnKOREKTA.MaxLength = 50;
                this.columnDTP_PO_KOR.MaxLength = 50;
                this.columnOCENA.AllowDBNull = false;
                this.columnOCENA.DefaultValue = ((short)(0));
                this.columnOPIS.MaxLength = 1024;
                this.columnPLIK.MaxLength = 200;
                this.columnuwagi.MaxLength = 200;
                this.columnDataEmisji.MaxLength = 50;
                this.columnModuł.MaxLength = 20;
                this.columnlokalizacja.MaxLength = 50;
                this.columnkolor.MaxLength = 10;
                this.columnszkic.MaxLength = 50;
                this.columnkurier.MaxLength = 50;
                this.columnpath_to_material.MaxLength = 100;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARow NewPRODUKCJARow() {
                return ((PRODUKCJARow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new PRODUKCJARow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(PRODUKCJARow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.PRODUKCJARowChanged != null)) {
                    this.PRODUKCJARowChanged(this, new PRODUKCJARowChangeEvent(((PRODUKCJARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.PRODUKCJARowChanging != null)) {
                    this.PRODUKCJARowChanging(this, new PRODUKCJARowChangeEvent(((PRODUKCJARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.PRODUKCJARowDeleted != null)) {
                    this.PRODUKCJARowDeleted(this, new PRODUKCJARowChangeEvent(((PRODUKCJARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.PRODUKCJARowDeleting != null)) {
                    this.PRODUKCJARowDeleting(this, new PRODUKCJARowChangeEvent(((PRODUKCJARow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovePRODUKCJARow(PRODUKCJARow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "PRODUKCJADataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class FAKTURYDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnNUMER;
            
            private global::System.Data.DataColumn columnNUMER_ROZ;
            
            private global::System.Data.DataColumn columnNUMER_ROK;
            
            private global::System.Data.DataColumn columnDATA_WYSTAWIENIA;
            
            private global::System.Data.DataColumn columnMIEJSCOWOSC_WYSTAWIENIA;
            
            private global::System.Data.DataColumn columnID_SPRZEDAWCY;
            
            private global::System.Data.DataColumn columnID_NABYWCY;
            
            private global::System.Data.DataColumn columnDATA_SPRZEDAZY;
            
            private global::System.Data.DataColumn columnPODPIS_WYSTAWIL;
            
            private global::System.Data.DataColumn columnPODPIS_ODEBRAL;
            
            private global::System.Data.DataColumn columnopis;
            
            private global::System.Data.DataColumn columnSPOSOB_ZAPLATY;
            
            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
            
            private global::System.Data.DataColumn columnZAPLACONO;
            
            private global::System.Data.DataColumn columnBYL_WYDRUK;
            
            private global::System.Data.DataColumn columnNABYWCA_ADRES;
            
            private global::System.Data.DataColumn columnSPRZEDAWCA_ADRES;
            
            private global::System.Data.DataColumn columnSPRZEDAWCA_NIP;
            
            private global::System.Data.DataColumn columnNABYWCA_NIP;
            
            private global::System.Data.DataColumn columnFAKTURA_TYP;
            
            private global::System.Data.DataColumn columnFAKTURA_PODTYP;
            
            private global::System.Data.DataColumn columnID_KONTA;
            
            private global::System.Data.DataColumn columnEKSPORT;
            
            private global::System.Data.DataColumn columnEXPORTED;
            
            private global::System.Data.DataColumn columnID_TYTUL;
            
            private global::System.Data.DataColumn columnEXPORTED_DATA;
            
            private global::System.Data.DataColumn columnsuma_zaplat;
            
            private global::System.Data.DataColumn columnID_FK_KOR;
            
            private global::System.Data.DataColumn columnzaplata_data;
            
            private global::System.Data.DataColumn columnzaplata_opis;
            
            private global::System.Data.DataColumn columnZaliczka_Brutto;
            
            private global::System.Data.DataColumn columnZaliczka_Data;
            
            private global::System.Data.DataColumn columnwaluta_brutto;
            
            private global::System.Data.DataColumn columnwaluta_miano;
            
            private global::System.Data.DataColumn columnwaluta_kurs;
            
            private global::System.Data.DataColumn columnwaluta_przelicznik;
            
            private global::System.Data.DataColumn columnwaluta_kurs_z_dnia;
            
            private global::System.Data.DataColumn columnwaluta_tabela_nr;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnidFakturyKorekta;
            
            private global::System.Data.DataColumn columnKOREKTA;
            
            private global::System.Data.DataColumn columnidFakturyVAT;
            
            private global::System.Data.DataColumn columnNrTygodnia;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYDataTable() {
                this.TableName = "FAKTURY";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FAKTURYDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected FAKTURYDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMERColumn {
                get {
                    return this.columnNUMER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROZColumn {
                get {
                    return this.columnNUMER_ROZ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROKColumn {
                get {
                    return this.columnNUMER_ROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_WYSTAWIENIAColumn {
                get {
                    return this.columnDATA_WYSTAWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MIEJSCOWOSC_WYSTAWIENIAColumn {
                get {
                    return this.columnMIEJSCOWOSC_WYSTAWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_SPRZEDAWCYColumn {
                get {
                    return this.columnID_SPRZEDAWCY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_NABYWCYColumn {
                get {
                    return this.columnID_NABYWCY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_SPRZEDAZYColumn {
                get {
                    return this.columnDATA_SPRZEDAZY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PODPIS_WYSTAWILColumn {
                get {
                    return this.columnPODPIS_WYSTAWIL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PODPIS_ODEBRALColumn {
                get {
                    return this.columnPODPIS_ODEBRAL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn opisColumn {
                get {
                    return this.columnopis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SPOSOB_ZAPLATYColumn {
                get {
                    return this.columnSPOSOB_ZAPLATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TERMIN_ZAPLATYColumn {
                get {
                    return this.columnTERMIN_ZAPLATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAPLACONOColumn {
                get {
                    return this.columnZAPLACONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BYL_WYDRUKColumn {
                get {
                    return this.columnBYL_WYDRUK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NABYWCA_ADRESColumn {
                get {
                    return this.columnNABYWCA_ADRES;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SPRZEDAWCA_ADRESColumn {
                get {
                    return this.columnSPRZEDAWCA_ADRES;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SPRZEDAWCA_NIPColumn {
                get {
                    return this.columnSPRZEDAWCA_NIP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NABYWCA_NIPColumn {
                get {
                    return this.columnNABYWCA_NIP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_TYPColumn {
                get {
                    return this.columnFAKTURA_TYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_PODTYPColumn {
                get {
                    return this.columnFAKTURA_PODTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_KONTAColumn {
                get {
                    return this.columnID_KONTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EKSPORTColumn {
                get {
                    return this.columnEKSPORT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EXPORTEDColumn {
                get {
                    return this.columnEXPORTED;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_TYTULColumn {
                get {
                    return this.columnID_TYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EXPORTED_DATAColumn {
                get {
                    return this.columnEXPORTED_DATA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn suma_zaplatColumn {
                get {
                    return this.columnsuma_zaplat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FK_KORColumn {
                get {
                    return this.columnID_FK_KOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zaplata_dataColumn {
                get {
                    return this.columnzaplata_data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zaplata_opisColumn {
                get {
                    return this.columnzaplata_opis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zaliczka_BruttoColumn {
                get {
                    return this.columnZaliczka_Brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zaliczka_DataColumn {
                get {
                    return this.columnZaliczka_Data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_bruttoColumn {
                get {
                    return this.columnwaluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_mianoColumn {
                get {
                    return this.columnwaluta_miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kursColumn {
                get {
                    return this.columnwaluta_kurs;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_przelicznikColumn {
                get {
                    return this.columnwaluta_przelicznik;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kurs_z_dniaColumn {
                get {
                    return this.columnwaluta_kurs_z_dnia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_tabela_nrColumn {
                get {
                    return this.columnwaluta_tabela_nr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyKorektaColumn {
                get {
                    return this.columnidFakturyKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOREKTAColumn {
                get {
                    return this.columnKOREKTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyVATColumn {
                get {
                    return this.columnidFakturyVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NrTygodniaColumn {
                get {
                    return this.columnNrTygodnia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow this[int index] {
                get {
                    return ((FAKTURYRow)(this.Rows[index]));
                }
            }
            
            public event FAKTURYRowChangeEventHandler FAKTURYRowChanging;
            
            public event FAKTURYRowChangeEventHandler FAKTURYRowChanged;
            
            public event FAKTURYRowChangeEventHandler FAKTURYRowDeleting;
            
            public event FAKTURYRowChangeEventHandler FAKTURYRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddFAKTURYRow(FAKTURYRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow AddFAKTURYRow(
                        int NUMER, 
                        string NUMER_ROZ, 
                        int NUMER_ROK, 
                        System.DateTime DATA_WYSTAWIENIA, 
                        string MIEJSCOWOSC_WYSTAWIENIA, 
                        int ID_SPRZEDAWCY, 
                        KLIENCIRow parentKLIENCIRowByKLIENCI_FAKTURY, 
                        System.DateTime DATA_SPRZEDAZY, 
                        string PODPIS_WYSTAWIL, 
                        string PODPIS_ODEBRAL, 
                        string opis, 
                        string SPOSOB_ZAPLATY, 
                        System.DateTime TERMIN_ZAPLATY, 
                        bool ZAPLACONO, 
                        bool BYL_WYDRUK, 
                        string NABYWCA_ADRES, 
                        string SPRZEDAWCA_ADRES, 
                        string SPRZEDAWCA_NIP, 
                        string NABYWCA_NIP, 
                        short FAKTURA_TYP, 
                        short FAKTURA_PODTYP, 
                        short ID_KONTA, 
                        bool EKSPORT, 
                        bool EXPORTED, 
                        short ID_TYTUL, 
                        System.DateTime EXPORTED_DATA, 
                        decimal suma_zaplat, 
                        int ID_FK_KOR, 
                        System.DateTime zaplata_data, 
                        string zaplata_opis, 
                        decimal Zaliczka_Brutto, 
                        System.DateTime Zaliczka_Data, 
                        double waluta_brutto, 
                        string waluta_miano, 
                        double waluta_kurs, 
                        int waluta_przelicznik, 
                        System.DateTime waluta_kurs_z_dnia, 
                        string waluta_tabela_nr, 
                        int idZamowienia, 
                        int idFakturyKorekta, 
                        bool KOREKTA, 
                        int idFakturyVAT, 
                        string NrTygodnia) {
                FAKTURYRow rowFAKTURYRow = ((FAKTURYRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        NUMER,
                        NUMER_ROZ,
                        NUMER_ROK,
                        DATA_WYSTAWIENIA,
                        MIEJSCOWOSC_WYSTAWIENIA,
                        ID_SPRZEDAWCY,
                        null,
                        DATA_SPRZEDAZY,
                        PODPIS_WYSTAWIL,
                        PODPIS_ODEBRAL,
                        opis,
                        SPOSOB_ZAPLATY,
                        TERMIN_ZAPLATY,
                        ZAPLACONO,
                        BYL_WYDRUK,
                        NABYWCA_ADRES,
                        SPRZEDAWCA_ADRES,
                        SPRZEDAWCA_NIP,
                        NABYWCA_NIP,
                        FAKTURA_TYP,
                        FAKTURA_PODTYP,
                        ID_KONTA,
                        EKSPORT,
                        EXPORTED,
                        ID_TYTUL,
                        EXPORTED_DATA,
                        suma_zaplat,
                        ID_FK_KOR,
                        zaplata_data,
                        zaplata_opis,
                        Zaliczka_Brutto,
                        Zaliczka_Data,
                        waluta_brutto,
                        waluta_miano,
                        waluta_kurs,
                        waluta_przelicznik,
                        waluta_kurs_z_dnia,
                        waluta_tabela_nr,
                        idZamowienia,
                        idFakturyKorekta,
                        KOREKTA,
                        idFakturyVAT,
                        NrTygodnia};
                if ((parentKLIENCIRowByKLIENCI_FAKTURY != null)) {
                    columnValuesArray[7] = parentKLIENCIRowByKLIENCI_FAKTURY[25];
                }
                rowFAKTURYRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowFAKTURYRow);
                return rowFAKTURYRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow FindByID_FAKTURY(int ID_FAKTURY) {
                return ((FAKTURYRow)(this.Rows.Find(new object[] {
                            ID_FAKTURY})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                FAKTURYDataTable cln = ((FAKTURYDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new FAKTURYDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnNUMER = base.Columns["NUMER"];
                this.columnNUMER_ROZ = base.Columns["NUMER_ROZ"];
                this.columnNUMER_ROK = base.Columns["NUMER_ROK"];
                this.columnDATA_WYSTAWIENIA = base.Columns["DATA_WYSTAWIENIA"];
                this.columnMIEJSCOWOSC_WYSTAWIENIA = base.Columns["MIEJSCOWOSC_WYSTAWIENIA"];
                this.columnID_SPRZEDAWCY = base.Columns["ID_SPRZEDAWCY"];
                this.columnID_NABYWCY = base.Columns["ID_NABYWCY"];
                this.columnDATA_SPRZEDAZY = base.Columns["DATA_SPRZEDAZY"];
                this.columnPODPIS_WYSTAWIL = base.Columns["PODPIS_WYSTAWIL"];
                this.columnPODPIS_ODEBRAL = base.Columns["PODPIS_ODEBRAL"];
                this.columnopis = base.Columns["opis"];
                this.columnSPOSOB_ZAPLATY = base.Columns["SPOSOB_ZAPLATY"];
                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
                this.columnZAPLACONO = base.Columns["ZAPLACONO"];
                this.columnBYL_WYDRUK = base.Columns["BYL_WYDRUK"];
                this.columnNABYWCA_ADRES = base.Columns["NABYWCA_ADRES"];
                this.columnSPRZEDAWCA_ADRES = base.Columns["SPRZEDAWCA_ADRES"];
                this.columnSPRZEDAWCA_NIP = base.Columns["SPRZEDAWCA_NIP"];
                this.columnNABYWCA_NIP = base.Columns["NABYWCA_NIP"];
                this.columnFAKTURA_TYP = base.Columns["FAKTURA_TYP"];
                this.columnFAKTURA_PODTYP = base.Columns["FAKTURA_PODTYP"];
                this.columnID_KONTA = base.Columns["ID_KONTA"];
                this.columnEKSPORT = base.Columns["EKSPORT"];
                this.columnEXPORTED = base.Columns["EXPORTED"];
                this.columnID_TYTUL = base.Columns["ID_TYTUL"];
                this.columnEXPORTED_DATA = base.Columns["EXPORTED_DATA"];
                this.columnsuma_zaplat = base.Columns["suma_zaplat"];
                this.columnID_FK_KOR = base.Columns["ID_FK_KOR"];
                this.columnzaplata_data = base.Columns["zaplata_data"];
                this.columnzaplata_opis = base.Columns["zaplata_opis"];
                this.columnZaliczka_Brutto = base.Columns["Zaliczka_Brutto"];
                this.columnZaliczka_Data = base.Columns["Zaliczka_Data"];
                this.columnwaluta_brutto = base.Columns["waluta_brutto"];
                this.columnwaluta_miano = base.Columns["waluta_miano"];
                this.columnwaluta_kurs = base.Columns["waluta_kurs"];
                this.columnwaluta_przelicznik = base.Columns["waluta_przelicznik"];
                this.columnwaluta_kurs_z_dnia = base.Columns["waluta_kurs_z_dnia"];
                this.columnwaluta_tabela_nr = base.Columns["waluta_tabela_nr"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnidFakturyKorekta = base.Columns["idFakturyKorekta"];
                this.columnKOREKTA = base.Columns["KOREKTA"];
                this.columnidFakturyVAT = base.Columns["idFakturyVAT"];
                this.columnNrTygodnia = base.Columns["NrTygodnia"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER);
                this.columnNUMER_ROZ = new global::System.Data.DataColumn("NUMER_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROZ);
                this.columnNUMER_ROK = new global::System.Data.DataColumn("NUMER_ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROK);
                this.columnDATA_WYSTAWIENIA = new global::System.Data.DataColumn("DATA_WYSTAWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_WYSTAWIENIA);
                this.columnMIEJSCOWOSC_WYSTAWIENIA = new global::System.Data.DataColumn("MIEJSCOWOSC_WYSTAWIENIA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMIEJSCOWOSC_WYSTAWIENIA);
                this.columnID_SPRZEDAWCY = new global::System.Data.DataColumn("ID_SPRZEDAWCY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_SPRZEDAWCY);
                this.columnID_NABYWCY = new global::System.Data.DataColumn("ID_NABYWCY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_NABYWCY);
                this.columnDATA_SPRZEDAZY = new global::System.Data.DataColumn("DATA_SPRZEDAZY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_SPRZEDAZY);
                this.columnPODPIS_WYSTAWIL = new global::System.Data.DataColumn("PODPIS_WYSTAWIL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPODPIS_WYSTAWIL);
                this.columnPODPIS_ODEBRAL = new global::System.Data.DataColumn("PODPIS_ODEBRAL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPODPIS_ODEBRAL);
                this.columnopis = new global::System.Data.DataColumn("opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnopis);
                this.columnSPOSOB_ZAPLATY = new global::System.Data.DataColumn("SPOSOB_ZAPLATY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPOSOB_ZAPLATY);
                this.columnTERMIN_ZAPLATY = new global::System.Data.DataColumn("TERMIN_ZAPLATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTERMIN_ZAPLATY);
                this.columnZAPLACONO = new global::System.Data.DataColumn("ZAPLACONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAPLACONO);
                this.columnBYL_WYDRUK = new global::System.Data.DataColumn("BYL_WYDRUK", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBYL_WYDRUK);
                this.columnNABYWCA_ADRES = new global::System.Data.DataColumn("NABYWCA_ADRES", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNABYWCA_ADRES);
                this.columnSPRZEDAWCA_ADRES = new global::System.Data.DataColumn("SPRZEDAWCA_ADRES", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPRZEDAWCA_ADRES);
                this.columnSPRZEDAWCA_NIP = new global::System.Data.DataColumn("SPRZEDAWCA_NIP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPRZEDAWCA_NIP);
                this.columnNABYWCA_NIP = new global::System.Data.DataColumn("NABYWCA_NIP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNABYWCA_NIP);
                this.columnFAKTURA_TYP = new global::System.Data.DataColumn("FAKTURA_TYP", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_TYP);
                this.columnFAKTURA_PODTYP = new global::System.Data.DataColumn("FAKTURA_PODTYP", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_PODTYP);
                this.columnID_KONTA = new global::System.Data.DataColumn("ID_KONTA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_KONTA);
                this.columnEKSPORT = new global::System.Data.DataColumn("EKSPORT", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEKSPORT);
                this.columnEXPORTED = new global::System.Data.DataColumn("EXPORTED", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEXPORTED);
                this.columnID_TYTUL = new global::System.Data.DataColumn("ID_TYTUL", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_TYTUL);
                this.columnEXPORTED_DATA = new global::System.Data.DataColumn("EXPORTED_DATA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEXPORTED_DATA);
                this.columnsuma_zaplat = new global::System.Data.DataColumn("suma_zaplat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsuma_zaplat);
                this.columnID_FK_KOR = new global::System.Data.DataColumn("ID_FK_KOR", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FK_KOR);
                this.columnzaplata_data = new global::System.Data.DataColumn("zaplata_data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzaplata_data);
                this.columnzaplata_opis = new global::System.Data.DataColumn("zaplata_opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzaplata_opis);
                this.columnZaliczka_Brutto = new global::System.Data.DataColumn("Zaliczka_Brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZaliczka_Brutto);
                this.columnZaliczka_Data = new global::System.Data.DataColumn("Zaliczka_Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZaliczka_Data);
                this.columnwaluta_brutto = new global::System.Data.DataColumn("waluta_brutto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_brutto);
                this.columnwaluta_miano = new global::System.Data.DataColumn("waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_miano);
                this.columnwaluta_kurs = new global::System.Data.DataColumn("waluta_kurs", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs);
                this.columnwaluta_przelicznik = new global::System.Data.DataColumn("waluta_przelicznik", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_przelicznik);
                this.columnwaluta_kurs_z_dnia = new global::System.Data.DataColumn("waluta_kurs_z_dnia", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs_z_dnia);
                this.columnwaluta_tabela_nr = new global::System.Data.DataColumn("waluta_tabela_nr", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_tabela_nr);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnidFakturyKorekta = new global::System.Data.DataColumn("idFakturyKorekta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyKorekta);
                this.columnKOREKTA = new global::System.Data.DataColumn("KOREKTA", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOREKTA);
                this.columnidFakturyVAT = new global::System.Data.DataColumn("idFakturyVAT", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyVAT);
                this.columnNrTygodnia = new global::System.Data.DataColumn("NrTygodnia", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNrTygodnia);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID_FAKTURY}, true));
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint2", new global::System.Data.DataColumn[] {
                                this.columnID_FAKTURY,
                                this.columnidZamowienia}, false));
                this.columnID_FAKTURY.AutoIncrement = true;
                this.columnID_FAKTURY.AllowDBNull = false;
                this.columnID_FAKTURY.ReadOnly = true;
                this.columnID_FAKTURY.Unique = true;
                this.columnNUMER_ROZ.MaxLength = 8;
                this.columnMIEJSCOWOSC_WYSTAWIENIA.MaxLength = 30;
                this.columnPODPIS_WYSTAWIL.MaxLength = 30;
                this.columnPODPIS_ODEBRAL.MaxLength = 30;
                this.columnopis.MaxLength = 1073741823;
                this.columnSPOSOB_ZAPLATY.MaxLength = 20;
                this.columnNABYWCA_ADRES.MaxLength = 1073741823;
                this.columnSPRZEDAWCA_ADRES.MaxLength = 1073741823;
                this.columnSPRZEDAWCA_NIP.MaxLength = 50;
                this.columnNABYWCA_NIP.MaxLength = 50;
                this.columnEKSPORT.AllowDBNull = false;
                this.columnEKSPORT.DefaultValue = ((bool)(false));
                this.columnEXPORTED.AllowDBNull = false;
                this.columnEXPORTED.DefaultValue = ((bool)(false));
                this.columnzaplata_opis.MaxLength = 50;
                this.columnwaluta_miano.MaxLength = 4;
                this.columnwaluta_tabela_nr.MaxLength = 15;
                this.columnKOREKTA.AllowDBNull = false;
                this.columnKOREKTA.DefaultValue = ((bool)(false));
                this.columnNrTygodnia.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow NewFAKTURYRow() {
                return ((FAKTURYRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new FAKTURYRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(FAKTURYRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.FAKTURYRowChanged != null)) {
                    this.FAKTURYRowChanged(this, new FAKTURYRowChangeEvent(((FAKTURYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.FAKTURYRowChanging != null)) {
                    this.FAKTURYRowChanging(this, new FAKTURYRowChangeEvent(((FAKTURYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.FAKTURYRowDeleted != null)) {
                    this.FAKTURYRowDeleted(this, new FAKTURYRowChangeEvent(((FAKTURYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.FAKTURYRowDeleting != null)) {
                    this.FAKTURYRowDeleting(this, new FAKTURYRowChangeEvent(((FAKTURYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveFAKTURYRow(FAKTURYRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "FAKTURYDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class FAKTURA_DETAILSDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_FAKTURA_DETAILS;
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnMIESIAC;
            
            private global::System.Data.DataColumn columnNAZWA_USLUGI;
            
            private global::System.Data.DataColumn columnSYMBOL_SWW;
            
            private global::System.Data.DataColumn columnJM;
            
            private global::System.Data.DataColumn columnILOSC;
            
            private global::System.Data.DataColumn columnCENA_JEDN;
            
            private global::System.Data.DataColumn columnUPUST_PR;
            
            private global::System.Data.DataColumn columnUPUST_NETTO;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnS_VAT;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnTYTUL;
            
            private global::System.Data.DataColumn columnNR_WYDANIA;
            
            private global::System.Data.DataColumn columnTYP;
            
            private global::System.Data.DataColumn columnPODTYP;
            
            private global::System.Data.DataColumn columnwyroznienie;
            
            private global::System.Data.DataColumn columnreklamaId;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSDataTable() {
                this.TableName = "FAKTURA_DETAILS";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FAKTURA_DETAILSDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected FAKTURA_DETAILSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURA_DETAILSColumn {
                get {
                    return this.columnID_FAKTURA_DETAILS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MIESIACColumn {
                get {
                    return this.columnMIESIAC;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NAZWA_USLUGIColumn {
                get {
                    return this.columnNAZWA_USLUGI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_SWWColumn {
                get {
                    return this.columnSYMBOL_SWW;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JMColumn {
                get {
                    return this.columnJM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ILOSCColumn {
                get {
                    return this.columnILOSC;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENA_JEDNColumn {
                get {
                    return this.columnCENA_JEDN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UPUST_PRColumn {
                get {
                    return this.columnUPUST_PR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UPUST_NETTOColumn {
                get {
                    return this.columnUPUST_NETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NETTOColumn {
                get {
                    return this.columnNETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn S_VATColumn {
                get {
                    return this.columnS_VAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VATColumn {
                get {
                    return this.columnVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTULColumn {
                get {
                    return this.columnTYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_WYDANIAColumn {
                get {
                    return this.columnNR_WYDANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYPColumn {
                get {
                    return this.columnTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PODTYPColumn {
                get {
                    return this.columnPODTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienieColumn {
                get {
                    return this.columnwyroznienie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn reklamaIdColumn {
                get {
                    return this.columnreklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRow this[int index] {
                get {
                    return ((FAKTURA_DETAILSRow)(this.Rows[index]));
                }
            }
            
            public event FAKTURA_DETAILSRowChangeEventHandler FAKTURA_DETAILSRowChanging;
            
            public event FAKTURA_DETAILSRowChangeEventHandler FAKTURA_DETAILSRowChanged;
            
            public event FAKTURA_DETAILSRowChangeEventHandler FAKTURA_DETAILSRowDeleting;
            
            public event FAKTURA_DETAILSRowChangeEventHandler FAKTURA_DETAILSRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddFAKTURA_DETAILSRow(FAKTURA_DETAILSRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRow AddFAKTURA_DETAILSRow(
                        FAKTURYRow parentFAKTURYRowByFAKTURY_FAKTURA_DETAILS, 
                        int ROK, 
                        short MIESIAC, 
                        string NAZWA_USLUGI, 
                        string SYMBOL_SWW, 
                        string JM, 
                        int ILOSC, 
                        decimal CENA_JEDN, 
                        double UPUST_PR, 
                        decimal UPUST_NETTO, 
                        decimal NETTO, 
                        double S_VAT, 
                        decimal VAT, 
                        decimal BRUTTO, 
                        short TYTUL, 
                        short NR_WYDANIA, 
                        short TYP, 
                        short PODTYP, 
                        bool wyroznienie, 
                        int reklamaId) {
                FAKTURA_DETAILSRow rowFAKTURA_DETAILSRow = ((FAKTURA_DETAILSRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        ROK,
                        MIESIAC,
                        NAZWA_USLUGI,
                        SYMBOL_SWW,
                        JM,
                        ILOSC,
                        CENA_JEDN,
                        UPUST_PR,
                        UPUST_NETTO,
                        NETTO,
                        S_VAT,
                        VAT,
                        BRUTTO,
                        TYTUL,
                        NR_WYDANIA,
                        TYP,
                        PODTYP,
                        wyroznienie,
                        reklamaId};
                if ((parentFAKTURYRowByFAKTURY_FAKTURA_DETAILS != null)) {
                    columnValuesArray[1] = parentFAKTURYRowByFAKTURY_FAKTURA_DETAILS[0];
                }
                rowFAKTURA_DETAILSRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowFAKTURA_DETAILSRow);
                return rowFAKTURA_DETAILSRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRow FindByID_FAKTURA_DETAILS(int ID_FAKTURA_DETAILS) {
                return ((FAKTURA_DETAILSRow)(this.Rows.Find(new object[] {
                            ID_FAKTURA_DETAILS})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                FAKTURA_DETAILSDataTable cln = ((FAKTURA_DETAILSDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new FAKTURA_DETAILSDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_FAKTURA_DETAILS = base.Columns["ID_FAKTURA_DETAILS"];
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnROK = base.Columns["ROK"];
                this.columnMIESIAC = base.Columns["MIESIAC"];
                this.columnNAZWA_USLUGI = base.Columns["NAZWA_USLUGI"];
                this.columnSYMBOL_SWW = base.Columns["SYMBOL_SWW"];
                this.columnJM = base.Columns["JM"];
                this.columnILOSC = base.Columns["ILOSC"];
                this.columnCENA_JEDN = base.Columns["CENA_JEDN"];
                this.columnUPUST_PR = base.Columns["UPUST_PR"];
                this.columnUPUST_NETTO = base.Columns["UPUST_NETTO"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnS_VAT = base.Columns["S_VAT"];
                this.columnVAT = base.Columns["VAT"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnTYTUL = base.Columns["TYTUL"];
                this.columnNR_WYDANIA = base.Columns["NR_WYDANIA"];
                this.columnTYP = base.Columns["TYP"];
                this.columnPODTYP = base.Columns["PODTYP"];
                this.columnwyroznienie = base.Columns["wyroznienie"];
                this.columnreklamaId = base.Columns["reklamaId"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_FAKTURA_DETAILS = new global::System.Data.DataColumn("ID_FAKTURA_DETAILS", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURA_DETAILS);
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnMIESIAC = new global::System.Data.DataColumn("MIESIAC", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMIESIAC);
                this.columnNAZWA_USLUGI = new global::System.Data.DataColumn("NAZWA_USLUGI", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNAZWA_USLUGI);
                this.columnSYMBOL_SWW = new global::System.Data.DataColumn("SYMBOL_SWW", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_SWW);
                this.columnJM = new global::System.Data.DataColumn("JM", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJM);
                this.columnILOSC = new global::System.Data.DataColumn("ILOSC", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnILOSC);
                this.columnCENA_JEDN = new global::System.Data.DataColumn("CENA_JEDN", typeof(decimal), null, global::System.Data.MappingType.Element);
                this.columnCENA_JEDN.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "CENA_JEDN");
                this.columnCENA_JEDN.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "CENA_JEDNColumn");
                this.columnCENA_JEDN.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "columnCENA_JEDN");
                this.columnCENA_JEDN.ExtendedProperties.Add("Generator_UserColumnName", "CENA_JEDN");
                base.Columns.Add(this.columnCENA_JEDN);
                this.columnUPUST_PR = new global::System.Data.DataColumn("UPUST_PR", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUPUST_PR);
                this.columnUPUST_NETTO = new global::System.Data.DataColumn("UPUST_NETTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUPUST_NETTO);
                this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNETTO);
                this.columnS_VAT = new global::System.Data.DataColumn("S_VAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnS_VAT);
                this.columnVAT = new global::System.Data.DataColumn("VAT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVAT);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnTYTUL = new global::System.Data.DataColumn("TYTUL", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUL);
                this.columnNR_WYDANIA = new global::System.Data.DataColumn("NR_WYDANIA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_WYDANIA);
                this.columnTYP = new global::System.Data.DataColumn("TYP", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYP);
                this.columnPODTYP = new global::System.Data.DataColumn("PODTYP", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPODTYP);
                this.columnwyroznienie = new global::System.Data.DataColumn("wyroznienie", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie);
                this.columnreklamaId = new global::System.Data.DataColumn("reklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnreklamaId);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID_FAKTURA_DETAILS}, true));
                this.columnID_FAKTURA_DETAILS.AutoIncrement = true;
                this.columnID_FAKTURA_DETAILS.AllowDBNull = false;
                this.columnID_FAKTURA_DETAILS.ReadOnly = true;
                this.columnID_FAKTURA_DETAILS.Unique = true;
                this.columnNAZWA_USLUGI.MaxLength = 100;
                this.columnSYMBOL_SWW.MaxLength = 30;
                this.columnJM.MaxLength = 5;
                this.columnwyroznienie.DefaultValue = ((bool)(false));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRow NewFAKTURA_DETAILSRow() {
                return ((FAKTURA_DETAILSRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new FAKTURA_DETAILSRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(FAKTURA_DETAILSRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.FAKTURA_DETAILSRowChanged != null)) {
                    this.FAKTURA_DETAILSRowChanged(this, new FAKTURA_DETAILSRowChangeEvent(((FAKTURA_DETAILSRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.FAKTURA_DETAILSRowChanging != null)) {
                    this.FAKTURA_DETAILSRowChanging(this, new FAKTURA_DETAILSRowChangeEvent(((FAKTURA_DETAILSRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.FAKTURA_DETAILSRowDeleted != null)) {
                    this.FAKTURA_DETAILSRowDeleted(this, new FAKTURA_DETAILSRowChangeEvent(((FAKTURA_DETAILSRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.FAKTURA_DETAILSRowDeleting != null)) {
                    this.FAKTURA_DETAILSRowDeleting(this, new FAKTURA_DETAILSRowChangeEvent(((FAKTURA_DETAILSRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveFAKTURA_DETAILSRow(FAKTURA_DETAILSRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "FAKTURA_DETAILSDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KL_KLIENCIDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_KL_KLIENCI;
            
            private global::System.Data.DataColumn columnID_KL_1;
            
            private global::System.Data.DataColumn columnID_KL_2;
            
            private global::System.Data.DataColumn columnID_KL_3;
            
            private global::System.Data.DataColumn columnCustomerid;
            
            private global::System.Data.DataColumn columnusername;
            
            private global::System.Data.DataColumn columndata;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIDataTable() {
                this.TableName = "KL_KLIENCI";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KL_KLIENCIDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KL_KLIENCIDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_KL_KLIENCIColumn {
                get {
                    return this.columnID_KL_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_KL_1Column {
                get {
                    return this.columnID_KL_1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_KL_2Column {
                get {
                    return this.columnID_KL_2;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_KL_3Column {
                get {
                    return this.columnID_KL_3;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomeridColumn {
                get {
                    return this.columnCustomerid;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn usernameColumn {
                get {
                    return this.columnusername;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataColumn {
                get {
                    return this.columndata;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRow this[int index] {
                get {
                    return ((KL_KLIENCIRow)(this.Rows[index]));
                }
            }
            
            public event KL_KLIENCIRowChangeEventHandler KL_KLIENCIRowChanging;
            
            public event KL_KLIENCIRowChangeEventHandler KL_KLIENCIRowChanged;
            
            public event KL_KLIENCIRowChangeEventHandler KL_KLIENCIRowDeleting;
            
            public event KL_KLIENCIRowChangeEventHandler KL_KLIENCIRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKL_KLIENCIRow(KL_KLIENCIRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRow AddKL_KLIENCIRow(int ID_KL_1, int ID_KL_2, int ID_KL_3, KLIENCIRow parentKLIENCIRowByKLIENCI_KL_KLIENCI, string username, System.DateTime data) {
                KL_KLIENCIRow rowKL_KLIENCIRow = ((KL_KLIENCIRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        ID_KL_1,
                        ID_KL_2,
                        ID_KL_3,
                        null,
                        username,
                        data};
                if ((parentKLIENCIRowByKLIENCI_KL_KLIENCI != null)) {
                    columnValuesArray[4] = parentKLIENCIRowByKLIENCI_KL_KLIENCI[25];
                }
                rowKL_KLIENCIRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKL_KLIENCIRow);
                return rowKL_KLIENCIRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRow FindByID_KL_KLIENCI(int ID_KL_KLIENCI) {
                return ((KL_KLIENCIRow)(this.Rows.Find(new object[] {
                            ID_KL_KLIENCI})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KL_KLIENCIDataTable cln = ((KL_KLIENCIDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KL_KLIENCIDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_KL_KLIENCI = base.Columns["ID_KL_KLIENCI"];
                this.columnID_KL_1 = base.Columns["ID_KL_1"];
                this.columnID_KL_2 = base.Columns["ID_KL_2"];
                this.columnID_KL_3 = base.Columns["ID_KL_3"];
                this.columnCustomerid = base.Columns["Customerid"];
                this.columnusername = base.Columns["username"];
                this.columndata = base.Columns["data"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_KL_KLIENCI = new global::System.Data.DataColumn("ID_KL_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_KL_KLIENCI);
                this.columnID_KL_1 = new global::System.Data.DataColumn("ID_KL_1", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_KL_1);
                this.columnID_KL_2 = new global::System.Data.DataColumn("ID_KL_2", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_KL_2);
                this.columnID_KL_3 = new global::System.Data.DataColumn("ID_KL_3", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_KL_3);
                this.columnCustomerid = new global::System.Data.DataColumn("Customerid", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerid);
                this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnusername);
                this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID_KL_KLIENCI}, true));
                this.columnID_KL_KLIENCI.AutoIncrement = true;
                this.columnID_KL_KLIENCI.AllowDBNull = false;
                this.columnID_KL_KLIENCI.ReadOnly = true;
                this.columnID_KL_KLIENCI.Unique = true;
                this.columnID_KL_1.AllowDBNull = false;
                this.columnID_KL_1.DefaultValue = ((int)(1));
                this.columnID_KL_2.AllowDBNull = false;
                this.columnID_KL_2.DefaultValue = ((int)(2));
                this.columnID_KL_3.AllowDBNull = false;
                this.columnID_KL_3.DefaultValue = ((int)(1));
                this.columnCustomerid.AllowDBNull = false;
                this.columnusername.AllowDBNull = false;
                this.columnusername.MaxLength = 20;
                this.columndata.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRow NewKL_KLIENCIRow() {
                return ((KL_KLIENCIRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KL_KLIENCIRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KL_KLIENCIRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KL_KLIENCIRowChanged != null)) {
                    this.KL_KLIENCIRowChanged(this, new KL_KLIENCIRowChangeEvent(((KL_KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KL_KLIENCIRowChanging != null)) {
                    this.KL_KLIENCIRowChanging(this, new KL_KLIENCIRowChangeEvent(((KL_KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KL_KLIENCIRowDeleted != null)) {
                    this.KL_KLIENCIRowDeleted(this, new KL_KLIENCIRowChangeEvent(((KL_KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KL_KLIENCIRowDeleting != null)) {
                    this.KL_KLIENCIRowDeleting(this, new KL_KLIENCIRowChangeEvent(((KL_KLIENCIRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKL_KLIENCIRow(KL_KLIENCIRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "KL_KLIENCIDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class ReklamyZestawienieDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnReklamaID;
            
            private global::System.Data.DataColumn columnCustomerID;
            
            private global::System.Data.DataColumn columnSYMBOL_AKWIZYTORA;
            
            private global::System.Data.DataColumn columnTYTUŁ;
            
            private global::System.Data.DataColumn columnTYP;
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            private global::System.Data.DataColumn columnNICK_NAME;
            
            private global::System.Data.DataColumn columnDATA_ZAMÓWIENIA;
            
            private global::System.Data.DataColumn columnSZER;
            
            private global::System.Data.DataColumn columnWYS;
            
            private global::System.Data.DataColumn columnMOD_TYP;
            
            private global::System.Data.DataColumn columnSTRONA;
            
            private global::System.Data.DataColumn columnSTR_NR_WT;
            
            private global::System.Data.DataColumn columnSTR_NR_PT;
            
            private global::System.Data.DataColumn columnKROTNOŚĆ;
            
            private global::System.Data.DataColumn columnODSTĘP;
            
            private global::System.Data.DataColumn columnKOLOR;
            
            private global::System.Data.DataColumn columnWSKAZANIE_MIEJSCA;
            
            private global::System.Data.DataColumn columnRABAT;
            
            private global::System.Data.DataColumn columnRABAT_WARTOŚĆ;
            
            private global::System.Data.DataColumn columnZAPŁACONO;
            
            private global::System.Data.DataColumn columnZATWIERDZONO_DO_DRUKU;
            
            private global::System.Data.DataColumn columnDATA_ZAPŁATY;
            
            private global::System.Data.DataColumn columnSYMBOL_POTWIERDZENIA;
            
            private global::System.Data.DataColumn columnRODZAJ_POTWIERDZENIA;
            
            private global::System.Data.DataColumn columnCENA_JEDN;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnPVAT;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnPROCENT_PROWIZJI;
            
            private global::System.Data.DataColumn columnPROWIZJA;
            
            private global::System.Data.DataColumn columnINFO;
            
            private global::System.Data.DataColumn columnFAKTURA_NUMER;
            
            private global::System.Data.DataColumn columnFAKTURA_ID_KONTA;
            
            private global::System.Data.DataColumn columnFAKTURA_DATA_WYSTAWIENIA;
            
            private global::System.Data.DataColumn columnFAKTURA_DATA_SPRZEDAŻY;
            
            private global::System.Data.DataColumn columnFAKTURA_TERMIN_ZAPŁATY;
            
            private global::System.Data.DataColumn columnFAKTURA_FORMA_PŁATNOŚCI;
            
            private global::System.Data.DataColumn columnFAKTURA_WYSTAWIONO;
            
            private global::System.Data.DataColumn columnFAKTURA_RODZAJ;
            
            private global::System.Data.DataColumn columnUSERID;
            
            private global::System.Data.DataColumn columnDATA_OSTATNIEJ_MODYFIKACJI;
            
            private global::System.Data.DataColumn _columnFK_TR;
            
            private global::System.Data.DataColumn columnF_NR;
            
            private global::System.Data.DataColumn columnF_NR_ROZ;
            
            private global::System.Data.DataColumn columnF_NR_ROK;
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnPROMOCJA;
            
            private global::System.Data.DataColumn columnGRZBIET;
            
            private global::System.Data.DataColumn columncustomerId_Sub;
            
            private global::System.Data.DataColumn columnkier_notatka;
            
            private global::System.Data.DataColumn columnkier_zatwierdzil;
            
            private global::System.Data.DataColumn columnzam_notatka;
            
            private global::System.Data.DataColumn columnzablokuj_prowizje;
            
            private global::System.Data.DataColumn columnBrutto_Euro;
            
            private global::System.Data.DataColumn columnZaliczka_Brutto;
            
            private global::System.Data.DataColumn columnZaliczka_Data;
            
            private global::System.Data.DataColumn columnBrutto_Euro_Miano;
            
            private global::System.Data.DataColumn columnwaluta_kurs_z_dnia;
            
            private global::System.Data.DataColumn columnwaluta_kurs;
            
            private global::System.Data.DataColumn columnwaluta_Przelicznik;
            
            private global::System.Data.DataColumn columnwaluta_tabela_nr;
            
            private global::System.Data.DataColumn columnOD;
            
            private global::System.Data.DataColumn columnDO;
            
            private global::System.Data.DataColumn columnrok;
            
            private global::System.Data.DataColumn columnmiesiac;
            
            private global::System.Data.DataColumn column1emisja;
            
            private global::System.Data.DataColumn columnagencja;
            
            private global::System.Data.DataColumn columnCENA_MODUŁU;
            
            private global::System.Data.DataColumn columnCENA_MIN;
            
            private global::System.Data.DataColumn columnCENA;
            
            private global::System.Data.DataColumn columnFirstName;
            
            private global::System.Data.DataColumn columnwyroznienie;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieDataTable() {
                this.TableName = "ReklamyZestawienie";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ReklamyZestawienieDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected ReklamyZestawienieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIDColumn {
                get {
                    return this.columnReklamaID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIDColumn {
                get {
                    return this.columnCustomerID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_AKWIZYTORAColumn {
                get {
                    return this.columnSYMBOL_AKWIZYTORA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTUŁColumn {
                get {
                    return this.columnTYTUŁ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYPColumn {
                get {
                    return this.columnTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NICK_NAMEColumn {
                get {
                    return this.columnNICK_NAME;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_ZAMÓWIENIAColumn {
                get {
                    return this.columnDATA_ZAMÓWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SZERColumn {
                get {
                    return this.columnSZER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WYSColumn {
                get {
                    return this.columnWYS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MOD_TYPColumn {
                get {
                    return this.columnMOD_TYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STRONAColumn {
                get {
                    return this.columnSTRONA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STR_NR_WTColumn {
                get {
                    return this.columnSTR_NR_WT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STR_NR_PTColumn {
                get {
                    return this.columnSTR_NR_PT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KROTNOŚĆColumn {
                get {
                    return this.columnKROTNOŚĆ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ODSTĘPColumn {
                get {
                    return this.columnODSTĘP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOLORColumn {
                get {
                    return this.columnKOLOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WSKAZANIE_MIEJSCAColumn {
                get {
                    return this.columnWSKAZANIE_MIEJSCA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RABATColumn {
                get {
                    return this.columnRABAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RABAT_WARTOŚĆColumn {
                get {
                    return this.columnRABAT_WARTOŚĆ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAPŁACONOColumn {
                get {
                    return this.columnZAPŁACONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZATWIERDZONO_DO_DRUKUColumn {
                get {
                    return this.columnZATWIERDZONO_DO_DRUKU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_ZAPŁATYColumn {
                get {
                    return this.columnDATA_ZAPŁATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_POTWIERDZENIAColumn {
                get {
                    return this.columnSYMBOL_POTWIERDZENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RODZAJ_POTWIERDZENIAColumn {
                get {
                    return this.columnRODZAJ_POTWIERDZENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENA_JEDNColumn {
                get {
                    return this.columnCENA_JEDN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NETTOColumn {
                get {
                    return this.columnNETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VATColumn {
                get {
                    return this.columnVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PVATColumn {
                get {
                    return this.columnPVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PROCENT_PROWIZJIColumn {
                get {
                    return this.columnPROCENT_PROWIZJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PROWIZJAColumn {
                get {
                    return this.columnPROWIZJA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn INFOColumn {
                get {
                    return this.columnINFO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_NUMERColumn {
                get {
                    return this.columnFAKTURA_NUMER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_ID_KONTAColumn {
                get {
                    return this.columnFAKTURA_ID_KONTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_DATA_WYSTAWIENIAColumn {
                get {
                    return this.columnFAKTURA_DATA_WYSTAWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_DATA_SPRZEDAŻYColumn {
                get {
                    return this.columnFAKTURA_DATA_SPRZEDAŻY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_TERMIN_ZAPŁATYColumn {
                get {
                    return this.columnFAKTURA_TERMIN_ZAPŁATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_FORMA_PŁATNOŚCIColumn {
                get {
                    return this.columnFAKTURA_FORMA_PŁATNOŚCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_WYSTAWIONOColumn {
                get {
                    return this.columnFAKTURA_WYSTAWIONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FAKTURA_RODZAJColumn {
                get {
                    return this.columnFAKTURA_RODZAJ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn USERIDColumn {
                get {
                    return this.columnUSERID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_OSTATNIEJ_MODYFIKACJIColumn {
                get {
                    return this.columnDATA_OSTATNIEJ_MODYFIKACJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn _FK_TRColumn {
                get {
                    return this._columnFK_TR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn F_NRColumn {
                get {
                    return this.columnF_NR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn F_NR_ROZColumn {
                get {
                    return this.columnF_NR_ROZ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn F_NR_ROKColumn {
                get {
                    return this.columnF_NR_ROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PROMOCJAColumn {
                get {
                    return this.columnPROMOCJA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GRZBIETColumn {
                get {
                    return this.columnGRZBIET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn customerId_SubColumn {
                get {
                    return this.columncustomerId_Sub;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kier_notatkaColumn {
                get {
                    return this.columnkier_notatka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kier_zatwierdzilColumn {
                get {
                    return this.columnkier_zatwierdzil;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zam_notatkaColumn {
                get {
                    return this.columnzam_notatka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zablokuj_prowizjeColumn {
                get {
                    return this.columnzablokuj_prowizje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Brutto_EuroColumn {
                get {
                    return this.columnBrutto_Euro;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zaliczka_BruttoColumn {
                get {
                    return this.columnZaliczka_Brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zaliczka_DataColumn {
                get {
                    return this.columnZaliczka_Data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Brutto_Euro_MianoColumn {
                get {
                    return this.columnBrutto_Euro_Miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kurs_z_dniaColumn {
                get {
                    return this.columnwaluta_kurs_z_dnia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kursColumn {
                get {
                    return this.columnwaluta_kurs;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_PrzelicznikColumn {
                get {
                    return this.columnwaluta_Przelicznik;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_tabela_nrColumn {
                get {
                    return this.columnwaluta_tabela_nr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ODColumn {
                get {
                    return this.columnOD;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DOColumn {
                get {
                    return this.columnDO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rokColumn {
                get {
                    return this.columnrok;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn miesiacColumn {
                get {
                    return this.columnmiesiac;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn _1emisjaColumn {
                get {
                    return this.column1emisja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agencjaColumn {
                get {
                    return this.columnagencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENA_MODUŁUColumn {
                get {
                    return this.columnCENA_MODUŁU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENA_MINColumn {
                get {
                    return this.columnCENA_MIN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENAColumn {
                get {
                    return this.columnCENA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FirstNameColumn {
                get {
                    return this.columnFirstName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienieColumn {
                get {
                    return this.columnwyroznienie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieRow this[int index] {
                get {
                    return ((ReklamyZestawienieRow)(this.Rows[index]));
                }
            }
            
            public event ReklamyZestawienieRowChangeEventHandler ReklamyZestawienieRowChanging;
            
            public event ReklamyZestawienieRowChangeEventHandler ReklamyZestawienieRowChanged;
            
            public event ReklamyZestawienieRowChangeEventHandler ReklamyZestawienieRowDeleting;
            
            public event ReklamyZestawienieRowChangeEventHandler ReklamyZestawienieRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddReklamyZestawienieRow(ReklamyZestawienieRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieRow AddReklamyZestawienieRow(
                        int CustomerID, 
                        string SYMBOL_AKWIZYTORA, 
                        string TYTUŁ, 
                        string TYP, 
                        string ID_REKLAMY, 
                        string NICK_NAME, 
                        System.DateTime DATA_ZAMÓWIENIA, 
                        double SZER, 
                        double WYS, 
                        string MOD_TYP, 
                        string STRONA, 
                        short STR_NR_WT, 
                        short STR_NR_PT, 
                        short KROTNOŚĆ, 
                        byte ODSTĘP, 
                        string KOLOR, 
                        bool WSKAZANIE_MIEJSCA, 
                        double RABAT, 
                        double RABAT_WARTOŚĆ, 
                        bool ZAPŁACONO, 
                        bool ZATWIERDZONO_DO_DRUKU, 
                        System.DateTime DATA_ZAPŁATY, 
                        string SYMBOL_POTWIERDZENIA, 
                        string RODZAJ_POTWIERDZENIA, 
                        double CENA_JEDN, 
                        double NETTO, 
                        double VAT, 
                        double PVAT, 
                        double BRUTTO, 
                        double PROCENT_PROWIZJI, 
                        double PROWIZJA, 
                        string INFO, 
                        string FAKTURA_NUMER, 
                        int FAKTURA_ID_KONTA, 
                        System.DateTime FAKTURA_DATA_WYSTAWIENIA, 
                        System.DateTime FAKTURA_DATA_SPRZEDAŻY, 
                        System.DateTime FAKTURA_TERMIN_ZAPŁATY, 
                        byte FAKTURA_FORMA_PŁATNOŚCI, 
                        bool FAKTURA_WYSTAWIONO, 
                        string FAKTURA_RODZAJ, 
                        string USERID, 
                        System.DateTime DATA_OSTATNIEJ_MODYFIKACJI, 
                        string _FK_TR, 
                        int F_NR, 
                        string F_NR_ROZ, 
                        int F_NR_ROK, 
                        int ID_FAKTURY, 
                        int PROMOCJA, 
                        int GRZBIET, 
                        int customerId_Sub, 
                        string kier_notatka, 
                        bool kier_zatwierdzil, 
                        string zam_notatka, 
                        bool zablokuj_prowizje, 
                        double Brutto_Euro, 
                        decimal Zaliczka_Brutto, 
                        System.DateTime Zaliczka_Data, 
                        string Brutto_Euro_Miano, 
                        System.DateTime waluta_kurs_z_dnia, 
                        double waluta_kurs, 
                        int waluta_Przelicznik, 
                        string waluta_tabela_nr, 
                        short OD, 
                        short DO, 
                        int rok, 
                        int miesiac, 
                        System.DateTime _1emisja, 
                        string agencja, 
                        double CENA_MODUŁU, 
                        decimal CENA_MIN, 
                        decimal CENA, 
                        string FirstName, 
                        bool wyroznienie, 
                        int idZamowienia) {
                ReklamyZestawienieRow rowReklamyZestawienieRow = ((ReklamyZestawienieRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        CustomerID,
                        SYMBOL_AKWIZYTORA,
                        TYTUŁ,
                        TYP,
                        ID_REKLAMY,
                        NICK_NAME,
                        DATA_ZAMÓWIENIA,
                        SZER,
                        WYS,
                        MOD_TYP,
                        STRONA,
                        STR_NR_WT,
                        STR_NR_PT,
                        KROTNOŚĆ,
                        ODSTĘP,
                        KOLOR,
                        WSKAZANIE_MIEJSCA,
                        RABAT,
                        RABAT_WARTOŚĆ,
                        ZAPŁACONO,
                        ZATWIERDZONO_DO_DRUKU,
                        DATA_ZAPŁATY,
                        SYMBOL_POTWIERDZENIA,
                        RODZAJ_POTWIERDZENIA,
                        CENA_JEDN,
                        NETTO,
                        VAT,
                        PVAT,
                        BRUTTO,
                        PROCENT_PROWIZJI,
                        PROWIZJA,
                        INFO,
                        FAKTURA_NUMER,
                        FAKTURA_ID_KONTA,
                        FAKTURA_DATA_WYSTAWIENIA,
                        FAKTURA_DATA_SPRZEDAŻY,
                        FAKTURA_TERMIN_ZAPŁATY,
                        FAKTURA_FORMA_PŁATNOŚCI,
                        FAKTURA_WYSTAWIONO,
                        FAKTURA_RODZAJ,
                        USERID,
                        DATA_OSTATNIEJ_MODYFIKACJI,
                        _FK_TR,
                        F_NR,
                        F_NR_ROZ,
                        F_NR_ROK,
                        ID_FAKTURY,
                        PROMOCJA,
                        GRZBIET,
                        customerId_Sub,
                        kier_notatka,
                        kier_zatwierdzil,
                        zam_notatka,
                        zablokuj_prowizje,
                        Brutto_Euro,
                        Zaliczka_Brutto,
                        Zaliczka_Data,
                        Brutto_Euro_Miano,
                        waluta_kurs_z_dnia,
                        waluta_kurs,
                        waluta_Przelicznik,
                        waluta_tabela_nr,
                        OD,
                        DO,
                        rok,
                        miesiac,
                        _1emisja,
                        agencja,
                        CENA_MODUŁU,
                        CENA_MIN,
                        CENA,
                        FirstName,
                        wyroznienie,
                        idZamowienia};
                rowReklamyZestawienieRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowReklamyZestawienieRow);
                return rowReklamyZestawienieRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieRow FindByReklamaID(int ReklamaID) {
                return ((ReklamyZestawienieRow)(this.Rows.Find(new object[] {
                            ReklamaID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                ReklamyZestawienieDataTable cln = ((ReklamyZestawienieDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ReklamyZestawienieDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnReklamaID = base.Columns["ReklamaID"];
                this.columnCustomerID = base.Columns["CustomerID"];
                this.columnSYMBOL_AKWIZYTORA = base.Columns["SYMBOL AKWIZYTORA"];
                this.columnTYTUŁ = base.Columns["TYTUŁ"];
                this.columnTYP = base.Columns["TYP"];
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                this.columnNICK_NAME = base.Columns["NICK NAME"];
                this.columnDATA_ZAMÓWIENIA = base.Columns["DATA ZAMÓWIENIA"];
                this.columnSZER = base.Columns["SZER"];
                this.columnWYS = base.Columns["WYS"];
                this.columnMOD_TYP = base.Columns["MOD_TYP"];
                this.columnSTRONA = base.Columns["STRONA"];
                this.columnSTR_NR_WT = base.Columns["STR NR WT"];
                this.columnSTR_NR_PT = base.Columns["STR NR PT"];
                this.columnKROTNOŚĆ = base.Columns["KROTNOŚĆ"];
                this.columnODSTĘP = base.Columns["ODSTĘP"];
                this.columnKOLOR = base.Columns["KOLOR"];
                this.columnWSKAZANIE_MIEJSCA = base.Columns["WSKAZANIE MIEJSCA"];
                this.columnRABAT = base.Columns["RABAT"];
                this.columnRABAT_WARTOŚĆ = base.Columns["RABAT WARTOŚĆ"];
                this.columnZAPŁACONO = base.Columns["ZAPŁACONO"];
                this.columnZATWIERDZONO_DO_DRUKU = base.Columns["ZATWIERDZONO DO DRUKU"];
                this.columnDATA_ZAPŁATY = base.Columns["DATA ZAPŁATY"];
                this.columnSYMBOL_POTWIERDZENIA = base.Columns["SYMBOL POTWIERDZENIA"];
                this.columnRODZAJ_POTWIERDZENIA = base.Columns["RODZAJ POTWIERDZENIA"];
                this.columnCENA_JEDN = base.Columns["CENA JEDN"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnVAT = base.Columns["VAT"];
                this.columnPVAT = base.Columns["PVAT"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnPROCENT_PROWIZJI = base.Columns["PROCENT PROWIZJI"];
                this.columnPROWIZJA = base.Columns["PROWIZJA"];
                this.columnINFO = base.Columns["INFO"];
                this.columnFAKTURA_NUMER = base.Columns["FAKTURA NUMER"];
                this.columnFAKTURA_ID_KONTA = base.Columns["FAKTURA ID KONTA"];
                this.columnFAKTURA_DATA_WYSTAWIENIA = base.Columns["FAKTURA DATA WYSTAWIENIA"];
                this.columnFAKTURA_DATA_SPRZEDAŻY = base.Columns["FAKTURA DATA SPRZEDAŻY"];
                this.columnFAKTURA_TERMIN_ZAPŁATY = base.Columns["FAKTURA TERMIN ZAPŁATY"];
                this.columnFAKTURA_FORMA_PŁATNOŚCI = base.Columns["FAKTURA FORMA PŁATNOŚCI"];
                this.columnFAKTURA_WYSTAWIONO = base.Columns["FAKTURA WYSTAWIONO"];
                this.columnFAKTURA_RODZAJ = base.Columns["FAKTURA RODZAJ"];
                this.columnUSERID = base.Columns["USERID"];
                this.columnDATA_OSTATNIEJ_MODYFIKACJI = base.Columns["DATA OSTATNIEJ MODYFIKACJI"];
                this._columnFK_TR = base.Columns["FK-TR"];
                this.columnF_NR = base.Columns["F_NR"];
                this.columnF_NR_ROZ = base.Columns["F_NR_ROZ"];
                this.columnF_NR_ROK = base.Columns["F_NR_ROK"];
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnPROMOCJA = base.Columns["PROMOCJA"];
                this.columnGRZBIET = base.Columns["GRZBIET"];
                this.columncustomerId_Sub = base.Columns["customerId_Sub"];
                this.columnkier_notatka = base.Columns["kier_notatka"];
                this.columnkier_zatwierdzil = base.Columns["kier_zatwierdzil"];
                this.columnzam_notatka = base.Columns["zam_notatka"];
                this.columnzablokuj_prowizje = base.Columns["zablokuj_prowizje"];
                this.columnBrutto_Euro = base.Columns["Brutto_Euro"];
                this.columnZaliczka_Brutto = base.Columns["Zaliczka_Brutto"];
                this.columnZaliczka_Data = base.Columns["Zaliczka_Data"];
                this.columnBrutto_Euro_Miano = base.Columns["Brutto_Euro_Miano"];
                this.columnwaluta_kurs_z_dnia = base.Columns["waluta_kurs_z_dnia"];
                this.columnwaluta_kurs = base.Columns["waluta_kurs"];
                this.columnwaluta_Przelicznik = base.Columns["waluta_Przelicznik"];
                this.columnwaluta_tabela_nr = base.Columns["waluta_tabela_nr"];
                this.columnOD = base.Columns["OD"];
                this.columnDO = base.Columns["DO"];
                this.columnrok = base.Columns["rok"];
                this.columnmiesiac = base.Columns["miesiac"];
                this.column1emisja = base.Columns["1emisja"];
                this.columnagencja = base.Columns["agencja"];
                this.columnCENA_MODUŁU = base.Columns["CENA MODUŁU"];
                this.columnCENA_MIN = base.Columns["CENA_MIN"];
                this.columnCENA = base.Columns["CENA"];
                this.columnFirstName = base.Columns["FirstName"];
                this.columnwyroznienie = base.Columns["wyroznienie"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnReklamaID = new global::System.Data.DataColumn("ReklamaID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaID);
                this.columnCustomerID = new global::System.Data.DataColumn("CustomerID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerID);
                this.columnSYMBOL_AKWIZYTORA = new global::System.Data.DataColumn("SYMBOL AKWIZYTORA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_AKWIZYTORA);
                this.columnTYTUŁ = new global::System.Data.DataColumn("TYTUŁ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUŁ);
                this.columnTYP = new global::System.Data.DataColumn("TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYP);
                this.columnID_REKLAMY = new global::System.Data.DataColumn("ID REKLAMY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_REKLAMY);
                this.columnNICK_NAME = new global::System.Data.DataColumn("NICK NAME", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNICK_NAME);
                this.columnDATA_ZAMÓWIENIA = new global::System.Data.DataColumn("DATA ZAMÓWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_ZAMÓWIENIA);
                this.columnSZER = new global::System.Data.DataColumn("SZER", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSZER);
                this.columnWYS = new global::System.Data.DataColumn("WYS", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWYS);
                this.columnMOD_TYP = new global::System.Data.DataColumn("MOD_TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMOD_TYP);
                this.columnSTRONA = new global::System.Data.DataColumn("STRONA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTRONA);
                this.columnSTR_NR_WT = new global::System.Data.DataColumn("STR NR WT", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTR_NR_WT);
                this.columnSTR_NR_PT = new global::System.Data.DataColumn("STR NR PT", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTR_NR_PT);
                this.columnKROTNOŚĆ = new global::System.Data.DataColumn("KROTNOŚĆ", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKROTNOŚĆ);
                this.columnODSTĘP = new global::System.Data.DataColumn("ODSTĘP", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnODSTĘP);
                this.columnKOLOR = new global::System.Data.DataColumn("KOLOR", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOLOR);
                this.columnWSKAZANIE_MIEJSCA = new global::System.Data.DataColumn("WSKAZANIE MIEJSCA", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWSKAZANIE_MIEJSCA);
                this.columnRABAT = new global::System.Data.DataColumn("RABAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRABAT);
                this.columnRABAT_WARTOŚĆ = new global::System.Data.DataColumn("RABAT WARTOŚĆ", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRABAT_WARTOŚĆ);
                this.columnZAPŁACONO = new global::System.Data.DataColumn("ZAPŁACONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAPŁACONO);
                this.columnZATWIERDZONO_DO_DRUKU = new global::System.Data.DataColumn("ZATWIERDZONO DO DRUKU", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZATWIERDZONO_DO_DRUKU);
                this.columnDATA_ZAPŁATY = new global::System.Data.DataColumn("DATA ZAPŁATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_ZAPŁATY);
                this.columnSYMBOL_POTWIERDZENIA = new global::System.Data.DataColumn("SYMBOL POTWIERDZENIA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_POTWIERDZENIA);
                this.columnRODZAJ_POTWIERDZENIA = new global::System.Data.DataColumn("RODZAJ POTWIERDZENIA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRODZAJ_POTWIERDZENIA);
                this.columnCENA_JEDN = new global::System.Data.DataColumn("CENA JEDN", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCENA_JEDN);
                this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNETTO);
                this.columnVAT = new global::System.Data.DataColumn("VAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVAT);
                this.columnPVAT = new global::System.Data.DataColumn("PVAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPVAT);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnPROCENT_PROWIZJI = new global::System.Data.DataColumn("PROCENT PROWIZJI", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPROCENT_PROWIZJI);
                this.columnPROWIZJA = new global::System.Data.DataColumn("PROWIZJA", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPROWIZJA);
                this.columnINFO = new global::System.Data.DataColumn("INFO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnINFO);
                this.columnFAKTURA_NUMER = new global::System.Data.DataColumn("FAKTURA NUMER", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_NUMER);
                this.columnFAKTURA_ID_KONTA = new global::System.Data.DataColumn("FAKTURA ID KONTA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_ID_KONTA);
                this.columnFAKTURA_DATA_WYSTAWIENIA = new global::System.Data.DataColumn("FAKTURA DATA WYSTAWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_DATA_WYSTAWIENIA);
                this.columnFAKTURA_DATA_SPRZEDAŻY = new global::System.Data.DataColumn("FAKTURA DATA SPRZEDAŻY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_DATA_SPRZEDAŻY);
                this.columnFAKTURA_TERMIN_ZAPŁATY = new global::System.Data.DataColumn("FAKTURA TERMIN ZAPŁATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_TERMIN_ZAPŁATY);
                this.columnFAKTURA_FORMA_PŁATNOŚCI = new global::System.Data.DataColumn("FAKTURA FORMA PŁATNOŚCI", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_FORMA_PŁATNOŚCI);
                this.columnFAKTURA_WYSTAWIONO = new global::System.Data.DataColumn("FAKTURA WYSTAWIONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_WYSTAWIONO);
                this.columnFAKTURA_RODZAJ = new global::System.Data.DataColumn("FAKTURA RODZAJ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFAKTURA_RODZAJ);
                this.columnUSERID = new global::System.Data.DataColumn("USERID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUSERID);
                this.columnDATA_OSTATNIEJ_MODYFIKACJI = new global::System.Data.DataColumn("DATA OSTATNIEJ MODYFIKACJI", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_OSTATNIEJ_MODYFIKACJI);
                this._columnFK_TR = new global::System.Data.DataColumn("FK-TR", typeof(string), null, global::System.Data.MappingType.Element);
                this._columnFK_TR.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnFK_TR");
                this._columnFK_TR.ExtendedProperties.Add("Generator_UserColumnName", "FK-TR");
                base.Columns.Add(this._columnFK_TR);
                this.columnF_NR = new global::System.Data.DataColumn("F_NR", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF_NR);
                this.columnF_NR_ROZ = new global::System.Data.DataColumn("F_NR_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF_NR_ROZ);
                this.columnF_NR_ROK = new global::System.Data.DataColumn("F_NR_ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF_NR_ROK);
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnPROMOCJA = new global::System.Data.DataColumn("PROMOCJA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPROMOCJA);
                this.columnGRZBIET = new global::System.Data.DataColumn("GRZBIET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGRZBIET);
                this.columncustomerId_Sub = new global::System.Data.DataColumn("customerId_Sub", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncustomerId_Sub);
                this.columnkier_notatka = new global::System.Data.DataColumn("kier_notatka", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkier_notatka);
                this.columnkier_zatwierdzil = new global::System.Data.DataColumn("kier_zatwierdzil", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkier_zatwierdzil);
                this.columnzam_notatka = new global::System.Data.DataColumn("zam_notatka", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzam_notatka);
                this.columnzablokuj_prowizje = new global::System.Data.DataColumn("zablokuj_prowizje", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzablokuj_prowizje);
                this.columnBrutto_Euro = new global::System.Data.DataColumn("Brutto_Euro", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBrutto_Euro);
                this.columnZaliczka_Brutto = new global::System.Data.DataColumn("Zaliczka_Brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZaliczka_Brutto);
                this.columnZaliczka_Data = new global::System.Data.DataColumn("Zaliczka_Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZaliczka_Data);
                this.columnBrutto_Euro_Miano = new global::System.Data.DataColumn("Brutto_Euro_Miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBrutto_Euro_Miano);
                this.columnwaluta_kurs_z_dnia = new global::System.Data.DataColumn("waluta_kurs_z_dnia", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs_z_dnia);
                this.columnwaluta_kurs = new global::System.Data.DataColumn("waluta_kurs", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs);
                this.columnwaluta_Przelicznik = new global::System.Data.DataColumn("waluta_Przelicznik", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_Przelicznik);
                this.columnwaluta_tabela_nr = new global::System.Data.DataColumn("waluta_tabela_nr", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_tabela_nr);
                this.columnOD = new global::System.Data.DataColumn("OD", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOD);
                this.columnDO = new global::System.Data.DataColumn("DO", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDO);
                this.columnrok = new global::System.Data.DataColumn("rok", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrok);
                this.columnmiesiac = new global::System.Data.DataColumn("miesiac", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnmiesiac);
                this.column1emisja = new global::System.Data.DataColumn("1emisja", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                this.column1emisja.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "column1emisja");
                this.column1emisja.ExtendedProperties.Add("Generator_UserColumnName", "1emisja");
                base.Columns.Add(this.column1emisja);
                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagencja);
                this.columnCENA_MODUŁU = new global::System.Data.DataColumn("CENA MODUŁU", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCENA_MODUŁU);
                this.columnCENA_MIN = new global::System.Data.DataColumn("CENA_MIN", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCENA_MIN);
                this.columnCENA = new global::System.Data.DataColumn("CENA", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCENA);
                this.columnFirstName = new global::System.Data.DataColumn("FirstName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFirstName);
                this.columnwyroznienie = new global::System.Data.DataColumn("wyroznienie", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnReklamaID}, true));
                this.columnReklamaID.AutoIncrement = true;
                this.columnReklamaID.AllowDBNull = false;
                this.columnReklamaID.ReadOnly = true;
                this.columnReklamaID.Unique = true;
                this.columnSYMBOL_AKWIZYTORA.MaxLength = 25;
                this.columnTYTUŁ.MaxLength = 5;
                this.columnTYP.MaxLength = 10;
                this.columnID_REKLAMY.MaxLength = 10;
                this.columnNICK_NAME.MaxLength = 50;
                this.columnMOD_TYP.MaxLength = 15;
                this.columnSTRONA.MaxLength = 25;
                this.columnKOLOR.MaxLength = 5;
                this.columnSYMBOL_POTWIERDZENIA.MaxLength = 25;
                this.columnRODZAJ_POTWIERDZENIA.MaxLength = 50;
                this.columnINFO.MaxLength = 1000;
                this.columnFAKTURA_NUMER.MaxLength = 50;
                this.columnFAKTURA_RODZAJ.MaxLength = 50;
                this.columnUSERID.MaxLength = 50;
                this._columnFK_TR.MaxLength = 1;
                this.columnF_NR_ROZ.MaxLength = 8;
                this.columnkier_notatka.MaxLength = 200;
                this.columnzam_notatka.MaxLength = 200;
                this.columnzablokuj_prowizje.AllowDBNull = false;
                this.columnBrutto_Euro_Miano.MaxLength = 4;
                this.columnwaluta_tabela_nr.MaxLength = 15;
                this.columnrok.ReadOnly = true;
                this.columnmiesiac.ReadOnly = true;
                this.columnagencja.MaxLength = 50;
                this.columnCENA_MODUŁU.ReadOnly = true;
                this.columnFirstName.MaxLength = 50;
                this.columnwyroznienie.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieRow NewReklamyZestawienieRow() {
                return ((ReklamyZestawienieRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ReklamyZestawienieRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ReklamyZestawienieRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ReklamyZestawienieRowChanged != null)) {
                    this.ReklamyZestawienieRowChanged(this, new ReklamyZestawienieRowChangeEvent(((ReklamyZestawienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ReklamyZestawienieRowChanging != null)) {
                    this.ReklamyZestawienieRowChanging(this, new ReklamyZestawienieRowChangeEvent(((ReklamyZestawienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ReklamyZestawienieRowDeleted != null)) {
                    this.ReklamyZestawienieRowDeleted(this, new ReklamyZestawienieRowChangeEvent(((ReklamyZestawienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ReklamyZestawienieRowDeleting != null)) {
                    this.ReklamyZestawienieRowDeleting(this, new ReklamyZestawienieRowChangeEvent(((ReklamyZestawienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveReklamyZestawienieRow(ReklamyZestawienieRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "ReklamyZestawienieDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class ListaReklamDoWydaniaNrDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnReklamaID;
            
            private global::System.Data.DataColumn columnTYTUŁ;
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            private global::System.Data.DataColumn columnNICK_NAME;
            
            private global::System.Data.DataColumn columnNR;
            
            private global::System.Data.DataColumn columnZATWIERDZONO_DO_DRUKU;
            
            private global::System.Data.DataColumn columnagencja;
            
            private global::System.Data.DataColumn columnSYMBOL_AKWIZYTORA;
            
            private global::System.Data.DataColumn columnGRZBIET;
            
            private global::System.Data.DataColumn columnmiasto;
            
            private global::System.Data.DataColumn columnjestCDR;
            
            private global::System.Data.DataColumn columnjestEPS;
            
            private global::System.Data.DataColumn columnjestJPG;
            
            private global::System.Data.DataColumn columndatyOK;
            
            private global::System.Data.DataColumn columnstrona_zlecenie;
            
            private global::System.Data.DataColumn columnCustomerID;
            
            private global::System.Data.DataColumn columnstrona;
            
            private global::System.Data.DataColumn columnID;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListaReklamDoWydaniaNrDataTable() {
                this.TableName = "ListaReklamDoWydaniaNr";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ListaReklamDoWydaniaNrDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected ListaReklamDoWydaniaNrDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIDColumn {
                get {
                    return this.columnReklamaID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTUŁColumn {
                get {
                    return this.columnTYTUŁ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NICK_NAMEColumn {
                get {
                    return this.columnNICK_NAME;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NRColumn {
                get {
                    return this.columnNR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZATWIERDZONO_DO_DRUKUColumn {
                get {
                    return this.columnZATWIERDZONO_DO_DRUKU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agencjaColumn {
                get {
                    return this.columnagencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_AKWIZYTORAColumn {
                get {
                    return this.columnSYMBOL_AKWIZYTORA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GRZBIETColumn {
                get {
                    return this.columnGRZBIET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn miastoColumn {
                get {
                    return this.columnmiasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn jestCDRColumn {
                get {
                    return this.columnjestCDR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn jestEPSColumn {
                get {
                    return this.columnjestEPS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn jestJPGColumn {
                get {
                    return this.columnjestJPG;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn datyOKColumn {
                get {
                    return this.columndatyOK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn strona_zlecenieColumn {
                get {
                    return this.columnstrona_zlecenie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIDColumn {
                get {
                    return this.columnCustomerID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn stronaColumn {
                get {
                    return this.columnstrona;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn IDColumn {
                get {
                    return this.columnID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListaReklamDoWydaniaNrRow this[int index] {
                get {
                    return ((ListaReklamDoWydaniaNrRow)(this.Rows[index]));
                }
            }
            
            public event ListaReklamDoWydaniaNrRowChangeEventHandler ListaReklamDoWydaniaNrRowChanging;
            
            public event ListaReklamDoWydaniaNrRowChangeEventHandler ListaReklamDoWydaniaNrRowChanged;
            
            public event ListaReklamDoWydaniaNrRowChangeEventHandler ListaReklamDoWydaniaNrRowDeleting;
            
            public event ListaReklamDoWydaniaNrRowChangeEventHandler ListaReklamDoWydaniaNrRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddListaReklamDoWydaniaNrRow(ListaReklamDoWydaniaNrRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListaReklamDoWydaniaNrRow AddListaReklamDoWydaniaNrRow(
                        string TYTUŁ, 
                        string ID_REKLAMY, 
                        string NICK_NAME, 
                        short NR, 
                        bool ZATWIERDZONO_DO_DRUKU, 
                        string agencja, 
                        string SYMBOL_AKWIZYTORA, 
                        int GRZBIET, 
                        string miasto, 
                        bool jestCDR, 
                        bool jestEPS, 
                        bool jestJPG, 
                        bool datyOK, 
                        short strona_zlecenie, 
                        int CustomerID, 
                        short strona) {
                ListaReklamDoWydaniaNrRow rowListaReklamDoWydaniaNrRow = ((ListaReklamDoWydaniaNrRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        TYTUŁ,
                        ID_REKLAMY,
                        NICK_NAME,
                        NR,
                        ZATWIERDZONO_DO_DRUKU,
                        agencja,
                        SYMBOL_AKWIZYTORA,
                        GRZBIET,
                        miasto,
                        jestCDR,
                        jestEPS,
                        jestJPG,
                        datyOK,
                        strona_zlecenie,
                        CustomerID,
                        strona,
                        null};
                rowListaReklamDoWydaniaNrRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowListaReklamDoWydaniaNrRow);
                return rowListaReklamDoWydaniaNrRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                ListaReklamDoWydaniaNrDataTable cln = ((ListaReklamDoWydaniaNrDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ListaReklamDoWydaniaNrDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnReklamaID = base.Columns["ReklamaID"];
                this.columnTYTUŁ = base.Columns["TYTUŁ"];
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                this.columnNICK_NAME = base.Columns["NICK NAME"];
                this.columnNR = base.Columns["NR"];
                this.columnZATWIERDZONO_DO_DRUKU = base.Columns["ZATWIERDZONO DO DRUKU"];
                this.columnagencja = base.Columns["agencja"];
                this.columnSYMBOL_AKWIZYTORA = base.Columns["SYMBOL AKWIZYTORA"];
                this.columnGRZBIET = base.Columns["GRZBIET"];
                this.columnmiasto = base.Columns["miasto"];
                this.columnjestCDR = base.Columns["jestCDR"];
                this.columnjestEPS = base.Columns["jestEPS"];
                this.columnjestJPG = base.Columns["jestJPG"];
                this.columndatyOK = base.Columns["datyOK"];
                this.columnstrona_zlecenie = base.Columns["strona_zlecenie"];
                this.columnCustomerID = base.Columns["CustomerID"];
                this.columnstrona = base.Columns["strona"];
                this.columnID = base.Columns["ID"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnReklamaID = new global::System.Data.DataColumn("ReklamaID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaID);
                this.columnTYTUŁ = new global::System.Data.DataColumn("TYTUŁ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUŁ);
                this.columnID_REKLAMY = new global::System.Data.DataColumn("ID REKLAMY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_REKLAMY);
                this.columnNICK_NAME = new global::System.Data.DataColumn("NICK NAME", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNICK_NAME);
                this.columnNR = new global::System.Data.DataColumn("NR", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR);
                this.columnZATWIERDZONO_DO_DRUKU = new global::System.Data.DataColumn("ZATWIERDZONO DO DRUKU", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZATWIERDZONO_DO_DRUKU);
                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagencja);
                this.columnSYMBOL_AKWIZYTORA = new global::System.Data.DataColumn("SYMBOL AKWIZYTORA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_AKWIZYTORA);
                this.columnGRZBIET = new global::System.Data.DataColumn("GRZBIET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGRZBIET);
                this.columnmiasto = new global::System.Data.DataColumn("miasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnmiasto);
                this.columnjestCDR = new global::System.Data.DataColumn("jestCDR", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnjestCDR);
                this.columnjestEPS = new global::System.Data.DataColumn("jestEPS", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnjestEPS);
                this.columnjestJPG = new global::System.Data.DataColumn("jestJPG", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnjestJPG);
                this.columndatyOK = new global::System.Data.DataColumn("datyOK", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndatyOK);
                this.columnstrona_zlecenie = new global::System.Data.DataColumn("strona_zlecenie", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnstrona_zlecenie);
                this.columnCustomerID = new global::System.Data.DataColumn("CustomerID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerID);
                this.columnstrona = new global::System.Data.DataColumn("strona", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnstrona);
                this.columnID = new global::System.Data.DataColumn("ID", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnReklamaID.AutoIncrement = true;
                this.columnReklamaID.AllowDBNull = false;
                this.columnReklamaID.ReadOnly = true;
                this.columnTYTUŁ.MaxLength = 5;
                this.columnID_REKLAMY.MaxLength = 10;
                this.columnNICK_NAME.MaxLength = 50;
                this.columnNR.AllowDBNull = false;
                this.columnagencja.MaxLength = 50;
                this.columnSYMBOL_AKWIZYTORA.MaxLength = 25;
                this.columnmiasto.MaxLength = 50;
                this.columnID.AutoIncrement = true;
                this.columnID.AllowDBNull = false;
                this.columnID.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListaReklamDoWydaniaNrRow NewListaReklamDoWydaniaNrRow() {
                return ((ListaReklamDoWydaniaNrRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ListaReklamDoWydaniaNrRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ListaReklamDoWydaniaNrRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ListaReklamDoWydaniaNrRowChanged != null)) {
                    this.ListaReklamDoWydaniaNrRowChanged(this, new ListaReklamDoWydaniaNrRowChangeEvent(((ListaReklamDoWydaniaNrRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ListaReklamDoWydaniaNrRowChanging != null)) {
                    this.ListaReklamDoWydaniaNrRowChanging(this, new ListaReklamDoWydaniaNrRowChangeEvent(((ListaReklamDoWydaniaNrRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ListaReklamDoWydaniaNrRowDeleted != null)) {
                    this.ListaReklamDoWydaniaNrRowDeleted(this, new ListaReklamDoWydaniaNrRowChangeEvent(((ListaReklamDoWydaniaNrRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ListaReklamDoWydaniaNrRowDeleting != null)) {
                    this.ListaReklamDoWydaniaNrRowDeleting(this, new ListaReklamDoWydaniaNrRowChangeEvent(((ListaReklamDoWydaniaNrRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveListaReklamDoWydaniaNrRow(ListaReklamDoWydaniaNrRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "ListaReklamDoWydaniaNrDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KONTAKTYDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnId_kontaktu;
            
            private global::System.Data.DataColumn columncustomerId;
            
            private global::System.Data.DataColumn columnsymbol_agenta;
            
            private global::System.Data.DataColumn columndata;
            
            private global::System.Data.DataColumn columnrodzaj;
            
            private global::System.Data.DataColumn columnopis;
            
            private global::System.Data.DataColumn columnKontaktTypId;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYDataTable() {
                this.TableName = "KONTAKTY";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KONTAKTYDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KONTAKTYDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Id_kontaktuColumn {
                get {
                    return this.columnId_kontaktu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn customerIdColumn {
                get {
                    return this.columncustomerId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn symbol_agentaColumn {
                get {
                    return this.columnsymbol_agenta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataColumn {
                get {
                    return this.columndata;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rodzajColumn {
                get {
                    return this.columnrodzaj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn opisColumn {
                get {
                    return this.columnopis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KontaktTypIdColumn {
                get {
                    return this.columnKontaktTypId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRow this[int index] {
                get {
                    return ((KONTAKTYRow)(this.Rows[index]));
                }
            }
            
            public event KONTAKTYRowChangeEventHandler KONTAKTYRowChanging;
            
            public event KONTAKTYRowChangeEventHandler KONTAKTYRowChanged;
            
            public event KONTAKTYRowChangeEventHandler KONTAKTYRowDeleting;
            
            public event KONTAKTYRowChangeEventHandler KONTAKTYRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKONTAKTYRow(KONTAKTYRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRow AddKONTAKTYRow(KLIENCIRow parentKLIENCIRowByKLIENCI_KONTAKTY, string symbol_agenta, System.DateTime data, string rodzaj, string opis, byte KontaktTypId) {
                KONTAKTYRow rowKONTAKTYRow = ((KONTAKTYRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        symbol_agenta,
                        data,
                        rodzaj,
                        opis,
                        KontaktTypId};
                if ((parentKLIENCIRowByKLIENCI_KONTAKTY != null)) {
                    columnValuesArray[1] = parentKLIENCIRowByKLIENCI_KONTAKTY[25];
                }
                rowKONTAKTYRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKONTAKTYRow);
                return rowKONTAKTYRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRow FindById_kontaktu(int Id_kontaktu) {
                return ((KONTAKTYRow)(this.Rows.Find(new object[] {
                            Id_kontaktu})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KONTAKTYDataTable cln = ((KONTAKTYDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KONTAKTYDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnId_kontaktu = base.Columns["Id_kontaktu"];
                this.columncustomerId = base.Columns["customerId"];
                this.columnsymbol_agenta = base.Columns["symbol_agenta"];
                this.columndata = base.Columns["data"];
                this.columnrodzaj = base.Columns["rodzaj"];
                this.columnopis = base.Columns["opis"];
                this.columnKontaktTypId = base.Columns["KontaktTypId"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnId_kontaktu = new global::System.Data.DataColumn("Id_kontaktu", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnId_kontaktu);
                this.columncustomerId = new global::System.Data.DataColumn("customerId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncustomerId);
                this.columnsymbol_agenta = new global::System.Data.DataColumn("symbol_agenta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsymbol_agenta);
                this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata);
                this.columnrodzaj = new global::System.Data.DataColumn("rodzaj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrodzaj);
                this.columnopis = new global::System.Data.DataColumn("opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnopis);
                this.columnKontaktTypId = new global::System.Data.DataColumn("KontaktTypId", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKontaktTypId);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnId_kontaktu}, true));
                this.columnId_kontaktu.AutoIncrement = true;
                this.columnId_kontaktu.AutoIncrementSeed = -1;
                this.columnId_kontaktu.AutoIncrementStep = -1;
                this.columnId_kontaktu.AllowDBNull = false;
                this.columnId_kontaktu.ReadOnly = true;
                this.columnId_kontaktu.Unique = true;
                this.columncustomerId.AllowDBNull = false;
                this.columnsymbol_agenta.AllowDBNull = false;
                this.columnsymbol_agenta.MaxLength = 50;
                this.columndata.AllowDBNull = false;
                this.columnrodzaj.MaxLength = 10;
                this.columnopis.MaxLength = 255;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRow NewKONTAKTYRow() {
                return ((KONTAKTYRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KONTAKTYRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KONTAKTYRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KONTAKTYRowChanged != null)) {
                    this.KONTAKTYRowChanged(this, new KONTAKTYRowChangeEvent(((KONTAKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KONTAKTYRowChanging != null)) {
                    this.KONTAKTYRowChanging(this, new KONTAKTYRowChangeEvent(((KONTAKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KONTAKTYRowDeleted != null)) {
                    this.KONTAKTYRowDeleted(this, new KONTAKTYRowChangeEvent(((KONTAKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KONTAKTYRowDeleting != null)) {
                    this.KONTAKTYRowDeleting(this, new KONTAKTYRowChangeEvent(((KONTAKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKONTAKTYRow(KONTAKTYRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "KONTAKTYDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class ZestawienieFakturDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_NABYWCY;
            
            private global::System.Data.DataColumn columnNUMER;
            
            private global::System.Data.DataColumn columnNUMER_ROZ;
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnMS;
            
            private global::System.Data.DataColumn columnDATA_SPRZEDAZY;
            
            private global::System.Data.DataColumn columnNR_FK;
            
            private global::System.Data.DataColumn columnTYTUL;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnS_VAT;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnwaluta_brutto;
            
            private global::System.Data.DataColumn columnwaluta_miano;
            
            private global::System.Data.DataColumn columnsuma_zaplat;
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnSymbol;
            
            private global::System.Data.DataColumn columnAgencja;
            
            private global::System.Data.DataColumn columnZAPLACONO;
            
            private global::System.Data.DataColumn columnZAPŁACONO;
            
            private global::System.Data.DataColumn columnDATA_ZAPŁATY;
            
            private global::System.Data.DataColumn columnzaplata_data;
            
            private global::System.Data.DataColumn columnreklamaId;
            
            private global::System.Data.DataColumn columnfirstname;
            
            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
            
            private global::System.Data.DataColumn columnGRZBIET;
            
            private global::System.Data.DataColumn columnID_TYTUL;
            
            private global::System.Data.DataColumn columndataWplaty;
            
            private global::System.Data.DataColumn columnwplata_brutto;
            
            private global::System.Data.DataColumn columnwplata_waluta_brutto;
            
            private global::System.Data.DataColumn columnwplata_waluta_miano;
            
            private global::System.Data.DataColumn columnidWplaty;
            
            private global::System.Data.DataColumn columnKorekta;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZestawienieFakturDataTable() {
                this.TableName = "ZestawienieFaktur";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ZestawienieFakturDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected ZestawienieFakturDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_NABYWCYColumn {
                get {
                    return this.columnID_NABYWCY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMERColumn {
                get {
                    return this.columnNUMER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROZColumn {
                get {
                    return this.columnNUMER_ROZ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MSColumn {
                get {
                    return this.columnMS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_SPRZEDAZYColumn {
                get {
                    return this.columnDATA_SPRZEDAZY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_FKColumn {
                get {
                    return this.columnNR_FK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTULColumn {
                get {
                    return this.columnTYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NETTOColumn {
                get {
                    return this.columnNETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn S_VATColumn {
                get {
                    return this.columnS_VAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VATColumn {
                get {
                    return this.columnVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_bruttoColumn {
                get {
                    return this.columnwaluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_mianoColumn {
                get {
                    return this.columnwaluta_miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn suma_zaplatColumn {
                get {
                    return this.columnsuma_zaplat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SymbolColumn {
                get {
                    return this.columnSymbol;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AgencjaColumn {
                get {
                    return this.columnAgencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAPLACONOColumn {
                get {
                    return this.columnZAPLACONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAPŁACONOColumn {
                get {
                    return this.columnZAPŁACONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_ZAPŁATYColumn {
                get {
                    return this.columnDATA_ZAPŁATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zaplata_dataColumn {
                get {
                    return this.columnzaplata_data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn reklamaIdColumn {
                get {
                    return this.columnreklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn firstnameColumn {
                get {
                    return this.columnfirstname;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TERMIN_ZAPLATYColumn {
                get {
                    return this.columnTERMIN_ZAPLATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GRZBIETColumn {
                get {
                    return this.columnGRZBIET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_TYTULColumn {
                get {
                    return this.columnID_TYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataWplatyColumn {
                get {
                    return this.columndataWplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wplata_bruttoColumn {
                get {
                    return this.columnwplata_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wplata_waluta_bruttoColumn {
                get {
                    return this.columnwplata_waluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wplata_waluta_mianoColumn {
                get {
                    return this.columnwplata_waluta_miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idWplatyColumn {
                get {
                    return this.columnidWplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KorektaColumn {
                get {
                    return this.columnKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZestawienieFakturRow this[int index] {
                get {
                    return ((ZestawienieFakturRow)(this.Rows[index]));
                }
            }
            
            public event ZestawienieFakturRowChangeEventHandler ZestawienieFakturRowChanging;
            
            public event ZestawienieFakturRowChangeEventHandler ZestawienieFakturRowChanged;
            
            public event ZestawienieFakturRowChangeEventHandler ZestawienieFakturRowDeleting;
            
            public event ZestawienieFakturRowChangeEventHandler ZestawienieFakturRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddZestawienieFakturRow(ZestawienieFakturRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZestawienieFakturRow AddZestawienieFakturRow(
                        int ID_NABYWCY, 
                        int NUMER, 
                        string NUMER_ROZ, 
                        int ROK, 
                        int MS, 
                        System.DateTime DATA_SPRZEDAZY, 
                        string NR_FK, 
                        string TYTUL, 
                        decimal NETTO, 
                        double S_VAT, 
                        decimal VAT, 
                        decimal BRUTTO, 
                        double waluta_brutto, 
                        string waluta_miano, 
                        decimal suma_zaplat, 
                        int ID_FAKTURY, 
                        string Symbol, 
                        string Agencja, 
                        bool ZAPLACONO, 
                        bool ZAPŁACONO, 
                        System.DateTime DATA_ZAPŁATY, 
                        System.DateTime zaplata_data, 
                        int reklamaId, 
                        string firstname, 
                        System.DateTime TERMIN_ZAPLATY, 
                        int GRZBIET, 
                        short ID_TYTUL, 
                        System.DateTime dataWplaty, 
                        decimal wplata_brutto, 
                        decimal wplata_waluta_brutto, 
                        string wplata_waluta_miano, 
                        int idWplaty, 
                        bool Korekta, 
                        int idZamowienia) {
                ZestawienieFakturRow rowZestawienieFakturRow = ((ZestawienieFakturRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ID_NABYWCY,
                        NUMER,
                        NUMER_ROZ,
                        ROK,
                        MS,
                        DATA_SPRZEDAZY,
                        NR_FK,
                        TYTUL,
                        NETTO,
                        S_VAT,
                        VAT,
                        BRUTTO,
                        waluta_brutto,
                        waluta_miano,
                        suma_zaplat,
                        ID_FAKTURY,
                        Symbol,
                        Agencja,
                        ZAPLACONO,
                        ZAPŁACONO,
                        DATA_ZAPŁATY,
                        zaplata_data,
                        reklamaId,
                        firstname,
                        TERMIN_ZAPLATY,
                        GRZBIET,
                        ID_TYTUL,
                        dataWplaty,
                        wplata_brutto,
                        wplata_waluta_brutto,
                        wplata_waluta_miano,
                        idWplaty,
                        Korekta,
                        idZamowienia};
                rowZestawienieFakturRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowZestawienieFakturRow);
                return rowZestawienieFakturRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                ZestawienieFakturDataTable cln = ((ZestawienieFakturDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ZestawienieFakturDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_NABYWCY = base.Columns["ID_NABYWCY"];
                this.columnNUMER = base.Columns["NUMER"];
                this.columnNUMER_ROZ = base.Columns["NUMER_ROZ"];
                this.columnROK = base.Columns["ROK"];
                this.columnMS = base.Columns["MS"];
                this.columnDATA_SPRZEDAZY = base.Columns["DATA_SPRZEDAZY"];
                this.columnNR_FK = base.Columns["NR_FK"];
                this.columnTYTUL = base.Columns["TYTUL"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnS_VAT = base.Columns["S_VAT"];
                this.columnVAT = base.Columns["VAT"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnwaluta_brutto = base.Columns["waluta_brutto"];
                this.columnwaluta_miano = base.Columns["waluta_miano"];
                this.columnsuma_zaplat = base.Columns["suma_zaplat"];
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnSymbol = base.Columns["Symbol"];
                this.columnAgencja = base.Columns["Agencja"];
                this.columnZAPLACONO = base.Columns["ZAPLACONO"];
                this.columnZAPŁACONO = base.Columns["ZAPŁACONO"];
                this.columnDATA_ZAPŁATY = base.Columns["DATA ZAPŁATY"];
                this.columnzaplata_data = base.Columns["zaplata_data"];
                this.columnreklamaId = base.Columns["reklamaId"];
                this.columnfirstname = base.Columns["firstname"];
                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
                this.columnGRZBIET = base.Columns["GRZBIET"];
                this.columnID_TYTUL = base.Columns["ID_TYTUL"];
                this.columndataWplaty = base.Columns["dataWplaty"];
                this.columnwplata_brutto = base.Columns["wplata_brutto"];
                this.columnwplata_waluta_brutto = base.Columns["wplata_waluta_brutto"];
                this.columnwplata_waluta_miano = base.Columns["wplata_waluta_miano"];
                this.columnidWplaty = base.Columns["idWplaty"];
                this.columnKorekta = base.Columns["Korekta"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_NABYWCY = new global::System.Data.DataColumn("ID_NABYWCY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_NABYWCY);
                this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER);
                this.columnNUMER_ROZ = new global::System.Data.DataColumn("NUMER_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROZ);
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnMS = new global::System.Data.DataColumn("MS", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMS);
                this.columnDATA_SPRZEDAZY = new global::System.Data.DataColumn("DATA_SPRZEDAZY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_SPRZEDAZY);
                this.columnNR_FK = new global::System.Data.DataColumn("NR_FK", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_FK);
                this.columnTYTUL = new global::System.Data.DataColumn("TYTUL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUL);
                this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNETTO);
                this.columnS_VAT = new global::System.Data.DataColumn("S_VAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnS_VAT);
                this.columnVAT = new global::System.Data.DataColumn("VAT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVAT);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnwaluta_brutto = new global::System.Data.DataColumn("waluta_brutto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_brutto);
                this.columnwaluta_miano = new global::System.Data.DataColumn("waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_miano);
                this.columnsuma_zaplat = new global::System.Data.DataColumn("suma_zaplat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsuma_zaplat);
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnSymbol = new global::System.Data.DataColumn("Symbol", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSymbol);
                this.columnAgencja = new global::System.Data.DataColumn("Agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAgencja);
                this.columnZAPLACONO = new global::System.Data.DataColumn("ZAPLACONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAPLACONO);
                this.columnZAPŁACONO = new global::System.Data.DataColumn("ZAPŁACONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAPŁACONO);
                this.columnDATA_ZAPŁATY = new global::System.Data.DataColumn("DATA ZAPŁATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_ZAPŁATY);
                this.columnzaplata_data = new global::System.Data.DataColumn("zaplata_data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzaplata_data);
                this.columnreklamaId = new global::System.Data.DataColumn("reklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnreklamaId);
                this.columnfirstname = new global::System.Data.DataColumn("firstname", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnfirstname);
                this.columnTERMIN_ZAPLATY = new global::System.Data.DataColumn("TERMIN_ZAPLATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTERMIN_ZAPLATY);
                this.columnGRZBIET = new global::System.Data.DataColumn("GRZBIET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGRZBIET);
                this.columnID_TYTUL = new global::System.Data.DataColumn("ID_TYTUL", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_TYTUL);
                this.columndataWplaty = new global::System.Data.DataColumn("dataWplaty", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataWplaty);
                this.columnwplata_brutto = new global::System.Data.DataColumn("wplata_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwplata_brutto);
                this.columnwplata_waluta_brutto = new global::System.Data.DataColumn("wplata_waluta_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwplata_waluta_brutto);
                this.columnwplata_waluta_miano = new global::System.Data.DataColumn("wplata_waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwplata_waluta_miano);
                this.columnidWplaty = new global::System.Data.DataColumn("idWplaty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidWplaty);
                this.columnKorekta = new global::System.Data.DataColumn("Korekta", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKorekta);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnNUMER_ROZ.MaxLength = 8;
                this.columnNR_FK.MaxLength = 92;
                this.columnTYTUL.MaxLength = 5;
                this.columnwaluta_miano.MaxLength = 4;
                this.columnID_FAKTURY.AllowDBNull = false;
                this.columnSymbol.MaxLength = 50;
                this.columnAgencja.MaxLength = 50;
                this.columnfirstname.MaxLength = 50;
                this.columnwplata_waluta_miano.MaxLength = 4;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZestawienieFakturRow NewZestawienieFakturRow() {
                return ((ZestawienieFakturRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ZestawienieFakturRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ZestawienieFakturRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ZestawienieFakturRowChanged != null)) {
                    this.ZestawienieFakturRowChanged(this, new ZestawienieFakturRowChangeEvent(((ZestawienieFakturRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ZestawienieFakturRowChanging != null)) {
                    this.ZestawienieFakturRowChanging(this, new ZestawienieFakturRowChangeEvent(((ZestawienieFakturRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ZestawienieFakturRowDeleted != null)) {
                    this.ZestawienieFakturRowDeleted(this, new ZestawienieFakturRowChangeEvent(((ZestawienieFakturRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ZestawienieFakturRowDeleting != null)) {
                    this.ZestawienieFakturRowDeleting(this, new ZestawienieFakturRowChangeEvent(((ZestawienieFakturRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveZestawienieFakturRow(ZestawienieFakturRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "ZestawienieFakturDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class PLANDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID;
            
            private global::System.Data.DataColumn columnSYMBOL;
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnMS;
            
            private global::System.Data.DataColumn columnBUDZET;
            
            private global::System.Data.DataColumn columnSPOTKANIA;
            
            private global::System.Data.DataColumn columnKONTAKTY;
            
            private global::System.Data.DataColumn columnN_KLIENCI;
            
            private global::System.Data.DataColumn columnKLIENCI;
            
            private global::System.Data.DataColumn columnREKLAMY;
            
            private global::System.Data.DataColumn columnWIEDZA_O_FIRMIE;
            
            private global::System.Data.DataColumn columnWIEDZA_O_PRODUKCIE;
            
            private global::System.Data.DataColumn columnWIEDZA_O_RYNKU;
            
            private global::System.Data.DataColumn columnWIEDZA_OGOLNO_HANDLOWA;
            
            private global::System.Data.DataColumn columnJAKOSC_ROZMOWY_TEL;
            
            private global::System.Data.DataColumn columnJAKOSC_SPOTKAN;
            
            private global::System.Data.DataColumn columnJAKOSC_KORESPONDENCJI;
            
            private global::System.Data.DataColumn columnJAKOSC_OFERT;
            
            private global::System.Data.DataColumn columnW_BUDZET;
            
            private global::System.Data.DataColumn columnW_SPOTKANIA;
            
            private global::System.Data.DataColumn columnW_TEL;
            
            private global::System.Data.DataColumn columnW_EMAIL;
            
            private global::System.Data.DataColumn columnW_LIST;
            
            private global::System.Data.DataColumn columnW_FAX;
            
            private global::System.Data.DataColumn columnW_N_KLIENCI;
            
            private global::System.Data.DataColumn columnW_KLIENCI;
            
            private global::System.Data.DataColumn columnW_REKLAMY;
            
            private global::System.Data.DataColumn columnEP;
            
            private global::System.Data.DataColumn columnESP;
            
            private global::System.Data.DataColumn columnEPR;
            
            private global::System.Data.DataColumn columnEPK;
            
            private global::System.Data.DataColumn columnECP;
            
            private global::System.Data.DataColumn columnELK;
            
            private global::System.Data.DataColumn columnQO;
            
            private global::System.Data.DataColumn columnWH;
            
            private global::System.Data.DataColumn columnOCENA;
            
            private global::System.Data.DataColumn columnPR_PROWIZJI;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANDataTable() {
                this.TableName = "PLAN";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal PLANDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected PLANDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn IDColumn {
                get {
                    return this.columnID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOLColumn {
                get {
                    return this.columnSYMBOL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MSColumn {
                get {
                    return this.columnMS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BUDZETColumn {
                get {
                    return this.columnBUDZET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SPOTKANIAColumn {
                get {
                    return this.columnSPOTKANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KONTAKTYColumn {
                get {
                    return this.columnKONTAKTY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn N_KLIENCIColumn {
                get {
                    return this.columnN_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KLIENCIColumn {
                get {
                    return this.columnKLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn REKLAMYColumn {
                get {
                    return this.columnREKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WIEDZA_O_FIRMIEColumn {
                get {
                    return this.columnWIEDZA_O_FIRMIE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WIEDZA_O_PRODUKCIEColumn {
                get {
                    return this.columnWIEDZA_O_PRODUKCIE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WIEDZA_O_RYNKUColumn {
                get {
                    return this.columnWIEDZA_O_RYNKU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WIEDZA_OGOLNO_HANDLOWAColumn {
                get {
                    return this.columnWIEDZA_OGOLNO_HANDLOWA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JAKOSC_ROZMOWY_TELColumn {
                get {
                    return this.columnJAKOSC_ROZMOWY_TEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JAKOSC_SPOTKANColumn {
                get {
                    return this.columnJAKOSC_SPOTKAN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JAKOSC_KORESPONDENCJIColumn {
                get {
                    return this.columnJAKOSC_KORESPONDENCJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JAKOSC_OFERTColumn {
                get {
                    return this.columnJAKOSC_OFERT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_BUDZETColumn {
                get {
                    return this.columnW_BUDZET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_SPOTKANIAColumn {
                get {
                    return this.columnW_SPOTKANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_TELColumn {
                get {
                    return this.columnW_TEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_EMAILColumn {
                get {
                    return this.columnW_EMAIL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_LISTColumn {
                get {
                    return this.columnW_LIST;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_FAXColumn {
                get {
                    return this.columnW_FAX;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_N_KLIENCIColumn {
                get {
                    return this.columnW_N_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_KLIENCIColumn {
                get {
                    return this.columnW_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_REKLAMYColumn {
                get {
                    return this.columnW_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EPColumn {
                get {
                    return this.columnEP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ESPColumn {
                get {
                    return this.columnESP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EPRColumn {
                get {
                    return this.columnEPR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn EPKColumn {
                get {
                    return this.columnEPK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ECPColumn {
                get {
                    return this.columnECP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ELKColumn {
                get {
                    return this.columnELK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn QOColumn {
                get {
                    return this.columnQO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WHColumn {
                get {
                    return this.columnWH;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn OCENAColumn {
                get {
                    return this.columnOCENA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PR_PROWIZJIColumn {
                get {
                    return this.columnPR_PROWIZJI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANRow this[int index] {
                get {
                    return ((PLANRow)(this.Rows[index]));
                }
            }
            
            public event PLANRowChangeEventHandler PLANRowChanging;
            
            public event PLANRowChangeEventHandler PLANRowChanged;
            
            public event PLANRowChangeEventHandler PLANRowDeleting;
            
            public event PLANRowChangeEventHandler PLANRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddPLANRow(PLANRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANRow AddPLANRow(
                        string SYMBOL, 
                        short ROK, 
                        short MS, 
                        int BUDZET, 
                        int SPOTKANIA, 
                        int KONTAKTY, 
                        int N_KLIENCI, 
                        int KLIENCI, 
                        int REKLAMY, 
                        short WIEDZA_O_FIRMIE, 
                        short WIEDZA_O_PRODUKCIE, 
                        short WIEDZA_O_RYNKU, 
                        short WIEDZA_OGOLNO_HANDLOWA, 
                        short JAKOSC_ROZMOWY_TEL, 
                        short JAKOSC_SPOTKAN, 
                        short JAKOSC_KORESPONDENCJI, 
                        short JAKOSC_OFERT, 
                        int W_BUDZET, 
                        int W_SPOTKANIA, 
                        int W_TEL, 
                        int W_EMAIL, 
                        int W_LIST, 
                        int W_FAX, 
                        int W_N_KLIENCI, 
                        int W_KLIENCI, 
                        int W_REKLAMY, 
                        float EP, 
                        float ESP, 
                        float EPR, 
                        float EPK, 
                        float ECP, 
                        float ELK, 
                        float QO, 
                        float WH, 
                        float OCENA, 
                        float PR_PROWIZJI) {
                PLANRow rowPLANRow = ((PLANRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        SYMBOL,
                        ROK,
                        MS,
                        BUDZET,
                        SPOTKANIA,
                        KONTAKTY,
                        N_KLIENCI,
                        KLIENCI,
                        REKLAMY,
                        WIEDZA_O_FIRMIE,
                        WIEDZA_O_PRODUKCIE,
                        WIEDZA_O_RYNKU,
                        WIEDZA_OGOLNO_HANDLOWA,
                        JAKOSC_ROZMOWY_TEL,
                        JAKOSC_SPOTKAN,
                        JAKOSC_KORESPONDENCJI,
                        JAKOSC_OFERT,
                        W_BUDZET,
                        W_SPOTKANIA,
                        W_TEL,
                        W_EMAIL,
                        W_LIST,
                        W_FAX,
                        W_N_KLIENCI,
                        W_KLIENCI,
                        W_REKLAMY,
                        EP,
                        ESP,
                        EPR,
                        EPK,
                        ECP,
                        ELK,
                        QO,
                        WH,
                        OCENA,
                        PR_PROWIZJI};
                rowPLANRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowPLANRow);
                return rowPLANRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANRow FindByID(int ID) {
                return ((PLANRow)(this.Rows.Find(new object[] {
                            ID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                PLANDataTable cln = ((PLANDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new PLANDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID = base.Columns["ID"];
                this.columnSYMBOL = base.Columns["SYMBOL"];
                this.columnROK = base.Columns["ROK"];
                this.columnMS = base.Columns["MS"];
                this.columnBUDZET = base.Columns["BUDZET"];
                this.columnSPOTKANIA = base.Columns["SPOTKANIA"];
                this.columnKONTAKTY = base.Columns["KONTAKTY"];
                this.columnN_KLIENCI = base.Columns["N_KLIENCI"];
                this.columnKLIENCI = base.Columns["KLIENCI"];
                this.columnREKLAMY = base.Columns["REKLAMY"];
                this.columnWIEDZA_O_FIRMIE = base.Columns["WIEDZA_O_FIRMIE"];
                this.columnWIEDZA_O_PRODUKCIE = base.Columns["WIEDZA_O_PRODUKCIE"];
                this.columnWIEDZA_O_RYNKU = base.Columns["WIEDZA_O_RYNKU"];
                this.columnWIEDZA_OGOLNO_HANDLOWA = base.Columns["WIEDZA_OGOLNO_HANDLOWA"];
                this.columnJAKOSC_ROZMOWY_TEL = base.Columns["JAKOSC_ROZMOWY_TEL"];
                this.columnJAKOSC_SPOTKAN = base.Columns["JAKOSC_SPOTKAN"];
                this.columnJAKOSC_KORESPONDENCJI = base.Columns["JAKOSC_KORESPONDENCJI"];
                this.columnJAKOSC_OFERT = base.Columns["JAKOSC_OFERT"];
                this.columnW_BUDZET = base.Columns["W_BUDZET"];
                this.columnW_SPOTKANIA = base.Columns["W_SPOTKANIA"];
                this.columnW_TEL = base.Columns["W_TEL"];
                this.columnW_EMAIL = base.Columns["W_EMAIL"];
                this.columnW_LIST = base.Columns["W_LIST"];
                this.columnW_FAX = base.Columns["W_FAX"];
                this.columnW_N_KLIENCI = base.Columns["W_N_KLIENCI"];
                this.columnW_KLIENCI = base.Columns["W_KLIENCI"];
                this.columnW_REKLAMY = base.Columns["W_REKLAMY"];
                this.columnEP = base.Columns["EP"];
                this.columnESP = base.Columns["ESP"];
                this.columnEPR = base.Columns["EPR"];
                this.columnEPK = base.Columns["EPK"];
                this.columnECP = base.Columns["ECP"];
                this.columnELK = base.Columns["ELK"];
                this.columnQO = base.Columns["QO"];
                this.columnWH = base.Columns["WH"];
                this.columnOCENA = base.Columns["OCENA"];
                this.columnPR_PROWIZJI = base.Columns["PR_PROWIZJI"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnSYMBOL = new global::System.Data.DataColumn("SYMBOL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL);
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnMS = new global::System.Data.DataColumn("MS", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMS);
                this.columnBUDZET = new global::System.Data.DataColumn("BUDZET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBUDZET);
                this.columnSPOTKANIA = new global::System.Data.DataColumn("SPOTKANIA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPOTKANIA);
                this.columnKONTAKTY = new global::System.Data.DataColumn("KONTAKTY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKONTAKTY);
                this.columnN_KLIENCI = new global::System.Data.DataColumn("N_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnN_KLIENCI);
                this.columnKLIENCI = new global::System.Data.DataColumn("KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKLIENCI);
                this.columnREKLAMY = new global::System.Data.DataColumn("REKLAMY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnREKLAMY);
                this.columnWIEDZA_O_FIRMIE = new global::System.Data.DataColumn("WIEDZA_O_FIRMIE", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWIEDZA_O_FIRMIE);
                this.columnWIEDZA_O_PRODUKCIE = new global::System.Data.DataColumn("WIEDZA_O_PRODUKCIE", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWIEDZA_O_PRODUKCIE);
                this.columnWIEDZA_O_RYNKU = new global::System.Data.DataColumn("WIEDZA_O_RYNKU", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWIEDZA_O_RYNKU);
                this.columnWIEDZA_OGOLNO_HANDLOWA = new global::System.Data.DataColumn("WIEDZA_OGOLNO_HANDLOWA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWIEDZA_OGOLNO_HANDLOWA);
                this.columnJAKOSC_ROZMOWY_TEL = new global::System.Data.DataColumn("JAKOSC_ROZMOWY_TEL", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJAKOSC_ROZMOWY_TEL);
                this.columnJAKOSC_SPOTKAN = new global::System.Data.DataColumn("JAKOSC_SPOTKAN", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJAKOSC_SPOTKAN);
                this.columnJAKOSC_KORESPONDENCJI = new global::System.Data.DataColumn("JAKOSC_KORESPONDENCJI", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJAKOSC_KORESPONDENCJI);
                this.columnJAKOSC_OFERT = new global::System.Data.DataColumn("JAKOSC_OFERT", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJAKOSC_OFERT);
                this.columnW_BUDZET = new global::System.Data.DataColumn("W_BUDZET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_BUDZET);
                this.columnW_SPOTKANIA = new global::System.Data.DataColumn("W_SPOTKANIA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_SPOTKANIA);
                this.columnW_TEL = new global::System.Data.DataColumn("W_TEL", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_TEL);
                this.columnW_EMAIL = new global::System.Data.DataColumn("W_EMAIL", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_EMAIL);
                this.columnW_LIST = new global::System.Data.DataColumn("W_LIST", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_LIST);
                this.columnW_FAX = new global::System.Data.DataColumn("W_FAX", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_FAX);
                this.columnW_N_KLIENCI = new global::System.Data.DataColumn("W_N_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_N_KLIENCI);
                this.columnW_KLIENCI = new global::System.Data.DataColumn("W_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_KLIENCI);
                this.columnW_REKLAMY = new global::System.Data.DataColumn("W_REKLAMY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_REKLAMY);
                this.columnEP = new global::System.Data.DataColumn("EP", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEP);
                this.columnESP = new global::System.Data.DataColumn("ESP", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnESP);
                this.columnEPR = new global::System.Data.DataColumn("EPR", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEPR);
                this.columnEPK = new global::System.Data.DataColumn("EPK", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnEPK);
                this.columnECP = new global::System.Data.DataColumn("ECP", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnECP);
                this.columnELK = new global::System.Data.DataColumn("ELK", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnELK);
                this.columnQO = new global::System.Data.DataColumn("QO", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnQO);
                this.columnWH = new global::System.Data.DataColumn("WH", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWH);
                this.columnOCENA = new global::System.Data.DataColumn("OCENA", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOCENA);
                this.columnPR_PROWIZJI = new global::System.Data.DataColumn("PR_PROWIZJI", typeof(float), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPR_PROWIZJI);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID}, true));
                this.columnID.AutoIncrement = true;
                this.columnID.AllowDBNull = false;
                this.columnID.ReadOnly = true;
                this.columnID.Unique = true;
                this.columnSYMBOL.AllowDBNull = false;
                this.columnSYMBOL.MaxLength = 50;
                this.columnROK.AllowDBNull = false;
                this.columnMS.AllowDBNull = false;
                this.columnBUDZET.AllowDBNull = false;
                this.columnBUDZET.DefaultValue = ((int)(0));
                this.columnSPOTKANIA.AllowDBNull = false;
                this.columnSPOTKANIA.DefaultValue = ((int)(0));
                this.columnKONTAKTY.AllowDBNull = false;
                this.columnKONTAKTY.DefaultValue = ((int)(0));
                this.columnN_KLIENCI.AllowDBNull = false;
                this.columnN_KLIENCI.DefaultValue = ((int)(0));
                this.columnKLIENCI.AllowDBNull = false;
                this.columnKLIENCI.DefaultValue = ((int)(0));
                this.columnREKLAMY.AllowDBNull = false;
                this.columnREKLAMY.DefaultValue = ((int)(0));
                this.columnWIEDZA_O_FIRMIE.AllowDBNull = false;
                this.columnWIEDZA_O_FIRMIE.DefaultValue = ((short)(0));
                this.columnWIEDZA_O_PRODUKCIE.AllowDBNull = false;
                this.columnWIEDZA_O_PRODUKCIE.DefaultValue = ((short)(0));
                this.columnWIEDZA_O_RYNKU.AllowDBNull = false;
                this.columnWIEDZA_O_RYNKU.DefaultValue = ((short)(0));
                this.columnWIEDZA_OGOLNO_HANDLOWA.AllowDBNull = false;
                this.columnWIEDZA_OGOLNO_HANDLOWA.DefaultValue = ((short)(0));
                this.columnJAKOSC_ROZMOWY_TEL.AllowDBNull = false;
                this.columnJAKOSC_ROZMOWY_TEL.DefaultValue = ((short)(0));
                this.columnJAKOSC_SPOTKAN.AllowDBNull = false;
                this.columnJAKOSC_SPOTKAN.DefaultValue = ((short)(0));
                this.columnJAKOSC_KORESPONDENCJI.AllowDBNull = false;
                this.columnJAKOSC_KORESPONDENCJI.DefaultValue = ((short)(0));
                this.columnJAKOSC_OFERT.AllowDBNull = false;
                this.columnJAKOSC_OFERT.DefaultValue = ((short)(0));
                this.columnW_BUDZET.AllowDBNull = false;
                this.columnW_BUDZET.DefaultValue = ((int)(0));
                this.columnW_SPOTKANIA.AllowDBNull = false;
                this.columnW_SPOTKANIA.DefaultValue = ((int)(0));
                this.columnW_TEL.AllowDBNull = false;
                this.columnW_TEL.DefaultValue = ((int)(0));
                this.columnW_EMAIL.AllowDBNull = false;
                this.columnW_EMAIL.DefaultValue = ((int)(0));
                this.columnW_LIST.AllowDBNull = false;
                this.columnW_LIST.DefaultValue = ((int)(0));
                this.columnW_FAX.AllowDBNull = false;
                this.columnW_FAX.DefaultValue = ((int)(0));
                this.columnW_N_KLIENCI.AllowDBNull = false;
                this.columnW_N_KLIENCI.DefaultValue = ((int)(0));
                this.columnW_KLIENCI.AllowDBNull = false;
                this.columnW_KLIENCI.DefaultValue = ((int)(0));
                this.columnW_REKLAMY.AllowDBNull = false;
                this.columnW_REKLAMY.DefaultValue = ((int)(0));
                this.columnEP.AllowDBNull = false;
                this.columnEP.DefaultValue = ((float)(0F));
                this.columnESP.AllowDBNull = false;
                this.columnESP.DefaultValue = ((float)(0F));
                this.columnEPR.AllowDBNull = false;
                this.columnEPR.DefaultValue = ((float)(0F));
                this.columnEPK.AllowDBNull = false;
                this.columnEPK.DefaultValue = ((float)(0F));
                this.columnECP.AllowDBNull = false;
                this.columnECP.DefaultValue = ((float)(0F));
                this.columnELK.AllowDBNull = false;
                this.columnELK.DefaultValue = ((float)(0F));
                this.columnQO.AllowDBNull = false;
                this.columnQO.DefaultValue = ((float)(0F));
                this.columnWH.AllowDBNull = false;
                this.columnWH.DefaultValue = ((float)(0F));
                this.columnOCENA.AllowDBNull = false;
                this.columnOCENA.DefaultValue = ((float)(0F));
                this.columnPR_PROWIZJI.AllowDBNull = false;
                this.columnPR_PROWIZJI.DefaultValue = ((float)(0F));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANRow NewPLANRow() {
                return ((PLANRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new PLANRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(PLANRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.PLANRowChanged != null)) {
                    this.PLANRowChanged(this, new PLANRowChangeEvent(((PLANRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.PLANRowChanging != null)) {
                    this.PLANRowChanging(this, new PLANRowChangeEvent(((PLANRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.PLANRowDeleted != null)) {
                    this.PLANRowDeleted(this, new PLANRowChangeEvent(((PLANRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.PLANRowDeleting != null)) {
                    this.PLANRowDeleting(this, new PLANRowChangeEvent(((PLANRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovePLANRow(PLANRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "PLANDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class ListyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnilosc;
            
            private global::System.Data.DataColumn columndrukuj;
            
            private global::System.Data.DataColumn columncustID;
            
            private global::System.Data.DataColumn columnklientNazwa;
            
            private global::System.Data.DataColumn columnsuma;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyDataTable() {
                this.TableName = "Listy";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ListyDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected ListyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn iloscColumn {
                get {
                    return this.columnilosc;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn drukujColumn {
                get {
                    return this.columndrukuj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn custIDColumn {
                get {
                    return this.columncustID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn klientNazwaColumn {
                get {
                    return this.columnklientNazwa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn sumaColumn {
                get {
                    return this.columnsuma;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyRow this[int index] {
                get {
                    return ((ListyRow)(this.Rows[index]));
                }
            }
            
            public event ListyRowChangeEventHandler ListyRowChanging;
            
            public event ListyRowChangeEventHandler ListyRowChanged;
            
            public event ListyRowChangeEventHandler ListyRowDeleting;
            
            public event ListyRowChangeEventHandler ListyRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddListyRow(ListyRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyRow AddListyRow(int ilosc, bool drukuj, int custID, string klientNazwa, int suma) {
                ListyRow rowListyRow = ((ListyRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ilosc,
                        drukuj,
                        custID,
                        klientNazwa,
                        suma};
                rowListyRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowListyRow);
                return rowListyRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                ListyDataTable cln = ((ListyDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ListyDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnilosc = base.Columns["ilosc"];
                this.columndrukuj = base.Columns["drukuj"];
                this.columncustID = base.Columns["custID"];
                this.columnklientNazwa = base.Columns["klientNazwa"];
                this.columnsuma = base.Columns["suma"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnilosc = new global::System.Data.DataColumn("ilosc", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnilosc);
                this.columndrukuj = new global::System.Data.DataColumn("drukuj", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndrukuj);
                this.columncustID = new global::System.Data.DataColumn("custID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncustID);
                this.columnklientNazwa = new global::System.Data.DataColumn("klientNazwa", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnklientNazwa);
                this.columnsuma = new global::System.Data.DataColumn("suma", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsuma);
                this.columnilosc.ReadOnly = true;
                this.columnklientNazwa.MaxLength = 50;
                this.columnsuma.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyRow NewListyRow() {
                return ((ListyRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ListyRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ListyRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ListyRowChanged != null)) {
                    this.ListyRowChanged(this, new ListyRowChangeEvent(((ListyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ListyRowChanging != null)) {
                    this.ListyRowChanging(this, new ListyRowChangeEvent(((ListyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ListyRowDeleted != null)) {
                    this.ListyRowDeleted(this, new ListyRowChangeEvent(((ListyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ListyRowDeleting != null)) {
                    this.ListyRowDeleting(this, new ListyRowChangeEvent(((ListyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveListyRow(ListyRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "ListyDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class ListyPodsumowanieDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnNr_Wydania;
            
            private global::System.Data.DataColumn columntyt;
            
            private global::System.Data.DataColumn columnExpr1;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyPodsumowanieDataTable() {
                this.TableName = "ListyPodsumowanie";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ListyPodsumowanieDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected ListyPodsumowanieDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Nr_WydaniaColumn {
                get {
                    return this.columnNr_Wydania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn tytColumn {
                get {
                    return this.columntyt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Expr1Column {
                get {
                    return this.columnExpr1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyPodsumowanieRow this[int index] {
                get {
                    return ((ListyPodsumowanieRow)(this.Rows[index]));
                }
            }
            
            public event ListyPodsumowanieRowChangeEventHandler ListyPodsumowanieRowChanging;
            
            public event ListyPodsumowanieRowChangeEventHandler ListyPodsumowanieRowChanged;
            
            public event ListyPodsumowanieRowChangeEventHandler ListyPodsumowanieRowDeleting;
            
            public event ListyPodsumowanieRowChangeEventHandler ListyPodsumowanieRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddListyPodsumowanieRow(ListyPodsumowanieRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyPodsumowanieRow AddListyPodsumowanieRow(short Nr_Wydania, string tyt, int Expr1) {
                ListyPodsumowanieRow rowListyPodsumowanieRow = ((ListyPodsumowanieRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        Nr_Wydania,
                        tyt,
                        Expr1};
                rowListyPodsumowanieRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowListyPodsumowanieRow);
                return rowListyPodsumowanieRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                ListyPodsumowanieDataTable cln = ((ListyPodsumowanieDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ListyPodsumowanieDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnNr_Wydania = base.Columns["Nr Wydania"];
                this.columntyt = base.Columns["tyt"];
                this.columnExpr1 = base.Columns["Expr1"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnNr_Wydania = new global::System.Data.DataColumn("Nr Wydania", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNr_Wydania);
                this.columntyt = new global::System.Data.DataColumn("tyt", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntyt);
                this.columnExpr1 = new global::System.Data.DataColumn("Expr1", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnExpr1);
                this.columnNr_Wydania.AllowDBNull = false;
                this.columntyt.MaxLength = 5;
                this.columnExpr1.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyPodsumowanieRow NewListyPodsumowanieRow() {
                return ((ListyPodsumowanieRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ListyPodsumowanieRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ListyPodsumowanieRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ListyPodsumowanieRowChanged != null)) {
                    this.ListyPodsumowanieRowChanged(this, new ListyPodsumowanieRowChangeEvent(((ListyPodsumowanieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ListyPodsumowanieRowChanging != null)) {
                    this.ListyPodsumowanieRowChanging(this, new ListyPodsumowanieRowChangeEvent(((ListyPodsumowanieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ListyPodsumowanieRowDeleted != null)) {
                    this.ListyPodsumowanieRowDeleted(this, new ListyPodsumowanieRowChangeEvent(((ListyPodsumowanieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ListyPodsumowanieRowDeleting != null)) {
                    this.ListyPodsumowanieRowDeleting(this, new ListyPodsumowanieRowChangeEvent(((ListyPodsumowanieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveListyPodsumowanieRow(ListyPodsumowanieRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "ListyPodsumowanieDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class shedulerDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnid;
            
            private global::System.Data.DataColumn columnCustomerId;
            
            private global::System.Data.DataColumn columnCustomerName;
            
            private global::System.Data.DataColumn columnAkwizytor;
            
            private global::System.Data.DataColumn columnDataWprowadzenia;
            
            private global::System.Data.DataColumn columnDataPrzypomnienia;
            
            private global::System.Data.DataColumn columnOpis;
            
            private global::System.Data.DataColumn columnzalatwione;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerDataTable() {
                this.TableName = "sheduler";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal shedulerDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected shedulerDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idColumn {
                get {
                    return this.columnid;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIdColumn {
                get {
                    return this.columnCustomerId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerNameColumn {
                get {
                    return this.columnCustomerName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AkwizytorColumn {
                get {
                    return this.columnAkwizytor;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DataWprowadzeniaColumn {
                get {
                    return this.columnDataWprowadzenia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DataPrzypomnieniaColumn {
                get {
                    return this.columnDataPrzypomnienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn OpisColumn {
                get {
                    return this.columnOpis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zalatwioneColumn {
                get {
                    return this.columnzalatwione;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerRow this[int index] {
                get {
                    return ((shedulerRow)(this.Rows[index]));
                }
            }
            
            public event shedulerRowChangeEventHandler shedulerRowChanging;
            
            public event shedulerRowChangeEventHandler shedulerRowChanged;
            
            public event shedulerRowChangeEventHandler shedulerRowDeleting;
            
            public event shedulerRowChangeEventHandler shedulerRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddshedulerRow(shedulerRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerRow AddshedulerRow(int CustomerId, string CustomerName, string Akwizytor, System.DateTime DataWprowadzenia, System.DateTime DataPrzypomnienia, string Opis, bool zalatwione) {
                shedulerRow rowshedulerRow = ((shedulerRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        CustomerId,
                        CustomerName,
                        Akwizytor,
                        DataWprowadzenia,
                        DataPrzypomnienia,
                        Opis,
                        zalatwione};
                rowshedulerRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowshedulerRow);
                return rowshedulerRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerRow FindByid(int id) {
                return ((shedulerRow)(this.Rows.Find(new object[] {
                            id})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                shedulerDataTable cln = ((shedulerDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new shedulerDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnid = base.Columns["id"];
                this.columnCustomerId = base.Columns["CustomerId"];
                this.columnCustomerName = base.Columns["CustomerName"];
                this.columnAkwizytor = base.Columns["Akwizytor"];
                this.columnDataWprowadzenia = base.Columns["DataWprowadzenia"];
                this.columnDataPrzypomnienia = base.Columns["DataPrzypomnienia"];
                this.columnOpis = base.Columns["Opis"];
                this.columnzalatwione = base.Columns["zalatwione"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnid = new global::System.Data.DataColumn("id", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid);
                this.columnCustomerId = new global::System.Data.DataColumn("CustomerId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerId);
                this.columnCustomerName = new global::System.Data.DataColumn("CustomerName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerName);
                this.columnAkwizytor = new global::System.Data.DataColumn("Akwizytor", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAkwizytor);
                this.columnDataWprowadzenia = new global::System.Data.DataColumn("DataWprowadzenia", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDataWprowadzenia);
                this.columnDataPrzypomnienia = new global::System.Data.DataColumn("DataPrzypomnienia", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDataPrzypomnienia);
                this.columnOpis = new global::System.Data.DataColumn("Opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOpis);
                this.columnzalatwione = new global::System.Data.DataColumn("zalatwione", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzalatwione);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnid}, true));
                this.columnid.AutoIncrement = true;
                this.columnid.AllowDBNull = false;
                this.columnid.ReadOnly = true;
                this.columnid.Unique = true;
                this.columnCustomerName.MaxLength = 50;
                this.columnAkwizytor.MaxLength = 50;
                this.columnOpis.MaxLength = 250;
                this.columnzalatwione.DefaultValue = ((bool)(true));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerRow NewshedulerRow() {
                return ((shedulerRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new shedulerRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(shedulerRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.shedulerRowChanged != null)) {
                    this.shedulerRowChanged(this, new shedulerRowChangeEvent(((shedulerRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.shedulerRowChanging != null)) {
                    this.shedulerRowChanging(this, new shedulerRowChangeEvent(((shedulerRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.shedulerRowDeleted != null)) {
                    this.shedulerRowDeleted(this, new shedulerRowChangeEvent(((shedulerRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.shedulerRowDeleting != null)) {
                    this.shedulerRowDeleting(this, new shedulerRowChangeEvent(((shedulerRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveshedulerRow(shedulerRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "shedulerDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class OFERTY_MAINDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnid_oferty;
            
            private global::System.Data.DataColumn columnStan_Oferty;
            
            private global::System.Data.DataColumn columnId_Wersje_Oferty;
            
            private global::System.Data.DataColumn columnCUSTOMER_ID;
            
            private global::System.Data.DataColumn columnid_klienci_os_kontakt;
            
            private global::System.Data.DataColumn columnid_tytul;
            
            private global::System.Data.DataColumn columnAGENT;
            
            private global::System.Data.DataColumn columnJEZYK;
            
            private global::System.Data.DataColumn columnData_Oferty;
            
            private global::System.Data.DataColumn columnOpis_Dol;
            
            private global::System.Data.DataColumn columnData_Wyslania;
            
            private global::System.Data.DataColumn columnData_Modyfikacji;
            
            private global::System.Data.DataColumn columnZmodyfikowal_User;
            
            private global::System.Data.DataColumn columnzapisana;
            
            private global::System.Data.DataColumn columnReklamaID;
            
            private global::System.Data.DataColumn columnProjektID;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINDataTable() {
                this.TableName = "OFERTY_MAIN";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal OFERTY_MAINDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected OFERTY_MAINDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_ofertyColumn {
                get {
                    return this.columnid_oferty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Stan_OfertyColumn {
                get {
                    return this.columnStan_Oferty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Id_Wersje_OfertyColumn {
                get {
                    return this.columnId_Wersje_Oferty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CUSTOMER_IDColumn {
                get {
                    return this.columnCUSTOMER_ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_klienci_os_kontaktColumn {
                get {
                    return this.columnid_klienci_os_kontakt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_tytulColumn {
                get {
                    return this.columnid_tytul;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AGENTColumn {
                get {
                    return this.columnAGENT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn JEZYKColumn {
                get {
                    return this.columnJEZYK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Data_OfertyColumn {
                get {
                    return this.columnData_Oferty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Opis_DolColumn {
                get {
                    return this.columnOpis_Dol;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Data_WyslaniaColumn {
                get {
                    return this.columnData_Wyslania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Data_ModyfikacjiColumn {
                get {
                    return this.columnData_Modyfikacji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Zmodyfikowal_UserColumn {
                get {
                    return this.columnZmodyfikowal_User;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zapisanaColumn {
                get {
                    return this.columnzapisana;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIDColumn {
                get {
                    return this.columnReklamaID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ProjektIDColumn {
                get {
                    return this.columnProjektID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINRow this[int index] {
                get {
                    return ((OFERTY_MAINRow)(this.Rows[index]));
                }
            }
            
            public event OFERTY_MAINRowChangeEventHandler OFERTY_MAINRowChanging;
            
            public event OFERTY_MAINRowChangeEventHandler OFERTY_MAINRowChanged;
            
            public event OFERTY_MAINRowChangeEventHandler OFERTY_MAINRowDeleting;
            
            public event OFERTY_MAINRowChangeEventHandler OFERTY_MAINRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddOFERTY_MAINRow(OFERTY_MAINRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINRow AddOFERTY_MAINRow(string Stan_Oferty, short Id_Wersje_Oferty, int CUSTOMER_ID, int id_klienci_os_kontakt, int id_tytul, string AGENT, short JEZYK, System.DateTime Data_Oferty, string Opis_Dol, System.DateTime Data_Wyslania, System.DateTime Data_Modyfikacji, string Zmodyfikowal_User, int zapisana, int ReklamaID, string ProjektID) {
                OFERTY_MAINRow rowOFERTY_MAINRow = ((OFERTY_MAINRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        Stan_Oferty,
                        Id_Wersje_Oferty,
                        CUSTOMER_ID,
                        id_klienci_os_kontakt,
                        id_tytul,
                        AGENT,
                        JEZYK,
                        Data_Oferty,
                        Opis_Dol,
                        Data_Wyslania,
                        Data_Modyfikacji,
                        Zmodyfikowal_User,
                        zapisana,
                        ReklamaID,
                        ProjektID};
                rowOFERTY_MAINRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowOFERTY_MAINRow);
                return rowOFERTY_MAINRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINRow FindByid_oferty(int id_oferty) {
                return ((OFERTY_MAINRow)(this.Rows.Find(new object[] {
                            id_oferty})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                OFERTY_MAINDataTable cln = ((OFERTY_MAINDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new OFERTY_MAINDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnid_oferty = base.Columns["id_oferty"];
                this.columnStan_Oferty = base.Columns["Stan_Oferty"];
                this.columnId_Wersje_Oferty = base.Columns["Id_Wersje_Oferty"];
                this.columnCUSTOMER_ID = base.Columns["CUSTOMER_ID"];
                this.columnid_klienci_os_kontakt = base.Columns["id_klienci_os_kontakt"];
                this.columnid_tytul = base.Columns["id_tytul"];
                this.columnAGENT = base.Columns["AGENT"];
                this.columnJEZYK = base.Columns["JEZYK"];
                this.columnData_Oferty = base.Columns["Data_Oferty"];
                this.columnOpis_Dol = base.Columns["Opis_Dol"];
                this.columnData_Wyslania = base.Columns["Data_Wyslania"];
                this.columnData_Modyfikacji = base.Columns["Data_Modyfikacji"];
                this.columnZmodyfikowal_User = base.Columns["Zmodyfikowal_User"];
                this.columnzapisana = base.Columns["zapisana"];
                this.columnReklamaID = base.Columns["ReklamaID"];
                this.columnProjektID = base.Columns["ProjektID"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnid_oferty = new global::System.Data.DataColumn("id_oferty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_oferty);
                this.columnStan_Oferty = new global::System.Data.DataColumn("Stan_Oferty", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnStan_Oferty);
                this.columnId_Wersje_Oferty = new global::System.Data.DataColumn("Id_Wersje_Oferty", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnId_Wersje_Oferty);
                this.columnCUSTOMER_ID = new global::System.Data.DataColumn("CUSTOMER_ID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCUSTOMER_ID);
                this.columnid_klienci_os_kontakt = new global::System.Data.DataColumn("id_klienci_os_kontakt", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_klienci_os_kontakt);
                this.columnid_tytul = new global::System.Data.DataColumn("id_tytul", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_tytul);
                this.columnAGENT = new global::System.Data.DataColumn("AGENT", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAGENT);
                this.columnJEZYK = new global::System.Data.DataColumn("JEZYK", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnJEZYK);
                this.columnData_Oferty = new global::System.Data.DataColumn("Data_Oferty", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnData_Oferty);
                this.columnOpis_Dol = new global::System.Data.DataColumn("Opis_Dol", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnOpis_Dol);
                this.columnData_Wyslania = new global::System.Data.DataColumn("Data_Wyslania", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnData_Wyslania);
                this.columnData_Modyfikacji = new global::System.Data.DataColumn("Data_Modyfikacji", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnData_Modyfikacji);
                this.columnZmodyfikowal_User = new global::System.Data.DataColumn("Zmodyfikowal_User", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZmodyfikowal_User);
                this.columnzapisana = new global::System.Data.DataColumn("zapisana", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzapisana);
                this.columnReklamaID = new global::System.Data.DataColumn("ReklamaID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaID);
                this.columnProjektID = new global::System.Data.DataColumn("ProjektID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnProjektID);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnid_oferty}, true));
                this.columnid_oferty.AutoIncrement = true;
                this.columnid_oferty.AllowDBNull = false;
                this.columnid_oferty.ReadOnly = true;
                this.columnid_oferty.Unique = true;
                this.columnStan_Oferty.DefaultValue = ((string)("Otwarta"));
                this.columnStan_Oferty.MaxLength = 50;
                this.columnId_Wersje_Oferty.DefaultValue = ((short)(7));
                this.columnCUSTOMER_ID.AllowDBNull = false;
                this.columnid_tytul.AllowDBNull = false;
                this.columnid_tytul.DefaultValue = ((int)(1));
                this.columnAGENT.MaxLength = 50;
                this.columnJEZYK.AllowDBNull = false;
                this.columnJEZYK.DefaultValue = ((short)(1));
                this.columnData_Oferty.AllowDBNull = false;
                this.columnOpis_Dol.MaxLength = 250;
                this.columnData_Wyslania.AllowDBNull = false;
                this.columnData_Modyfikacji.AllowDBNull = false;
                this.columnZmodyfikowal_User.MaxLength = 50;
                this.columnzapisana.AllowDBNull = false;
                this.columnzapisana.DefaultValue = ((int)(0));
                this.columnProjektID.MaxLength = 200;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINRow NewOFERTY_MAINRow() {
                return ((OFERTY_MAINRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new OFERTY_MAINRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(OFERTY_MAINRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.OFERTY_MAINRowChanged != null)) {
                    this.OFERTY_MAINRowChanged(this, new OFERTY_MAINRowChangeEvent(((OFERTY_MAINRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.OFERTY_MAINRowChanging != null)) {
                    this.OFERTY_MAINRowChanging(this, new OFERTY_MAINRowChangeEvent(((OFERTY_MAINRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.OFERTY_MAINRowDeleted != null)) {
                    this.OFERTY_MAINRowDeleted(this, new OFERTY_MAINRowChangeEvent(((OFERTY_MAINRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.OFERTY_MAINRowDeleting != null)) {
                    this.OFERTY_MAINRowDeleting(this, new OFERTY_MAINRowChangeEvent(((OFERTY_MAINRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveOFERTY_MAINRow(OFERTY_MAINRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "OFERTY_MAINDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class Oferty_WersjeDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnid_oferty_wersje;
            
            private global::System.Data.DataColumn columnnazwa;
            
            private global::System.Data.DataColumn columnid_jezyk;
            
            private global::System.Data.DataColumn columnid_tytul;
            
            private global::System.Data.DataColumn columnnazwa_pliku;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeDataTable() {
                this.TableName = "Oferty_Wersje";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Oferty_WersjeDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected Oferty_WersjeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_oferty_wersjeColumn {
                get {
                    return this.columnid_oferty_wersje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nazwaColumn {
                get {
                    return this.columnnazwa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_jezykColumn {
                get {
                    return this.columnid_jezyk;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn id_tytulColumn {
                get {
                    return this.columnid_tytul;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nazwa_plikuColumn {
                get {
                    return this.columnnazwa_pliku;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeRow this[int index] {
                get {
                    return ((Oferty_WersjeRow)(this.Rows[index]));
                }
            }
            
            public event Oferty_WersjeRowChangeEventHandler Oferty_WersjeRowChanging;
            
            public event Oferty_WersjeRowChangeEventHandler Oferty_WersjeRowChanged;
            
            public event Oferty_WersjeRowChangeEventHandler Oferty_WersjeRowDeleting;
            
            public event Oferty_WersjeRowChangeEventHandler Oferty_WersjeRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddOferty_WersjeRow(Oferty_WersjeRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeRow AddOferty_WersjeRow(string nazwa, int id_jezyk, int id_tytul, string nazwa_pliku) {
                Oferty_WersjeRow rowOferty_WersjeRow = ((Oferty_WersjeRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        nazwa,
                        id_jezyk,
                        id_tytul,
                        nazwa_pliku};
                rowOferty_WersjeRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowOferty_WersjeRow);
                return rowOferty_WersjeRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeRow FindByid_oferty_wersje(int id_oferty_wersje) {
                return ((Oferty_WersjeRow)(this.Rows.Find(new object[] {
                            id_oferty_wersje})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                Oferty_WersjeDataTable cln = ((Oferty_WersjeDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new Oferty_WersjeDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnid_oferty_wersje = base.Columns["id_oferty_wersje"];
                this.columnnazwa = base.Columns["nazwa"];
                this.columnid_jezyk = base.Columns["id_jezyk"];
                this.columnid_tytul = base.Columns["id_tytul"];
                this.columnnazwa_pliku = base.Columns["nazwa_pliku"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnid_oferty_wersje = new global::System.Data.DataColumn("id_oferty_wersje", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_oferty_wersje);
                this.columnnazwa = new global::System.Data.DataColumn("nazwa", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnazwa);
                this.columnid_jezyk = new global::System.Data.DataColumn("id_jezyk", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_jezyk);
                this.columnid_tytul = new global::System.Data.DataColumn("id_tytul", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid_tytul);
                this.columnnazwa_pliku = new global::System.Data.DataColumn("nazwa_pliku", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnazwa_pliku);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnid_oferty_wersje}, true));
                this.columnid_oferty_wersje.AutoIncrement = true;
                this.columnid_oferty_wersje.AllowDBNull = false;
                this.columnid_oferty_wersje.ReadOnly = true;
                this.columnid_oferty_wersje.Unique = true;
                this.columnnazwa.MaxLength = 50;
                this.columnnazwa_pliku.MaxLength = 50;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeRow NewOferty_WersjeRow() {
                return ((Oferty_WersjeRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new Oferty_WersjeRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(Oferty_WersjeRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.Oferty_WersjeRowChanged != null)) {
                    this.Oferty_WersjeRowChanged(this, new Oferty_WersjeRowChangeEvent(((Oferty_WersjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.Oferty_WersjeRowChanging != null)) {
                    this.Oferty_WersjeRowChanging(this, new Oferty_WersjeRowChangeEvent(((Oferty_WersjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.Oferty_WersjeRowDeleted != null)) {
                    this.Oferty_WersjeRowDeleted(this, new Oferty_WersjeRowChangeEvent(((Oferty_WersjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.Oferty_WersjeRowDeleting != null)) {
                    this.Oferty_WersjeRowDeleting(this, new Oferty_WersjeRowChangeEvent(((Oferty_WersjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveOferty_WersjeRow(Oferty_WersjeRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "Oferty_WersjeDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class zastawienieKontaktowDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnFirstName;
            
            private global::System.Data.DataColumn columnsymbol_agenta;
            
            private global::System.Data.DataColumn columndata;
            
            private global::System.Data.DataColumn columnrodzaj;
            
            private global::System.Data.DataColumn columnopis;
            
            private global::System.Data.DataColumn columnCustomerID;
            
            private global::System.Data.DataColumn columnUserName;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zastawienieKontaktowDataTable() {
                this.TableName = "zastawienieKontaktow";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal zastawienieKontaktowDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected zastawienieKontaktowDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FirstNameColumn {
                get {
                    return this.columnFirstName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn symbol_agentaColumn {
                get {
                    return this.columnsymbol_agenta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataColumn {
                get {
                    return this.columndata;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rodzajColumn {
                get {
                    return this.columnrodzaj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn opisColumn {
                get {
                    return this.columnopis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIDColumn {
                get {
                    return this.columnCustomerID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn UserNameColumn {
                get {
                    return this.columnUserName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zastawienieKontaktowRow this[int index] {
                get {
                    return ((zastawienieKontaktowRow)(this.Rows[index]));
                }
            }
            
            public event zastawienieKontaktowRowChangeEventHandler zastawienieKontaktowRowChanging;
            
            public event zastawienieKontaktowRowChangeEventHandler zastawienieKontaktowRowChanged;
            
            public event zastawienieKontaktowRowChangeEventHandler zastawienieKontaktowRowDeleting;
            
            public event zastawienieKontaktowRowChangeEventHandler zastawienieKontaktowRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddzastawienieKontaktowRow(zastawienieKontaktowRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zastawienieKontaktowRow AddzastawienieKontaktowRow(string FirstName, string symbol_agenta, System.DateTime data, string rodzaj, string opis, string UserName) {
                zastawienieKontaktowRow rowzastawienieKontaktowRow = ((zastawienieKontaktowRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        FirstName,
                        symbol_agenta,
                        data,
                        rodzaj,
                        opis,
                        null,
                        UserName};
                rowzastawienieKontaktowRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowzastawienieKontaktowRow);
                return rowzastawienieKontaktowRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                zastawienieKontaktowDataTable cln = ((zastawienieKontaktowDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new zastawienieKontaktowDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnFirstName = base.Columns["FirstName"];
                this.columnsymbol_agenta = base.Columns["symbol_agenta"];
                this.columndata = base.Columns["data"];
                this.columnrodzaj = base.Columns["rodzaj"];
                this.columnopis = base.Columns["opis"];
                this.columnCustomerID = base.Columns["CustomerID"];
                this.columnUserName = base.Columns["UserName"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnFirstName = new global::System.Data.DataColumn("FirstName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFirstName);
                this.columnsymbol_agenta = new global::System.Data.DataColumn("symbol_agenta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsymbol_agenta);
                this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata);
                this.columnrodzaj = new global::System.Data.DataColumn("rodzaj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrodzaj);
                this.columnopis = new global::System.Data.DataColumn("opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnopis);
                this.columnCustomerID = new global::System.Data.DataColumn("CustomerID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerID);
                this.columnUserName = new global::System.Data.DataColumn("UserName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnUserName);
                this.columnFirstName.MaxLength = 50;
                this.columnsymbol_agenta.AllowDBNull = false;
                this.columnsymbol_agenta.MaxLength = 50;
                this.columndata.AllowDBNull = false;
                this.columnrodzaj.MaxLength = 10;
                this.columnopis.MaxLength = 255;
                this.columnCustomerID.AutoIncrement = true;
                this.columnCustomerID.ReadOnly = true;
                this.columnUserName.MaxLength = 25;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zastawienieKontaktowRow NewzastawienieKontaktowRow() {
                return ((zastawienieKontaktowRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new zastawienieKontaktowRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(zastawienieKontaktowRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.zastawienieKontaktowRowChanged != null)) {
                    this.zastawienieKontaktowRowChanged(this, new zastawienieKontaktowRowChangeEvent(((zastawienieKontaktowRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.zastawienieKontaktowRowChanging != null)) {
                    this.zastawienieKontaktowRowChanging(this, new zastawienieKontaktowRowChangeEvent(((zastawienieKontaktowRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.zastawienieKontaktowRowDeleted != null)) {
                    this.zastawienieKontaktowRowDeleted(this, new zastawienieKontaktowRowChangeEvent(((zastawienieKontaktowRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.zastawienieKontaktowRowDeleting != null)) {
                    this.zastawienieKontaktowRowDeleting(this, new zastawienieKontaktowRowChangeEvent(((zastawienieKontaktowRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovezastawienieKontaktowRow(zastawienieKontaktowRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "zastawienieKontaktowDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class View_Podsumowanie_Wykonania_PlanuDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnSYMBOL;
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnMS;
            
            private global::System.Data.DataColumn columnBUDZET;
            
            private global::System.Data.DataColumn columnSPOTKANIA;
            
            private global::System.Data.DataColumn columnKONTAKTY;
            
            private global::System.Data.DataColumn columnN_KLIENCI;
            
            private global::System.Data.DataColumn columnKLIENCI;
            
            private global::System.Data.DataColumn columnREKLAMY;
            
            private global::System.Data.DataColumn columnW_BUDZET;
            
            private global::System.Data.DataColumn columnW_SPOTKANIA;
            
            private global::System.Data.DataColumn columnw_kontakty;
            
            private global::System.Data.DataColumn columnW_N_KLIENCI;
            
            private global::System.Data.DataColumn columnW_KLIENCI;
            
            private global::System.Data.DataColumn columnW_REKLAMY;
            
            private global::System.Data.DataColumn columnil_ms;
            
            private global::System.Data.DataColumn columnr_budzet;
            
            private global::System.Data.DataColumn columnr_spotkania;
            
            private global::System.Data.DataColumn columnr_kontakty;
            
            private global::System.Data.DataColumn columnr_n_klienci;
            
            private global::System.Data.DataColumn columnr_klienci;
            
            private global::System.Data.DataColumn columnr_reklamy;
            
            private global::System.Data.DataColumn columnr_w_budzet;
            
            private global::System.Data.DataColumn columnr_w_spotkania;
            
            private global::System.Data.DataColumn columnr_w_n_klienci;
            
            private global::System.Data.DataColumn columnr_w_klienci;
            
            private global::System.Data.DataColumn columnr_w_reklamy;
            
            private global::System.Data.DataColumn columnr_w_kontakty;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_PlanuDataTable() {
                this.TableName = "View_Podsumowanie_Wykonania_Planu";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal View_Podsumowanie_Wykonania_PlanuDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected View_Podsumowanie_Wykonania_PlanuDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOLColumn {
                get {
                    return this.columnSYMBOL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MSColumn {
                get {
                    return this.columnMS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BUDZETColumn {
                get {
                    return this.columnBUDZET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SPOTKANIAColumn {
                get {
                    return this.columnSPOTKANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KONTAKTYColumn {
                get {
                    return this.columnKONTAKTY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn N_KLIENCIColumn {
                get {
                    return this.columnN_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KLIENCIColumn {
                get {
                    return this.columnKLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn REKLAMYColumn {
                get {
                    return this.columnREKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_BUDZETColumn {
                get {
                    return this.columnW_BUDZET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_SPOTKANIAColumn {
                get {
                    return this.columnW_SPOTKANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn w_kontaktyColumn {
                get {
                    return this.columnw_kontakty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_N_KLIENCIColumn {
                get {
                    return this.columnW_N_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_KLIENCIColumn {
                get {
                    return this.columnW_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_REKLAMYColumn {
                get {
                    return this.columnW_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn il_msColumn {
                get {
                    return this.columnil_ms;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_budzetColumn {
                get {
                    return this.columnr_budzet;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_spotkaniaColumn {
                get {
                    return this.columnr_spotkania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_kontaktyColumn {
                get {
                    return this.columnr_kontakty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_n_klienciColumn {
                get {
                    return this.columnr_n_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_klienciColumn {
                get {
                    return this.columnr_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_reklamyColumn {
                get {
                    return this.columnr_reklamy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_budzetColumn {
                get {
                    return this.columnr_w_budzet;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_spotkaniaColumn {
                get {
                    return this.columnr_w_spotkania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_n_klienciColumn {
                get {
                    return this.columnr_w_n_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_klienciColumn {
                get {
                    return this.columnr_w_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_reklamyColumn {
                get {
                    return this.columnr_w_reklamy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_kontaktyColumn {
                get {
                    return this.columnr_w_kontakty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_PlanuRow this[int index] {
                get {
                    return ((View_Podsumowanie_Wykonania_PlanuRow)(this.Rows[index]));
                }
            }
            
            public event View_Podsumowanie_Wykonania_PlanuRowChangeEventHandler View_Podsumowanie_Wykonania_PlanuRowChanging;
            
            public event View_Podsumowanie_Wykonania_PlanuRowChangeEventHandler View_Podsumowanie_Wykonania_PlanuRowChanged;
            
            public event View_Podsumowanie_Wykonania_PlanuRowChangeEventHandler View_Podsumowanie_Wykonania_PlanuRowDeleting;
            
            public event View_Podsumowanie_Wykonania_PlanuRowChangeEventHandler View_Podsumowanie_Wykonania_PlanuRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddView_Podsumowanie_Wykonania_PlanuRow(View_Podsumowanie_Wykonania_PlanuRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_PlanuRow AddView_Podsumowanie_Wykonania_PlanuRow(
                        string SYMBOL, 
                        short ROK, 
                        short MS, 
                        int BUDZET, 
                        int SPOTKANIA, 
                        int KONTAKTY, 
                        int N_KLIENCI, 
                        int KLIENCI, 
                        int REKLAMY, 
                        int W_BUDZET, 
                        int W_SPOTKANIA, 
                        int w_kontakty, 
                        int W_N_KLIENCI, 
                        int W_KLIENCI, 
                        int W_REKLAMY, 
                        int il_ms, 
                        int r_budzet, 
                        int r_spotkania, 
                        int r_kontakty, 
                        int r_n_klienci, 
                        int r_klienci, 
                        int r_reklamy, 
                        int r_w_budzet, 
                        int r_w_spotkania, 
                        int r_w_n_klienci, 
                        int r_w_klienci, 
                        int r_w_reklamy, 
                        int r_w_kontakty) {
                View_Podsumowanie_Wykonania_PlanuRow rowView_Podsumowanie_Wykonania_PlanuRow = ((View_Podsumowanie_Wykonania_PlanuRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        SYMBOL,
                        ROK,
                        MS,
                        BUDZET,
                        SPOTKANIA,
                        KONTAKTY,
                        N_KLIENCI,
                        KLIENCI,
                        REKLAMY,
                        W_BUDZET,
                        W_SPOTKANIA,
                        w_kontakty,
                        W_N_KLIENCI,
                        W_KLIENCI,
                        W_REKLAMY,
                        il_ms,
                        r_budzet,
                        r_spotkania,
                        r_kontakty,
                        r_n_klienci,
                        r_klienci,
                        r_reklamy,
                        r_w_budzet,
                        r_w_spotkania,
                        r_w_n_klienci,
                        r_w_klienci,
                        r_w_reklamy,
                        r_w_kontakty};
                rowView_Podsumowanie_Wykonania_PlanuRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowView_Podsumowanie_Wykonania_PlanuRow);
                return rowView_Podsumowanie_Wykonania_PlanuRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                View_Podsumowanie_Wykonania_PlanuDataTable cln = ((View_Podsumowanie_Wykonania_PlanuDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new View_Podsumowanie_Wykonania_PlanuDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnSYMBOL = base.Columns["SYMBOL"];
                this.columnROK = base.Columns["ROK"];
                this.columnMS = base.Columns["MS"];
                this.columnBUDZET = base.Columns["BUDZET"];
                this.columnSPOTKANIA = base.Columns["SPOTKANIA"];
                this.columnKONTAKTY = base.Columns["KONTAKTY"];
                this.columnN_KLIENCI = base.Columns["N_KLIENCI"];
                this.columnKLIENCI = base.Columns["KLIENCI"];
                this.columnREKLAMY = base.Columns["REKLAMY"];
                this.columnW_BUDZET = base.Columns["W_BUDZET"];
                this.columnW_SPOTKANIA = base.Columns["W_SPOTKANIA"];
                this.columnw_kontakty = base.Columns["w_kontakty"];
                this.columnW_N_KLIENCI = base.Columns["W_N_KLIENCI"];
                this.columnW_KLIENCI = base.Columns["W_KLIENCI"];
                this.columnW_REKLAMY = base.Columns["W_REKLAMY"];
                this.columnil_ms = base.Columns["il_ms"];
                this.columnr_budzet = base.Columns["r_budzet"];
                this.columnr_spotkania = base.Columns["r_spotkania"];
                this.columnr_kontakty = base.Columns["r_kontakty"];
                this.columnr_n_klienci = base.Columns["r_n_klienci"];
                this.columnr_klienci = base.Columns["r_klienci"];
                this.columnr_reklamy = base.Columns["r_reklamy"];
                this.columnr_w_budzet = base.Columns["r_w_budzet"];
                this.columnr_w_spotkania = base.Columns["r_w_spotkania"];
                this.columnr_w_n_klienci = base.Columns["r_w_n_klienci"];
                this.columnr_w_klienci = base.Columns["r_w_klienci"];
                this.columnr_w_reklamy = base.Columns["r_w_reklamy"];
                this.columnr_w_kontakty = base.Columns["r_w_kontakty"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnSYMBOL = new global::System.Data.DataColumn("SYMBOL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL);
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnMS = new global::System.Data.DataColumn("MS", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMS);
                this.columnBUDZET = new global::System.Data.DataColumn("BUDZET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBUDZET);
                this.columnSPOTKANIA = new global::System.Data.DataColumn("SPOTKANIA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPOTKANIA);
                this.columnKONTAKTY = new global::System.Data.DataColumn("KONTAKTY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKONTAKTY);
                this.columnN_KLIENCI = new global::System.Data.DataColumn("N_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnN_KLIENCI);
                this.columnKLIENCI = new global::System.Data.DataColumn("KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKLIENCI);
                this.columnREKLAMY = new global::System.Data.DataColumn("REKLAMY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnREKLAMY);
                this.columnW_BUDZET = new global::System.Data.DataColumn("W_BUDZET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_BUDZET);
                this.columnW_SPOTKANIA = new global::System.Data.DataColumn("W_SPOTKANIA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_SPOTKANIA);
                this.columnw_kontakty = new global::System.Data.DataColumn("w_kontakty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnw_kontakty);
                this.columnW_N_KLIENCI = new global::System.Data.DataColumn("W_N_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_N_KLIENCI);
                this.columnW_KLIENCI = new global::System.Data.DataColumn("W_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_KLIENCI);
                this.columnW_REKLAMY = new global::System.Data.DataColumn("W_REKLAMY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_REKLAMY);
                this.columnil_ms = new global::System.Data.DataColumn("il_ms", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnil_ms);
                this.columnr_budzet = new global::System.Data.DataColumn("r_budzet", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_budzet);
                this.columnr_spotkania = new global::System.Data.DataColumn("r_spotkania", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_spotkania);
                this.columnr_kontakty = new global::System.Data.DataColumn("r_kontakty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_kontakty);
                this.columnr_n_klienci = new global::System.Data.DataColumn("r_n_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_n_klienci);
                this.columnr_klienci = new global::System.Data.DataColumn("r_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_klienci);
                this.columnr_reklamy = new global::System.Data.DataColumn("r_reklamy", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_reklamy);
                this.columnr_w_budzet = new global::System.Data.DataColumn("r_w_budzet", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_budzet);
                this.columnr_w_spotkania = new global::System.Data.DataColumn("r_w_spotkania", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_spotkania);
                this.columnr_w_n_klienci = new global::System.Data.DataColumn("r_w_n_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_n_klienci);
                this.columnr_w_klienci = new global::System.Data.DataColumn("r_w_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_klienci);
                this.columnr_w_reklamy = new global::System.Data.DataColumn("r_w_reklamy", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_reklamy);
                this.columnr_w_kontakty = new global::System.Data.DataColumn("r_w_kontakty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_kontakty);
                this.columnSYMBOL.AllowDBNull = false;
                this.columnSYMBOL.MaxLength = 50;
                this.columnROK.AllowDBNull = false;
                this.columnMS.AllowDBNull = false;
                this.columnBUDZET.AllowDBNull = false;
                this.columnSPOTKANIA.AllowDBNull = false;
                this.columnKONTAKTY.AllowDBNull = false;
                this.columnN_KLIENCI.AllowDBNull = false;
                this.columnKLIENCI.AllowDBNull = false;
                this.columnREKLAMY.AllowDBNull = false;
                this.columnW_BUDZET.AllowDBNull = false;
                this.columnW_SPOTKANIA.AllowDBNull = false;
                this.columnw_kontakty.ReadOnly = true;
                this.columnW_N_KLIENCI.AllowDBNull = false;
                this.columnW_KLIENCI.AllowDBNull = false;
                this.columnW_REKLAMY.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_PlanuRow NewView_Podsumowanie_Wykonania_PlanuRow() {
                return ((View_Podsumowanie_Wykonania_PlanuRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new View_Podsumowanie_Wykonania_PlanuRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(View_Podsumowanie_Wykonania_PlanuRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.View_Podsumowanie_Wykonania_PlanuRowChanged != null)) {
                    this.View_Podsumowanie_Wykonania_PlanuRowChanged(this, new View_Podsumowanie_Wykonania_PlanuRowChangeEvent(((View_Podsumowanie_Wykonania_PlanuRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.View_Podsumowanie_Wykonania_PlanuRowChanging != null)) {
                    this.View_Podsumowanie_Wykonania_PlanuRowChanging(this, new View_Podsumowanie_Wykonania_PlanuRowChangeEvent(((View_Podsumowanie_Wykonania_PlanuRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.View_Podsumowanie_Wykonania_PlanuRowDeleted != null)) {
                    this.View_Podsumowanie_Wykonania_PlanuRowDeleted(this, new View_Podsumowanie_Wykonania_PlanuRowChangeEvent(((View_Podsumowanie_Wykonania_PlanuRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.View_Podsumowanie_Wykonania_PlanuRowDeleting != null)) {
                    this.View_Podsumowanie_Wykonania_PlanuRowDeleting(this, new View_Podsumowanie_Wykonania_PlanuRowChangeEvent(((View_Podsumowanie_Wykonania_PlanuRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveView_Podsumowanie_Wykonania_PlanuRow(View_Podsumowanie_Wykonania_PlanuRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "View_Podsumowanie_Wykonania_PlanuDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class View_Podsumowanie_Wykonania_Planu_AgencjaDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnMS;
            
            private global::System.Data.DataColumn columnsymbol;
            
            private global::System.Data.DataColumn columnBUDZET;
            
            private global::System.Data.DataColumn columnBUDZET_HANDLOWCY;
            
            private global::System.Data.DataColumn columnSPOTKANIA;
            
            private global::System.Data.DataColumn columnKONTAKTY;
            
            private global::System.Data.DataColumn columnN_KLIENCI;
            
            private global::System.Data.DataColumn columnKLIENCI;
            
            private global::System.Data.DataColumn columnREKLAMY;
            
            private global::System.Data.DataColumn columnW_BUDZET;
            
            private global::System.Data.DataColumn columnW_SPOTKANIA;
            
            private global::System.Data.DataColumn columnw_kontakty;
            
            private global::System.Data.DataColumn columnW_N_KLIENCI;
            
            private global::System.Data.DataColumn columnW_KLIENCI;
            
            private global::System.Data.DataColumn columnW_REKLAMY;
            
            private global::System.Data.DataColumn columnil_ms;
            
            private global::System.Data.DataColumn columnr_budzet;
            
            private global::System.Data.DataColumn columnr_spotkania;
            
            private global::System.Data.DataColumn columnr_kontakty;
            
            private global::System.Data.DataColumn columnr_n_klienci;
            
            private global::System.Data.DataColumn columnr_klienci;
            
            private global::System.Data.DataColumn columnr_reklamy;
            
            private global::System.Data.DataColumn columnr_w_budzet;
            
            private global::System.Data.DataColumn columnr_w_spotkania;
            
            private global::System.Data.DataColumn columnr_w_n_klienci;
            
            private global::System.Data.DataColumn columnr_w_klienci;
            
            private global::System.Data.DataColumn columnr_w_reklamy;
            
            private global::System.Data.DataColumn columnr_w_kontakty;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_Planu_AgencjaDataTable() {
                this.TableName = "View_Podsumowanie_Wykonania_Planu_Agencja";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal View_Podsumowanie_Wykonania_Planu_AgencjaDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected View_Podsumowanie_Wykonania_Planu_AgencjaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MSColumn {
                get {
                    return this.columnMS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn symbolColumn {
                get {
                    return this.columnsymbol;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BUDZETColumn {
                get {
                    return this.columnBUDZET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BUDZET_HANDLOWCYColumn {
                get {
                    return this.columnBUDZET_HANDLOWCY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SPOTKANIAColumn {
                get {
                    return this.columnSPOTKANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KONTAKTYColumn {
                get {
                    return this.columnKONTAKTY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn N_KLIENCIColumn {
                get {
                    return this.columnN_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KLIENCIColumn {
                get {
                    return this.columnKLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn REKLAMYColumn {
                get {
                    return this.columnREKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_BUDZETColumn {
                get {
                    return this.columnW_BUDZET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_SPOTKANIAColumn {
                get {
                    return this.columnW_SPOTKANIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn w_kontaktyColumn {
                get {
                    return this.columnw_kontakty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_N_KLIENCIColumn {
                get {
                    return this.columnW_N_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_KLIENCIColumn {
                get {
                    return this.columnW_KLIENCI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn W_REKLAMYColumn {
                get {
                    return this.columnW_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn il_msColumn {
                get {
                    return this.columnil_ms;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_budzetColumn {
                get {
                    return this.columnr_budzet;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_spotkaniaColumn {
                get {
                    return this.columnr_spotkania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_kontaktyColumn {
                get {
                    return this.columnr_kontakty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_n_klienciColumn {
                get {
                    return this.columnr_n_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_klienciColumn {
                get {
                    return this.columnr_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_reklamyColumn {
                get {
                    return this.columnr_reklamy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_budzetColumn {
                get {
                    return this.columnr_w_budzet;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_spotkaniaColumn {
                get {
                    return this.columnr_w_spotkania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_n_klienciColumn {
                get {
                    return this.columnr_w_n_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_klienciColumn {
                get {
                    return this.columnr_w_klienci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_reklamyColumn {
                get {
                    return this.columnr_w_reklamy;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn r_w_kontaktyColumn {
                get {
                    return this.columnr_w_kontakty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_Planu_AgencjaRow this[int index] {
                get {
                    return ((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(this.Rows[index]));
                }
            }
            
            public event View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEventHandler View_Podsumowanie_Wykonania_Planu_AgencjaRowChanging;
            
            public event View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEventHandler View_Podsumowanie_Wykonania_Planu_AgencjaRowChanged;
            
            public event View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEventHandler View_Podsumowanie_Wykonania_Planu_AgencjaRowDeleting;
            
            public event View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEventHandler View_Podsumowanie_Wykonania_Planu_AgencjaRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddView_Podsumowanie_Wykonania_Planu_AgencjaRow(View_Podsumowanie_Wykonania_Planu_AgencjaRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_Planu_AgencjaRow AddView_Podsumowanie_Wykonania_Planu_AgencjaRow(
                        short ROK, 
                        short MS, 
                        string symbol, 
                        int BUDZET, 
                        int BUDZET_HANDLOWCY, 
                        int SPOTKANIA, 
                        int KONTAKTY, 
                        int N_KLIENCI, 
                        int KLIENCI, 
                        int REKLAMY, 
                        int W_BUDZET, 
                        int W_SPOTKANIA, 
                        int w_kontakty, 
                        int W_N_KLIENCI, 
                        int W_KLIENCI, 
                        int W_REKLAMY, 
                        int il_ms, 
                        int r_budzet, 
                        int r_spotkania, 
                        int r_kontakty, 
                        int r_n_klienci, 
                        int r_klienci, 
                        int r_reklamy, 
                        int r_w_budzet, 
                        int r_w_spotkania, 
                        int r_w_n_klienci, 
                        int r_w_klienci, 
                        int r_w_reklamy, 
                        int r_w_kontakty) {
                View_Podsumowanie_Wykonania_Planu_AgencjaRow rowView_Podsumowanie_Wykonania_Planu_AgencjaRow = ((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ROK,
                        MS,
                        symbol,
                        BUDZET,
                        BUDZET_HANDLOWCY,
                        SPOTKANIA,
                        KONTAKTY,
                        N_KLIENCI,
                        KLIENCI,
                        REKLAMY,
                        W_BUDZET,
                        W_SPOTKANIA,
                        w_kontakty,
                        W_N_KLIENCI,
                        W_KLIENCI,
                        W_REKLAMY,
                        il_ms,
                        r_budzet,
                        r_spotkania,
                        r_kontakty,
                        r_n_klienci,
                        r_klienci,
                        r_reklamy,
                        r_w_budzet,
                        r_w_spotkania,
                        r_w_n_klienci,
                        r_w_klienci,
                        r_w_reklamy,
                        r_w_kontakty};
                rowView_Podsumowanie_Wykonania_Planu_AgencjaRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowView_Podsumowanie_Wykonania_Planu_AgencjaRow);
                return rowView_Podsumowanie_Wykonania_Planu_AgencjaRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                View_Podsumowanie_Wykonania_Planu_AgencjaDataTable cln = ((View_Podsumowanie_Wykonania_Planu_AgencjaDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new View_Podsumowanie_Wykonania_Planu_AgencjaDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnROK = base.Columns["ROK"];
                this.columnMS = base.Columns["MS"];
                this.columnsymbol = base.Columns["symbol"];
                this.columnBUDZET = base.Columns["BUDZET"];
                this.columnBUDZET_HANDLOWCY = base.Columns["BUDZET_HANDLOWCY"];
                this.columnSPOTKANIA = base.Columns["SPOTKANIA"];
                this.columnKONTAKTY = base.Columns["KONTAKTY"];
                this.columnN_KLIENCI = base.Columns["N_KLIENCI"];
                this.columnKLIENCI = base.Columns["KLIENCI"];
                this.columnREKLAMY = base.Columns["REKLAMY"];
                this.columnW_BUDZET = base.Columns["W_BUDZET"];
                this.columnW_SPOTKANIA = base.Columns["W_SPOTKANIA"];
                this.columnw_kontakty = base.Columns["w_kontakty"];
                this.columnW_N_KLIENCI = base.Columns["W_N_KLIENCI"];
                this.columnW_KLIENCI = base.Columns["W_KLIENCI"];
                this.columnW_REKLAMY = base.Columns["W_REKLAMY"];
                this.columnil_ms = base.Columns["il_ms"];
                this.columnr_budzet = base.Columns["r_budzet"];
                this.columnr_spotkania = base.Columns["r_spotkania"];
                this.columnr_kontakty = base.Columns["r_kontakty"];
                this.columnr_n_klienci = base.Columns["r_n_klienci"];
                this.columnr_klienci = base.Columns["r_klienci"];
                this.columnr_reklamy = base.Columns["r_reklamy"];
                this.columnr_w_budzet = base.Columns["r_w_budzet"];
                this.columnr_w_spotkania = base.Columns["r_w_spotkania"];
                this.columnr_w_n_klienci = base.Columns["r_w_n_klienci"];
                this.columnr_w_klienci = base.Columns["r_w_klienci"];
                this.columnr_w_reklamy = base.Columns["r_w_reklamy"];
                this.columnr_w_kontakty = base.Columns["r_w_kontakty"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnMS = new global::System.Data.DataColumn("MS", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMS);
                this.columnsymbol = new global::System.Data.DataColumn("symbol", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsymbol);
                this.columnBUDZET = new global::System.Data.DataColumn("BUDZET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBUDZET);
                this.columnBUDZET_HANDLOWCY = new global::System.Data.DataColumn("BUDZET_HANDLOWCY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBUDZET_HANDLOWCY);
                this.columnSPOTKANIA = new global::System.Data.DataColumn("SPOTKANIA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPOTKANIA);
                this.columnKONTAKTY = new global::System.Data.DataColumn("KONTAKTY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKONTAKTY);
                this.columnN_KLIENCI = new global::System.Data.DataColumn("N_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnN_KLIENCI);
                this.columnKLIENCI = new global::System.Data.DataColumn("KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKLIENCI);
                this.columnREKLAMY = new global::System.Data.DataColumn("REKLAMY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnREKLAMY);
                this.columnW_BUDZET = new global::System.Data.DataColumn("W_BUDZET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_BUDZET);
                this.columnW_SPOTKANIA = new global::System.Data.DataColumn("W_SPOTKANIA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_SPOTKANIA);
                this.columnw_kontakty = new global::System.Data.DataColumn("w_kontakty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnw_kontakty);
                this.columnW_N_KLIENCI = new global::System.Data.DataColumn("W_N_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_N_KLIENCI);
                this.columnW_KLIENCI = new global::System.Data.DataColumn("W_KLIENCI", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_KLIENCI);
                this.columnW_REKLAMY = new global::System.Data.DataColumn("W_REKLAMY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnW_REKLAMY);
                this.columnil_ms = new global::System.Data.DataColumn("il_ms", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnil_ms);
                this.columnr_budzet = new global::System.Data.DataColumn("r_budzet", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_budzet);
                this.columnr_spotkania = new global::System.Data.DataColumn("r_spotkania", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_spotkania);
                this.columnr_kontakty = new global::System.Data.DataColumn("r_kontakty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_kontakty);
                this.columnr_n_klienci = new global::System.Data.DataColumn("r_n_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_n_klienci);
                this.columnr_klienci = new global::System.Data.DataColumn("r_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_klienci);
                this.columnr_reklamy = new global::System.Data.DataColumn("r_reklamy", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_reklamy);
                this.columnr_w_budzet = new global::System.Data.DataColumn("r_w_budzet", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_budzet);
                this.columnr_w_spotkania = new global::System.Data.DataColumn("r_w_spotkania", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_spotkania);
                this.columnr_w_n_klienci = new global::System.Data.DataColumn("r_w_n_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_n_klienci);
                this.columnr_w_klienci = new global::System.Data.DataColumn("r_w_klienci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_klienci);
                this.columnr_w_reklamy = new global::System.Data.DataColumn("r_w_reklamy", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_reklamy);
                this.columnr_w_kontakty = new global::System.Data.DataColumn("r_w_kontakty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnr_w_kontakty);
                this.columnROK.AllowDBNull = false;
                this.columnMS.AllowDBNull = false;
                this.columnsymbol.AllowDBNull = false;
                this.columnsymbol.MaxLength = 50;
                this.columnBUDZET.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_Planu_AgencjaRow NewView_Podsumowanie_Wykonania_Planu_AgencjaRow() {
                return ((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new View_Podsumowanie_Wykonania_Planu_AgencjaRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(View_Podsumowanie_Wykonania_Planu_AgencjaRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.View_Podsumowanie_Wykonania_Planu_AgencjaRowChanged != null)) {
                    this.View_Podsumowanie_Wykonania_Planu_AgencjaRowChanged(this, new View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent(((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.View_Podsumowanie_Wykonania_Planu_AgencjaRowChanging != null)) {
                    this.View_Podsumowanie_Wykonania_Planu_AgencjaRowChanging(this, new View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent(((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.View_Podsumowanie_Wykonania_Planu_AgencjaRowDeleted != null)) {
                    this.View_Podsumowanie_Wykonania_Planu_AgencjaRowDeleted(this, new View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent(((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.View_Podsumowanie_Wykonania_Planu_AgencjaRowDeleting != null)) {
                    this.View_Podsumowanie_Wykonania_Planu_AgencjaRowDeleting(this, new View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent(((View_Podsumowanie_Wykonania_Planu_AgencjaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveView_Podsumowanie_Wykonania_Planu_AgencjaRow(View_Podsumowanie_Wykonania_Planu_AgencjaRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "View_Podsumowanie_Wykonania_Planu_AgencjaDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class LISTA_REKLAM_NA_WYDANIEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnReklamaID;
            
            private global::System.Data.DataColumn columnTYTUŁ;
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            private global::System.Data.DataColumn columnSZER;
            
            private global::System.Data.DataColumn columnWYS;
            
            private global::System.Data.DataColumn columnKOLOR;
            
            private global::System.Data.DataColumn columnNICK_NAME;
            
            private global::System.Data.DataColumn columnMOD_TYP;
            
            private global::System.Data.DataColumn columnRABAT;
            
            private global::System.Data.DataColumn columnlokalizacja;
            
            private global::System.Data.DataColumn columnNR;
            
            private global::System.Data.DataColumn columnZATWIERDZONO_DO_DRUKU;
            
            private global::System.Data.DataColumn columnGRZBIET;
            
            private global::System.Data.DataColumn columnSTRONA;
            
            private global::System.Data.DataColumn columnagencja;
            
            private global::System.Data.DataColumn columnSYMBOL_AKWIZYTORA;
            
            private global::System.Data.DataColumn columnKROTNOŚĆ;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnnazwaGrzbietu;
            
            private global::System.Data.DataColumn columnID_AGENTA;
            
            private global::System.Data.DataColumn columnCENA_JEDN;
            
            private global::System.Data.DataColumn columnRABAT_WARTOŚĆ;
            
            private global::System.Data.DataColumn columnTYP;
            
            private global::System.Data.DataColumn columnwyroznienie;
            
            private global::System.Data.DataColumn columnwyroznienie_exported;
            
            private global::System.Data.DataColumn columnlogo;
            
            private global::System.Data.DataColumn columnlogoID;
            
            private global::System.Data.DataColumn columnDZIAŁ_TXT;
            
            private global::System.Data.DataColumn columnROZDZIAŁ_TXT;
            
            private global::System.Data.DataColumn columnSTAN;
            
            private global::System.Data.DataColumn columnsTATUS;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public LISTA_REKLAM_NA_WYDANIEDataTable() {
                this.TableName = "LISTA_REKLAM_NA_WYDANIE";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal LISTA_REKLAM_NA_WYDANIEDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected LISTA_REKLAM_NA_WYDANIEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIDColumn {
                get {
                    return this.columnReklamaID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTUŁColumn {
                get {
                    return this.columnTYTUŁ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SZERColumn {
                get {
                    return this.columnSZER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn WYSColumn {
                get {
                    return this.columnWYS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOLORColumn {
                get {
                    return this.columnKOLOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NICK_NAMEColumn {
                get {
                    return this.columnNICK_NAME;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MOD_TYPColumn {
                get {
                    return this.columnMOD_TYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RABATColumn {
                get {
                    return this.columnRABAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn lokalizacjaColumn {
                get {
                    return this.columnlokalizacja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NRColumn {
                get {
                    return this.columnNR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZATWIERDZONO_DO_DRUKUColumn {
                get {
                    return this.columnZATWIERDZONO_DO_DRUKU;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn GRZBIETColumn {
                get {
                    return this.columnGRZBIET;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STRONAColumn {
                get {
                    return this.columnSTRONA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agencjaColumn {
                get {
                    return this.columnagencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBOL_AKWIZYTORAColumn {
                get {
                    return this.columnSYMBOL_AKWIZYTORA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KROTNOŚĆColumn {
                get {
                    return this.columnKROTNOŚĆ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NETTOColumn {
                get {
                    return this.columnNETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nazwaGrzbietuColumn {
                get {
                    return this.columnnazwaGrzbietu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_AGENTAColumn {
                get {
                    return this.columnID_AGENTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CENA_JEDNColumn {
                get {
                    return this.columnCENA_JEDN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RABAT_WARTOŚĆColumn {
                get {
                    return this.columnRABAT_WARTOŚĆ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYPColumn {
                get {
                    return this.columnTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienieColumn {
                get {
                    return this.columnwyroznienie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wyroznienie_exportedColumn {
                get {
                    return this.columnwyroznienie_exported;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn logoColumn {
                get {
                    return this.columnlogo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn logoIDColumn {
                get {
                    return this.columnlogoID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DZIAŁ_TXTColumn {
                get {
                    return this.columnDZIAŁ_TXT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROZDZIAŁ_TXTColumn {
                get {
                    return this.columnROZDZIAŁ_TXT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STANColumn {
                get {
                    return this.columnSTAN;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn sTATUSColumn {
                get {
                    return this.columnsTATUS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public LISTA_REKLAM_NA_WYDANIERow this[int index] {
                get {
                    return ((LISTA_REKLAM_NA_WYDANIERow)(this.Rows[index]));
                }
            }
            
            public event LISTA_REKLAM_NA_WYDANIERowChangeEventHandler LISTA_REKLAM_NA_WYDANIERowChanging;
            
            public event LISTA_REKLAM_NA_WYDANIERowChangeEventHandler LISTA_REKLAM_NA_WYDANIERowChanged;
            
            public event LISTA_REKLAM_NA_WYDANIERowChangeEventHandler LISTA_REKLAM_NA_WYDANIERowDeleting;
            
            public event LISTA_REKLAM_NA_WYDANIERowChangeEventHandler LISTA_REKLAM_NA_WYDANIERowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddLISTA_REKLAM_NA_WYDANIERow(LISTA_REKLAM_NA_WYDANIERow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public LISTA_REKLAM_NA_WYDANIERow AddLISTA_REKLAM_NA_WYDANIERow(
                        string TYTUŁ, 
                        string ID_REKLAMY, 
                        double SZER, 
                        double WYS, 
                        string KOLOR, 
                        string NICK_NAME, 
                        string MOD_TYP, 
                        double RABAT, 
                        string lokalizacja, 
                        short NR, 
                        bool ZATWIERDZONO_DO_DRUKU, 
                        int GRZBIET, 
                        short STRONA, 
                        string agencja, 
                        string SYMBOL_AKWIZYTORA, 
                        short KROTNOŚĆ, 
                        double NETTO, 
                        string nazwaGrzbietu, 
                        double CENA_JEDN, 
                        double RABAT_WARTOŚĆ, 
                        string TYP, 
                        bool wyroznienie, 
                        bool wyroznienie_exported, 
                        bool logo, 
                        int logoID, 
                        string DZIAŁ_TXT, 
                        string ROZDZIAŁ_TXT, 
                        string STAN, 
                        short sTATUS) {
                LISTA_REKLAM_NA_WYDANIERow rowLISTA_REKLAM_NA_WYDANIERow = ((LISTA_REKLAM_NA_WYDANIERow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        TYTUŁ,
                        ID_REKLAMY,
                        SZER,
                        WYS,
                        KOLOR,
                        NICK_NAME,
                        MOD_TYP,
                        RABAT,
                        lokalizacja,
                        NR,
                        ZATWIERDZONO_DO_DRUKU,
                        GRZBIET,
                        STRONA,
                        agencja,
                        SYMBOL_AKWIZYTORA,
                        KROTNOŚĆ,
                        NETTO,
                        nazwaGrzbietu,
                        null,
                        CENA_JEDN,
                        RABAT_WARTOŚĆ,
                        TYP,
                        wyroznienie,
                        wyroznienie_exported,
                        logo,
                        logoID,
                        DZIAŁ_TXT,
                        ROZDZIAŁ_TXT,
                        STAN,
                        sTATUS};
                rowLISTA_REKLAM_NA_WYDANIERow.ItemArray = columnValuesArray;
                this.Rows.Add(rowLISTA_REKLAM_NA_WYDANIERow);
                return rowLISTA_REKLAM_NA_WYDANIERow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                LISTA_REKLAM_NA_WYDANIEDataTable cln = ((LISTA_REKLAM_NA_WYDANIEDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new LISTA_REKLAM_NA_WYDANIEDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnReklamaID = base.Columns["ReklamaID"];
                this.columnTYTUŁ = base.Columns["TYTUŁ"];
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                this.columnSZER = base.Columns["SZER"];
                this.columnWYS = base.Columns["WYS"];
                this.columnKOLOR = base.Columns["KOLOR"];
                this.columnNICK_NAME = base.Columns["NICK NAME"];
                this.columnMOD_TYP = base.Columns["MOD_TYP"];
                this.columnRABAT = base.Columns["RABAT"];
                this.columnlokalizacja = base.Columns["lokalizacja"];
                this.columnNR = base.Columns["NR"];
                this.columnZATWIERDZONO_DO_DRUKU = base.Columns["ZATWIERDZONO DO DRUKU"];
                this.columnGRZBIET = base.Columns["GRZBIET"];
                this.columnSTRONA = base.Columns["STRONA"];
                this.columnagencja = base.Columns["agencja"];
                this.columnSYMBOL_AKWIZYTORA = base.Columns["SYMBOL AKWIZYTORA"];
                this.columnKROTNOŚĆ = base.Columns["KROTNOŚĆ"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnnazwaGrzbietu = base.Columns["nazwaGrzbietu"];
                this.columnID_AGENTA = base.Columns["ID_AGENTA"];
                this.columnCENA_JEDN = base.Columns["CENA JEDN"];
                this.columnRABAT_WARTOŚĆ = base.Columns["RABAT WARTOŚĆ"];
                this.columnTYP = base.Columns["TYP"];
                this.columnwyroznienie = base.Columns["wyroznienie"];
                this.columnwyroznienie_exported = base.Columns["wyroznienie_exported"];
                this.columnlogo = base.Columns["logo"];
                this.columnlogoID = base.Columns["logoID"];
                this.columnDZIAŁ_TXT = base.Columns["DZIAŁ_TXT"];
                this.columnROZDZIAŁ_TXT = base.Columns["ROZDZIAŁ_TXT"];
                this.columnSTAN = base.Columns["STAN"];
                this.columnsTATUS = base.Columns["sTATUS"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnReklamaID = new global::System.Data.DataColumn("ReklamaID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaID);
                this.columnTYTUŁ = new global::System.Data.DataColumn("TYTUŁ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUŁ);
                this.columnID_REKLAMY = new global::System.Data.DataColumn("ID REKLAMY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_REKLAMY);
                this.columnSZER = new global::System.Data.DataColumn("SZER", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSZER);
                this.columnWYS = new global::System.Data.DataColumn("WYS", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnWYS);
                this.columnKOLOR = new global::System.Data.DataColumn("KOLOR", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOLOR);
                this.columnNICK_NAME = new global::System.Data.DataColumn("NICK NAME", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNICK_NAME);
                this.columnMOD_TYP = new global::System.Data.DataColumn("MOD_TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMOD_TYP);
                this.columnRABAT = new global::System.Data.DataColumn("RABAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRABAT);
                this.columnlokalizacja = new global::System.Data.DataColumn("lokalizacja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlokalizacja);
                this.columnNR = new global::System.Data.DataColumn("NR", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR);
                this.columnZATWIERDZONO_DO_DRUKU = new global::System.Data.DataColumn("ZATWIERDZONO DO DRUKU", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZATWIERDZONO_DO_DRUKU);
                this.columnGRZBIET = new global::System.Data.DataColumn("GRZBIET", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnGRZBIET);
                this.columnSTRONA = new global::System.Data.DataColumn("STRONA", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTRONA);
                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagencja);
                this.columnSYMBOL_AKWIZYTORA = new global::System.Data.DataColumn("SYMBOL AKWIZYTORA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMBOL_AKWIZYTORA);
                this.columnKROTNOŚĆ = new global::System.Data.DataColumn("KROTNOŚĆ", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKROTNOŚĆ);
                this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNETTO);
                this.columnnazwaGrzbietu = new global::System.Data.DataColumn("nazwaGrzbietu", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnazwaGrzbietu);
                this.columnID_AGENTA = new global::System.Data.DataColumn("ID_AGENTA", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_AGENTA);
                this.columnCENA_JEDN = new global::System.Data.DataColumn("CENA JEDN", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCENA_JEDN);
                this.columnRABAT_WARTOŚĆ = new global::System.Data.DataColumn("RABAT WARTOŚĆ", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRABAT_WARTOŚĆ);
                this.columnTYP = new global::System.Data.DataColumn("TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYP);
                this.columnwyroznienie = new global::System.Data.DataColumn("wyroznienie", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie);
                this.columnwyroznienie_exported = new global::System.Data.DataColumn("wyroznienie_exported", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwyroznienie_exported);
                this.columnlogo = new global::System.Data.DataColumn("logo", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlogo);
                this.columnlogoID = new global::System.Data.DataColumn("logoID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlogoID);
                this.columnDZIAŁ_TXT = new global::System.Data.DataColumn("DZIAŁ_TXT", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDZIAŁ_TXT);
                this.columnROZDZIAŁ_TXT = new global::System.Data.DataColumn("ROZDZIAŁ_TXT", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROZDZIAŁ_TXT);
                this.columnSTAN = new global::System.Data.DataColumn("STAN", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTAN);
                this.columnsTATUS = new global::System.Data.DataColumn("sTATUS", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsTATUS);
                this.columnReklamaID.AutoIncrement = true;
                this.columnReklamaID.AllowDBNull = false;
                this.columnReklamaID.ReadOnly = true;
                this.columnTYTUŁ.MaxLength = 5;
                this.columnID_REKLAMY.MaxLength = 10;
                this.columnKOLOR.MaxLength = 5;
                this.columnNICK_NAME.MaxLength = 50;
                this.columnMOD_TYP.MaxLength = 15;
                this.columnlokalizacja.MaxLength = 25;
                this.columnNR.AllowDBNull = false;
                this.columnagencja.MaxLength = 50;
                this.columnSYMBOL_AKWIZYTORA.MaxLength = 25;
                this.columnnazwaGrzbietu.MaxLength = 50;
                this.columnID_AGENTA.AutoIncrement = true;
                this.columnID_AGENTA.AllowDBNull = false;
                this.columnID_AGENTA.ReadOnly = true;
                this.columnTYP.MaxLength = 10;
                this.columnwyroznienie.AllowDBNull = false;
                this.columnwyroznienie_exported.AllowDBNull = false;
                this.columnlogo.AllowDBNull = false;
                this.columnDZIAŁ_TXT.MaxLength = 25;
                this.columnROZDZIAŁ_TXT.MaxLength = 255;
                this.columnSTAN.MaxLength = 20;
                this.columnsTATUS.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public LISTA_REKLAM_NA_WYDANIERow NewLISTA_REKLAM_NA_WYDANIERow() {
                return ((LISTA_REKLAM_NA_WYDANIERow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new LISTA_REKLAM_NA_WYDANIERow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(LISTA_REKLAM_NA_WYDANIERow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.LISTA_REKLAM_NA_WYDANIERowChanged != null)) {
                    this.LISTA_REKLAM_NA_WYDANIERowChanged(this, new LISTA_REKLAM_NA_WYDANIERowChangeEvent(((LISTA_REKLAM_NA_WYDANIERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.LISTA_REKLAM_NA_WYDANIERowChanging != null)) {
                    this.LISTA_REKLAM_NA_WYDANIERowChanging(this, new LISTA_REKLAM_NA_WYDANIERowChangeEvent(((LISTA_REKLAM_NA_WYDANIERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.LISTA_REKLAM_NA_WYDANIERowDeleted != null)) {
                    this.LISTA_REKLAM_NA_WYDANIERowDeleted(this, new LISTA_REKLAM_NA_WYDANIERowChangeEvent(((LISTA_REKLAM_NA_WYDANIERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.LISTA_REKLAM_NA_WYDANIERowDeleting != null)) {
                    this.LISTA_REKLAM_NA_WYDANIERowDeleting(this, new LISTA_REKLAM_NA_WYDANIERowChangeEvent(((LISTA_REKLAM_NA_WYDANIERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveLISTA_REKLAM_NA_WYDANIERow(LISTA_REKLAM_NA_WYDANIERow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "LISTA_REKLAM_NA_WYDANIEDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class Reklama_Info_DodDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnReklama_Info_Dod_ID;
            
            private global::System.Data.DataColumn columnReklamaId;
            
            private global::System.Data.DataColumn columnData;
            
            private global::System.Data.DataColumn columnReklama_Info_Dod;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodDataTable() {
                this.TableName = "Reklama_Info_Dod";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Reklama_Info_DodDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected Reklama_Info_DodDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Reklama_Info_Dod_IDColumn {
                get {
                    return this.columnReklama_Info_Dod_ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIdColumn {
                get {
                    return this.columnReklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DataColumn {
                get {
                    return this.columnData;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Reklama_Info_DodColumn {
                get {
                    return this.columnReklama_Info_Dod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRow this[int index] {
                get {
                    return ((Reklama_Info_DodRow)(this.Rows[index]));
                }
            }
            
            public event Reklama_Info_DodRowChangeEventHandler Reklama_Info_DodRowChanging;
            
            public event Reklama_Info_DodRowChangeEventHandler Reklama_Info_DodRowChanged;
            
            public event Reklama_Info_DodRowChangeEventHandler Reklama_Info_DodRowDeleting;
            
            public event Reklama_Info_DodRowChangeEventHandler Reklama_Info_DodRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddReklama_Info_DodRow(Reklama_Info_DodRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRow AddReklama_Info_DodRow(REKLAMARow parentREKLAMARowByREKLAMA_Reklama_Info_Dod, System.DateTime Data, string Reklama_Info_Dod) {
                Reklama_Info_DodRow rowReklama_Info_DodRow = ((Reklama_Info_DodRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        Data,
                        Reklama_Info_Dod};
                if ((parentREKLAMARowByREKLAMA_Reklama_Info_Dod != null)) {
                    columnValuesArray[1] = parentREKLAMARowByREKLAMA_Reklama_Info_Dod[0];
                }
                rowReklama_Info_DodRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowReklama_Info_DodRow);
                return rowReklama_Info_DodRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRow FindByReklama_Info_Dod_ID(int Reklama_Info_Dod_ID) {
                return ((Reklama_Info_DodRow)(this.Rows.Find(new object[] {
                            Reklama_Info_Dod_ID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                Reklama_Info_DodDataTable cln = ((Reklama_Info_DodDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new Reklama_Info_DodDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnReklama_Info_Dod_ID = base.Columns["Reklama_Info_Dod_ID"];
                this.columnReklamaId = base.Columns["ReklamaId"];
                this.columnData = base.Columns["Data"];
                this.columnReklama_Info_Dod = base.Columns["Reklama_Info_Dod"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnReklama_Info_Dod_ID = new global::System.Data.DataColumn("Reklama_Info_Dod_ID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklama_Info_Dod_ID);
                this.columnReklamaId = new global::System.Data.DataColumn("ReklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaId);
                this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnData);
                this.columnReklama_Info_Dod = new global::System.Data.DataColumn("Reklama_Info_Dod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklama_Info_Dod);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnReklama_Info_Dod_ID}, true));
                this.columnReklama_Info_Dod_ID.AutoIncrement = true;
                this.columnReklama_Info_Dod_ID.AutoIncrementSeed = -1;
                this.columnReklama_Info_Dod_ID.AutoIncrementStep = -1;
                this.columnReklama_Info_Dod_ID.AllowDBNull = false;
                this.columnReklama_Info_Dod_ID.ReadOnly = true;
                this.columnReklama_Info_Dod_ID.Unique = true;
                this.columnReklamaId.AllowDBNull = false;
                this.columnReklama_Info_Dod.MaxLength = 100;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRow NewReklama_Info_DodRow() {
                return ((Reklama_Info_DodRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new Reklama_Info_DodRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(Reklama_Info_DodRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.Reklama_Info_DodRowChanged != null)) {
                    this.Reklama_Info_DodRowChanged(this, new Reklama_Info_DodRowChangeEvent(((Reklama_Info_DodRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.Reklama_Info_DodRowChanging != null)) {
                    this.Reklama_Info_DodRowChanging(this, new Reklama_Info_DodRowChangeEvent(((Reklama_Info_DodRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.Reklama_Info_DodRowDeleted != null)) {
                    this.Reklama_Info_DodRowDeleted(this, new Reklama_Info_DodRowChangeEvent(((Reklama_Info_DodRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.Reklama_Info_DodRowDeleting != null)) {
                    this.Reklama_Info_DodRowDeleting(this, new Reklama_Info_DodRowChangeEvent(((Reklama_Info_DodRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveReklama_Info_DodRow(Reklama_Info_DodRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "Reklama_Info_DodDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KLIENCI_TYTULDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_KLIENCI_TYTUL;
            
            private global::System.Data.DataColumn columnTYTUL;
            
            private global::System.Data.DataColumn columnCustomerid;
            
            private global::System.Data.DataColumn columnusername;
            
            private global::System.Data.DataColumn columndata;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_TYTULDataTable() {
                this.TableName = "KLIENCI_TYTUL";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCI_TYTULDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KLIENCI_TYTULDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_KLIENCI_TYTULColumn {
                get {
                    return this.columnID_KLIENCI_TYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTULColumn {
                get {
                    return this.columnTYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomeridColumn {
                get {
                    return this.columnCustomerid;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn usernameColumn {
                get {
                    return this.columnusername;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataColumn {
                get {
                    return this.columndata;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_TYTULRow this[int index] {
                get {
                    return ((KLIENCI_TYTULRow)(this.Rows[index]));
                }
            }
            
            public event KLIENCI_TYTULRowChangeEventHandler KLIENCI_TYTULRowChanging;
            
            public event KLIENCI_TYTULRowChangeEventHandler KLIENCI_TYTULRowChanged;
            
            public event KLIENCI_TYTULRowChangeEventHandler KLIENCI_TYTULRowDeleting;
            
            public event KLIENCI_TYTULRowChangeEventHandler KLIENCI_TYTULRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKLIENCI_TYTULRow(KLIENCI_TYTULRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_TYTULRow AddKLIENCI_TYTULRow(string TYTUL, int Customerid, string username, System.DateTime data) {
                KLIENCI_TYTULRow rowKLIENCI_TYTULRow = ((KLIENCI_TYTULRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        TYTUL,
                        Customerid,
                        username,
                        data};
                rowKLIENCI_TYTULRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKLIENCI_TYTULRow);
                return rowKLIENCI_TYTULRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KLIENCI_TYTULDataTable cln = ((KLIENCI_TYTULDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KLIENCI_TYTULDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_KLIENCI_TYTUL = base.Columns["ID_KLIENCI_TYTUL"];
                this.columnTYTUL = base.Columns["TYTUL"];
                this.columnCustomerid = base.Columns["Customerid"];
                this.columnusername = base.Columns["username"];
                this.columndata = base.Columns["data"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_KLIENCI_TYTUL = new global::System.Data.DataColumn("ID_KLIENCI_TYTUL", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_KLIENCI_TYTUL);
                this.columnTYTUL = new global::System.Data.DataColumn("TYTUL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUL);
                this.columnCustomerid = new global::System.Data.DataColumn("Customerid", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerid);
                this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnusername);
                this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata);
                this.columnID_KLIENCI_TYTUL.AutoIncrement = true;
                this.columnID_KLIENCI_TYTUL.AllowDBNull = false;
                this.columnID_KLIENCI_TYTUL.ReadOnly = true;
                this.columnTYTUL.AllowDBNull = false;
                this.columnTYTUL.MaxLength = 5;
                this.columnCustomerid.AllowDBNull = false;
                this.columnusername.AllowDBNull = false;
                this.columnusername.MaxLength = 20;
                this.columndata.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_TYTULRow NewKLIENCI_TYTULRow() {
                return ((KLIENCI_TYTULRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KLIENCI_TYTULRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KLIENCI_TYTULRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KLIENCI_TYTULRowChanged != null)) {
                    this.KLIENCI_TYTULRowChanged(this, new KLIENCI_TYTULRowChangeEvent(((KLIENCI_TYTULRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KLIENCI_TYTULRowChanging != null)) {
                    this.KLIENCI_TYTULRowChanging(this, new KLIENCI_TYTULRowChangeEvent(((KLIENCI_TYTULRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KLIENCI_TYTULRowDeleted != null)) {
                    this.KLIENCI_TYTULRowDeleted(this, new KLIENCI_TYTULRowChangeEvent(((KLIENCI_TYTULRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KLIENCI_TYTULRowDeleting != null)) {
                    this.KLIENCI_TYTULRowDeleting(this, new KLIENCI_TYTULRowChangeEvent(((KLIENCI_TYTULRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKLIENCI_TYTULRow(KLIENCI_TYTULRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "KLIENCI_TYTULDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class KLIENCI_INTERNET_LOGODataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID;
            
            private global::System.Data.DataColumn columncustomerID;
            
            private global::System.Data.DataColumn columnnazwa;
            
            private global::System.Data.DataColumn columnstatus;
            
            private global::System.Data.DataColumn columnlogo;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGODataTable() {
                this.TableName = "KLIENCI_INTERNET_LOGO";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCI_INTERNET_LOGODataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected KLIENCI_INTERNET_LOGODataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn IDColumn {
                get {
                    return this.columnID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn customerIDColumn {
                get {
                    return this.columncustomerID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nazwaColumn {
                get {
                    return this.columnnazwa;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn statusColumn {
                get {
                    return this.columnstatus;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn logoColumn {
                get {
                    return this.columnlogo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORow this[int index] {
                get {
                    return ((KLIENCI_INTERNET_LOGORow)(this.Rows[index]));
                }
            }
            
            public event KLIENCI_INTERNET_LOGORowChangeEventHandler KLIENCI_INTERNET_LOGORowChanging;
            
            public event KLIENCI_INTERNET_LOGORowChangeEventHandler KLIENCI_INTERNET_LOGORowChanged;
            
            public event KLIENCI_INTERNET_LOGORowChangeEventHandler KLIENCI_INTERNET_LOGORowDeleting;
            
            public event KLIENCI_INTERNET_LOGORowChangeEventHandler KLIENCI_INTERNET_LOGORowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddKLIENCI_INTERNET_LOGORow(KLIENCI_INTERNET_LOGORow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORow AddKLIENCI_INTERNET_LOGORow(KLIENCIRow parentKLIENCIRowByFK_KLIENCI_INTERNET_LOGO_KLIENCI, string nazwa, string status, byte[] logo) {
                KLIENCI_INTERNET_LOGORow rowKLIENCI_INTERNET_LOGORow = ((KLIENCI_INTERNET_LOGORow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        nazwa,
                        status,
                        logo};
                if ((parentKLIENCIRowByFK_KLIENCI_INTERNET_LOGO_KLIENCI != null)) {
                    columnValuesArray[1] = parentKLIENCIRowByFK_KLIENCI_INTERNET_LOGO_KLIENCI[25];
                }
                rowKLIENCI_INTERNET_LOGORow.ItemArray = columnValuesArray;
                this.Rows.Add(rowKLIENCI_INTERNET_LOGORow);
                return rowKLIENCI_INTERNET_LOGORow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORow FindByID(int ID) {
                return ((KLIENCI_INTERNET_LOGORow)(this.Rows.Find(new object[] {
                            ID})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                KLIENCI_INTERNET_LOGODataTable cln = ((KLIENCI_INTERNET_LOGODataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new KLIENCI_INTERNET_LOGODataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID = base.Columns["ID"];
                this.columncustomerID = base.Columns["customerID"];
                this.columnnazwa = base.Columns["nazwa"];
                this.columnstatus = base.Columns["status"];
                this.columnlogo = base.Columns["logo"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columncustomerID = new global::System.Data.DataColumn("customerID", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncustomerID);
                this.columnnazwa = new global::System.Data.DataColumn("nazwa", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnazwa);
                this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnstatus);
                this.columnlogo = new global::System.Data.DataColumn("logo", typeof(byte[]), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnlogo);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID}, true));
                this.columnID.AutoIncrement = true;
                this.columnID.AllowDBNull = false;
                this.columnID.ReadOnly = true;
                this.columnID.Unique = true;
                this.columncustomerID.AllowDBNull = false;
                this.columnnazwa.MaxLength = 50;
                this.columnstatus.MaxLength = 50;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORow NewKLIENCI_INTERNET_LOGORow() {
                return ((KLIENCI_INTERNET_LOGORow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new KLIENCI_INTERNET_LOGORow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(KLIENCI_INTERNET_LOGORow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.KLIENCI_INTERNET_LOGORowChanged != null)) {
                    this.KLIENCI_INTERNET_LOGORowChanged(this, new KLIENCI_INTERNET_LOGORowChangeEvent(((KLIENCI_INTERNET_LOGORow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.KLIENCI_INTERNET_LOGORowChanging != null)) {
                    this.KLIENCI_INTERNET_LOGORowChanging(this, new KLIENCI_INTERNET_LOGORowChangeEvent(((KLIENCI_INTERNET_LOGORow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.KLIENCI_INTERNET_LOGORowDeleted != null)) {
                    this.KLIENCI_INTERNET_LOGORowDeleted(this, new KLIENCI_INTERNET_LOGORowChangeEvent(((KLIENCI_INTERNET_LOGORow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.KLIENCI_INTERNET_LOGORowDeleting != null)) {
                    this.KLIENCI_INTERNET_LOGORowDeleting(this, new KLIENCI_INTERNET_LOGORowChangeEvent(((KLIENCI_INTERNET_LOGORow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveKLIENCI_INTERNET_LOGORow(KLIENCI_INTERNET_LOGORow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "KLIENCI_INTERNET_LOGODataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class zmianyEmisjiDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnid;
            
            private global::System.Data.DataColumn columnidEmisji;
            
            private global::System.Data.DataColumn columnpopNrWyd;
            
            private global::System.Data.DataColumn columnnastNrWyd;
            
            private global::System.Data.DataColumn columndataZmiany;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiDataTable() {
                this.TableName = "zmianyEmisji";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal zmianyEmisjiDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected zmianyEmisjiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idColumn {
                get {
                    return this.columnid;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idEmisjiColumn {
                get {
                    return this.columnidEmisji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn popNrWydColumn {
                get {
                    return this.columnpopNrWyd;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nastNrWydColumn {
                get {
                    return this.columnnastNrWyd;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataZmianyColumn {
                get {
                    return this.columndataZmiany;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiRow this[int index] {
                get {
                    return ((zmianyEmisjiRow)(this.Rows[index]));
                }
            }
            
            public event zmianyEmisjiRowChangeEventHandler zmianyEmisjiRowChanging;
            
            public event zmianyEmisjiRowChangeEventHandler zmianyEmisjiRowChanged;
            
            public event zmianyEmisjiRowChangeEventHandler zmianyEmisjiRowDeleting;
            
            public event zmianyEmisjiRowChangeEventHandler zmianyEmisjiRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddzmianyEmisjiRow(zmianyEmisjiRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiRow AddzmianyEmisjiRow(UKAZE_SIE_W_NRRow parentUKAZE_SIE_W_NRRowByFK_UKAZE_SIE_W_NR_zmianyEmisji, short popNrWyd, short nastNrWyd, System.DateTime dataZmiany) {
                zmianyEmisjiRow rowzmianyEmisjiRow = ((zmianyEmisjiRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        popNrWyd,
                        nastNrWyd,
                        dataZmiany};
                if ((parentUKAZE_SIE_W_NRRowByFK_UKAZE_SIE_W_NR_zmianyEmisji != null)) {
                    columnValuesArray[1] = parentUKAZE_SIE_W_NRRowByFK_UKAZE_SIE_W_NR_zmianyEmisji[0];
                }
                rowzmianyEmisjiRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowzmianyEmisjiRow);
                return rowzmianyEmisjiRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                zmianyEmisjiDataTable cln = ((zmianyEmisjiDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new zmianyEmisjiDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnid = base.Columns["id"];
                this.columnidEmisji = base.Columns["idEmisji"];
                this.columnpopNrWyd = base.Columns["popNrWyd"];
                this.columnnastNrWyd = base.Columns["nastNrWyd"];
                this.columndataZmiany = base.Columns["dataZmiany"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnid = new global::System.Data.DataColumn("id", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnid);
                this.columnidEmisji = new global::System.Data.DataColumn("idEmisji", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidEmisji);
                this.columnpopNrWyd = new global::System.Data.DataColumn("popNrWyd", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnpopNrWyd);
                this.columnnastNrWyd = new global::System.Data.DataColumn("nastNrWyd", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnastNrWyd);
                this.columndataZmiany = new global::System.Data.DataColumn("dataZmiany", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataZmiany);
                this.columnid.AutoIncrement = true;
                this.columnid.AutoIncrementStep = -1;
                this.columnid.AllowDBNull = false;
                this.columnid.ReadOnly = true;
                this.columnidEmisji.AllowDBNull = false;
                this.columnpopNrWyd.AllowDBNull = false;
                this.columnnastNrWyd.AllowDBNull = false;
                this.columndataZmiany.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiRow NewzmianyEmisjiRow() {
                return ((zmianyEmisjiRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new zmianyEmisjiRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(zmianyEmisjiRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.zmianyEmisjiRowChanged != null)) {
                    this.zmianyEmisjiRowChanged(this, new zmianyEmisjiRowChangeEvent(((zmianyEmisjiRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.zmianyEmisjiRowChanging != null)) {
                    this.zmianyEmisjiRowChanging(this, new zmianyEmisjiRowChangeEvent(((zmianyEmisjiRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.zmianyEmisjiRowDeleted != null)) {
                    this.zmianyEmisjiRowDeleted(this, new zmianyEmisjiRowChangeEvent(((zmianyEmisjiRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.zmianyEmisjiRowDeleting != null)) {
                    this.zmianyEmisjiRowDeleting(this, new zmianyEmisjiRowChangeEvent(((zmianyEmisjiRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovezmianyEmisjiRow(zmianyEmisjiRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "zmianyEmisjiDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class zamowieniaDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnidKlienta;
            
            private global::System.Data.DataColumn columnrodzajFakturowania;
            
            private global::System.Data.DataColumn columnzafakturowano;
            
            private global::System.Data.DataColumn columnidKonta;
            
            private global::System.Data.DataColumn columnnrZamowienia;
            
            private global::System.Data.DataColumn columnrokZamowienia;
            
            private global::System.Data.DataColumn columnsposobZaplaty;
            
            private global::System.Data.DataColumn columnczasPlatnosci;
            
            private global::System.Data.DataColumn columnkodAgenta;
            
            private global::System.Data.DataColumn columndataOstatniejZafakturowanejEmisji;
            
            private global::System.Data.DataColumn columnnotatkaZamowienie;
            
            private global::System.Data.DataColumn columnnotatkaKierownik;
            
            private global::System.Data.DataColumn columnzafakturowanoWszystko;
            
            private global::System.Data.DataColumn columnprocentProwizji;
            
            private global::System.Data.DataColumn columnZP;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaDataTable() {
                this.TableName = "zamowienia";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal zamowieniaDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected zamowieniaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idKlientaColumn {
                get {
                    return this.columnidKlienta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rodzajFakturowaniaColumn {
                get {
                    return this.columnrodzajFakturowania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zafakturowanoColumn {
                get {
                    return this.columnzafakturowano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idKontaColumn {
                get {
                    return this.columnidKonta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nrZamowieniaColumn {
                get {
                    return this.columnnrZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rokZamowieniaColumn {
                get {
                    return this.columnrokZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn sposobZaplatyColumn {
                get {
                    return this.columnsposobZaplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn czasPlatnosciColumn {
                get {
                    return this.columnczasPlatnosci;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodAgentaColumn {
                get {
                    return this.columnkodAgenta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataOstatniejZafakturowanejEmisjiColumn {
                get {
                    return this.columndataOstatniejZafakturowanejEmisji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn notatkaZamowienieColumn {
                get {
                    return this.columnnotatkaZamowienie;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn notatkaKierownikColumn {
                get {
                    return this.columnnotatkaKierownik;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zafakturowanoWszystkoColumn {
                get {
                    return this.columnzafakturowanoWszystko;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn procentProwizjiColumn {
                get {
                    return this.columnprocentProwizji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZPColumn {
                get {
                    return this.columnZP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaRow this[int index] {
                get {
                    return ((zamowieniaRow)(this.Rows[index]));
                }
            }
            
            public event zamowieniaRowChangeEventHandler zamowieniaRowChanging;
            
            public event zamowieniaRowChangeEventHandler zamowieniaRowChanged;
            
            public event zamowieniaRowChangeEventHandler zamowieniaRowDeleting;
            
            public event zamowieniaRowChangeEventHandler zamowieniaRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddzamowieniaRow(zamowieniaRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaRow AddzamowieniaRow(int idKlienta, short rodzajFakturowania, bool zafakturowano, int idKonta, int nrZamowienia, int rokZamowienia, short sposobZaplaty, int czasPlatnosci, string kodAgenta, System.DateTime dataOstatniejZafakturowanejEmisji, string notatkaZamowienie, string notatkaKierownik, bool zafakturowanoWszystko, double procentProwizji, bool ZP) {
                zamowieniaRow rowzamowieniaRow = ((zamowieniaRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        idKlienta,
                        rodzajFakturowania,
                        zafakturowano,
                        idKonta,
                        nrZamowienia,
                        rokZamowienia,
                        sposobZaplaty,
                        czasPlatnosci,
                        kodAgenta,
                        dataOstatniejZafakturowanejEmisji,
                        notatkaZamowienie,
                        notatkaKierownik,
                        zafakturowanoWszystko,
                        procentProwizji,
                        ZP};
                rowzamowieniaRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowzamowieniaRow);
                return rowzamowieniaRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaRow FindByidZamowienia(int idZamowienia) {
                return ((zamowieniaRow)(this.Rows.Find(new object[] {
                            idZamowienia})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                zamowieniaDataTable cln = ((zamowieniaDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new zamowieniaDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnidKlienta = base.Columns["idKlienta"];
                this.columnrodzajFakturowania = base.Columns["rodzajFakturowania"];
                this.columnzafakturowano = base.Columns["zafakturowano"];
                this.columnidKonta = base.Columns["idKonta"];
                this.columnnrZamowienia = base.Columns["nrZamowienia"];
                this.columnrokZamowienia = base.Columns["rokZamowienia"];
                this.columnsposobZaplaty = base.Columns["sposobZaplaty"];
                this.columnczasPlatnosci = base.Columns["czasPlatnosci"];
                this.columnkodAgenta = base.Columns["kodAgenta"];
                this.columndataOstatniejZafakturowanejEmisji = base.Columns["dataOstatniejZafakturowanejEmisji"];
                this.columnnotatkaZamowienie = base.Columns["notatkaZamowienie"];
                this.columnnotatkaKierownik = base.Columns["notatkaKierownik"];
                this.columnzafakturowanoWszystko = base.Columns["zafakturowanoWszystko"];
                this.columnprocentProwizji = base.Columns["procentProwizji"];
                this.columnZP = base.Columns["ZP"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnidKlienta = new global::System.Data.DataColumn("idKlienta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidKlienta);
                this.columnrodzajFakturowania = new global::System.Data.DataColumn("rodzajFakturowania", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrodzajFakturowania);
                this.columnzafakturowano = new global::System.Data.DataColumn("zafakturowano", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzafakturowano);
                this.columnidKonta = new global::System.Data.DataColumn("idKonta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidKonta);
                this.columnnrZamowienia = new global::System.Data.DataColumn("nrZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnrZamowienia);
                this.columnrokZamowienia = new global::System.Data.DataColumn("rokZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrokZamowienia);
                this.columnsposobZaplaty = new global::System.Data.DataColumn("sposobZaplaty", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsposobZaplaty);
                this.columnczasPlatnosci = new global::System.Data.DataColumn("czasPlatnosci", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnczasPlatnosci);
                this.columnkodAgenta = new global::System.Data.DataColumn("kodAgenta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkodAgenta);
                this.columndataOstatniejZafakturowanejEmisji = new global::System.Data.DataColumn("dataOstatniejZafakturowanejEmisji", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataOstatniejZafakturowanejEmisji);
                this.columnnotatkaZamowienie = new global::System.Data.DataColumn("notatkaZamowienie", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnotatkaZamowienie);
                this.columnnotatkaKierownik = new global::System.Data.DataColumn("notatkaKierownik", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnotatkaKierownik);
                this.columnzafakturowanoWszystko = new global::System.Data.DataColumn("zafakturowanoWszystko", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzafakturowanoWszystko);
                this.columnprocentProwizji = new global::System.Data.DataColumn("procentProwizji", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnprocentProwizji);
                this.columnZP = new global::System.Data.DataColumn("ZP", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZP);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnidZamowienia}, true));
                this.columnidZamowienia.AutoIncrement = true;
                this.columnidZamowienia.AutoIncrementSeed = -1;
                this.columnidZamowienia.AllowDBNull = false;
                this.columnidZamowienia.ReadOnly = true;
                this.columnidZamowienia.Unique = true;
                this.columnidKlienta.AllowDBNull = false;
                this.columnrodzajFakturowania.DefaultValue = ((short)(0));
                this.columnzafakturowano.AllowDBNull = false;
                this.columnzafakturowano.DefaultValue = ((bool)(false));
                this.columnnrZamowienia.AllowDBNull = false;
                this.columnrokZamowienia.AllowDBNull = false;
                this.columnsposobZaplaty.DefaultValue = ((short)(1));
                this.columnczasPlatnosci.DefaultValue = ((int)(7));
                this.columnkodAgenta.MaxLength = 3;
                this.columnnotatkaZamowienie.MaxLength = 200;
                this.columnnotatkaKierownik.MaxLength = 200;
                this.columnzafakturowanoWszystko.AllowDBNull = false;
                this.columnzafakturowanoWszystko.DefaultValue = ((bool)(false));
                this.columnprocentProwizji.DefaultValue = ((double)(0));
                this.columnZP.DefaultValue = ((bool)(false));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaRow NewzamowieniaRow() {
                return ((zamowieniaRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new zamowieniaRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(zamowieniaRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.zamowieniaRowChanged != null)) {
                    this.zamowieniaRowChanged(this, new zamowieniaRowChangeEvent(((zamowieniaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.zamowieniaRowChanging != null)) {
                    this.zamowieniaRowChanging(this, new zamowieniaRowChangeEvent(((zamowieniaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.zamowieniaRowDeleted != null)) {
                    this.zamowieniaRowDeleted(this, new zamowieniaRowChangeEvent(((zamowieniaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.zamowieniaRowDeleting != null)) {
                    this.zamowieniaRowDeleting(this, new zamowieniaRowChangeEvent(((zamowieniaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovezamowieniaRow(zamowieniaRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "zamowieniaDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class DatyWydanDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnReklamaId;
            
            private global::System.Data.DataColumn columnNr_Wydania;
            
            private global::System.Data.DataColumn columnrok;
            
            private global::System.Data.DataColumn columnms;
            
            private global::System.Data.DataColumn columnDATA_W;
            
            private global::System.Data.DataColumn columnidTytulu;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanDataTable() {
                this.TableName = "DatyWydan";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal DatyWydanDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected DatyWydanDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ReklamaIdColumn {
                get {
                    return this.columnReklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Nr_WydaniaColumn {
                get {
                    return this.columnNr_Wydania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rokColumn {
                get {
                    return this.columnrok;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn msColumn {
                get {
                    return this.columnms;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_WColumn {
                get {
                    return this.columnDATA_W;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idTytuluColumn {
                get {
                    return this.columnidTytulu;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanRow this[int index] {
                get {
                    return ((DatyWydanRow)(this.Rows[index]));
                }
            }
            
            public event DatyWydanRowChangeEventHandler DatyWydanRowChanging;
            
            public event DatyWydanRowChangeEventHandler DatyWydanRowChanged;
            
            public event DatyWydanRowChangeEventHandler DatyWydanRowDeleting;
            
            public event DatyWydanRowChangeEventHandler DatyWydanRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddDatyWydanRow(DatyWydanRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanRow AddDatyWydanRow(int ReklamaId, short Nr_Wydania, int rok, int ms, System.DateTime DATA_W) {
                DatyWydanRow rowDatyWydanRow = ((DatyWydanRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ReklamaId,
                        Nr_Wydania,
                        rok,
                        ms,
                        DATA_W,
                        null};
                rowDatyWydanRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowDatyWydanRow);
                return rowDatyWydanRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                DatyWydanDataTable cln = ((DatyWydanDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new DatyWydanDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnReklamaId = base.Columns["ReklamaId"];
                this.columnNr_Wydania = base.Columns["Nr Wydania"];
                this.columnrok = base.Columns["rok"];
                this.columnms = base.Columns["ms"];
                this.columnDATA_W = base.Columns["DATA_W"];
                this.columnidTytulu = base.Columns["idTytulu"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnReklamaId = new global::System.Data.DataColumn("ReklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnReklamaId);
                this.columnNr_Wydania = new global::System.Data.DataColumn("Nr Wydania", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNr_Wydania);
                this.columnrok = new global::System.Data.DataColumn("rok", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrok);
                this.columnms = new global::System.Data.DataColumn("ms", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnms);
                this.columnDATA_W = new global::System.Data.DataColumn("DATA_W", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_W);
                this.columnidTytulu = new global::System.Data.DataColumn("idTytulu", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidTytulu);
                this.columnReklamaId.AllowDBNull = false;
                this.columnNr_Wydania.AllowDBNull = false;
                this.columnrok.ReadOnly = true;
                this.columnms.ReadOnly = true;
                this.columnidTytulu.AutoIncrement = true;
                this.columnidTytulu.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanRow NewDatyWydanRow() {
                return ((DatyWydanRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new DatyWydanRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(DatyWydanRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.DatyWydanRowChanged != null)) {
                    this.DatyWydanRowChanged(this, new DatyWydanRowChangeEvent(((DatyWydanRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.DatyWydanRowChanging != null)) {
                    this.DatyWydanRowChanging(this, new DatyWydanRowChangeEvent(((DatyWydanRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.DatyWydanRowDeleted != null)) {
                    this.DatyWydanRowDeleted(this, new DatyWydanRowChangeEvent(((DatyWydanRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.DatyWydanRowDeleting != null)) {
                    this.DatyWydanRowDeleting(this, new DatyWydanRowChangeEvent(((DatyWydanRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveDatyWydanRow(DatyWydanRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "DatyWydanDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnidKlienta;
            
            private global::System.Data.DataColumn columnDoZafakturowania;
            
            private global::System.Data.DataColumn columnkodAgenta;
            
            private global::System.Data.DataColumn columnrokZamowienia;
            
            private global::System.Data.DataColumn columnwartoscNetto;
            
            private global::System.Data.DataColumn columnagencja;
            
            private global::System.Data.DataColumn columnagent;
            
            private global::System.Data.DataColumn columnnrZamowienia;
            
            private global::System.Data.DataColumn columnnrZamowieniaExt;
            
            private global::System.Data.DataColumn columniloscReklam;
            
            private global::System.Data.DataColumn columnkwotaWalutaBrutto;
            
            private global::System.Data.DataColumn columndata_od;
            
            private global::System.Data.DataColumn columndata_od_bez_FK;
            
            private global::System.Data.DataColumn columnnettoZafakturowane;
            
            private global::System.Data.DataColumn columnBrutto_Euro_Miano;
            
            private global::System.Data.DataColumn columnkodKlienta;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable() {
                this.TableName = "VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idKlientaColumn {
                get {
                    return this.columnidKlienta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DoZafakturowaniaColumn {
                get {
                    return this.columnDoZafakturowania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodAgentaColumn {
                get {
                    return this.columnkodAgenta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rokZamowieniaColumn {
                get {
                    return this.columnrokZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wartoscNettoColumn {
                get {
                    return this.columnwartoscNetto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agencjaColumn {
                get {
                    return this.columnagencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agentColumn {
                get {
                    return this.columnagent;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nrZamowieniaColumn {
                get {
                    return this.columnnrZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nrZamowieniaExtColumn {
                get {
                    return this.columnnrZamowieniaExt;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn iloscReklamColumn {
                get {
                    return this.columniloscReklam;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kwotaWalutaBruttoColumn {
                get {
                    return this.columnkwotaWalutaBrutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn data_odColumn {
                get {
                    return this.columndata_od;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn data_od_bez_FKColumn {
                get {
                    return this.columndata_od_bez_FK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nettoZafakturowaneColumn {
                get {
                    return this.columnnettoZafakturowane;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Brutto_Euro_MianoColumn {
                get {
                    return this.columnBrutto_Euro_Miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodKlientaColumn {
                get {
                    return this.columnkodKlienta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow this[int index] {
                get {
                    return ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(this.Rows[index]));
                }
            }
            
            public event VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChanging;
            
            public event VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChanged;
            
            public event VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowDeleting;
            
            public event VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow(VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow AddVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow(
                        int idZamowienia, 
                        int idKlienta, 
                        double DoZafakturowania, 
                        string kodAgenta, 
                        int rokZamowienia, 
                        double wartoscNetto, 
                        string agencja, 
                        string agent, 
                        int nrZamowienia, 
                        string nrZamowieniaExt, 
                        int iloscReklam, 
                        double kwotaWalutaBrutto, 
                        System.DateTime data_od, 
                        System.DateTime data_od_bez_FK, 
                        double nettoZafakturowane, 
                        string Brutto_Euro_Miano, 
                        string kodKlienta) {
                VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow rowVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow = ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        idZamowienia,
                        idKlienta,
                        DoZafakturowania,
                        kodAgenta,
                        rokZamowienia,
                        wartoscNetto,
                        agencja,
                        agent,
                        nrZamowienia,
                        nrZamowieniaExt,
                        iloscReklam,
                        kwotaWalutaBrutto,
                        data_od,
                        data_od_bez_FK,
                        nettoZafakturowane,
                        Brutto_Euro_Miano,
                        kodKlienta};
                rowVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow.ItemArray = columnValuesArray;
                this.Rows.Add(rowVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow);
                return rowVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow FindByidZamowienia(int idZamowienia) {
                return ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(this.Rows.Find(new object[] {
                            idZamowienia})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable cln = ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnidKlienta = base.Columns["idKlienta"];
                this.columnDoZafakturowania = base.Columns["DoZafakturowania"];
                this.columnkodAgenta = base.Columns["kodAgenta"];
                this.columnrokZamowienia = base.Columns["rokZamowienia"];
                this.columnwartoscNetto = base.Columns["wartoscNetto"];
                this.columnagencja = base.Columns["agencja"];
                this.columnagent = base.Columns["agent"];
                this.columnnrZamowienia = base.Columns["nrZamowienia"];
                this.columnnrZamowieniaExt = base.Columns["nrZamowieniaExt"];
                this.columniloscReklam = base.Columns["iloscReklam"];
                this.columnkwotaWalutaBrutto = base.Columns["kwotaWalutaBrutto"];
                this.columndata_od = base.Columns["data_od"];
                this.columndata_od_bez_FK = base.Columns["data_od_bez_FK"];
                this.columnnettoZafakturowane = base.Columns["nettoZafakturowane"];
                this.columnBrutto_Euro_Miano = base.Columns["Brutto_Euro_Miano"];
                this.columnkodKlienta = base.Columns["kodKlienta"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnidKlienta = new global::System.Data.DataColumn("idKlienta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidKlienta);
                this.columnDoZafakturowania = new global::System.Data.DataColumn("DoZafakturowania", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDoZafakturowania);
                this.columnkodAgenta = new global::System.Data.DataColumn("kodAgenta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkodAgenta);
                this.columnrokZamowienia = new global::System.Data.DataColumn("rokZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrokZamowienia);
                this.columnwartoscNetto = new global::System.Data.DataColumn("wartoscNetto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwartoscNetto);
                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagencja);
                this.columnagent = new global::System.Data.DataColumn("agent", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagent);
                this.columnnrZamowienia = new global::System.Data.DataColumn("nrZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnrZamowienia);
                this.columnnrZamowieniaExt = new global::System.Data.DataColumn("nrZamowieniaExt", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnrZamowieniaExt);
                this.columniloscReklam = new global::System.Data.DataColumn("iloscReklam", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columniloscReklam);
                this.columnkwotaWalutaBrutto = new global::System.Data.DataColumn("kwotaWalutaBrutto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkwotaWalutaBrutto);
                this.columndata_od = new global::System.Data.DataColumn("data_od", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata_od);
                this.columndata_od_bez_FK = new global::System.Data.DataColumn("data_od_bez_FK", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata_od_bez_FK);
                this.columnnettoZafakturowane = new global::System.Data.DataColumn("nettoZafakturowane", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnettoZafakturowane);
                this.columnBrutto_Euro_Miano = new global::System.Data.DataColumn("Brutto_Euro_Miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBrutto_Euro_Miano);
                this.columnkodKlienta = new global::System.Data.DataColumn("kodKlienta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkodKlienta);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnidZamowienia}, true));
                this.columnidZamowienia.AllowDBNull = false;
                this.columnidZamowienia.Unique = true;
                this.columnidKlienta.AllowDBNull = false;
                this.columnDoZafakturowania.ReadOnly = true;
                this.columnkodAgenta.MaxLength = 3;
                this.columnrokZamowienia.AllowDBNull = false;
                this.columnagencja.MaxLength = 50;
                this.columnagent.MaxLength = 50;
                this.columnnrZamowienia.AllowDBNull = false;
                this.columnnrZamowieniaExt.MaxLength = 76;
                this.columnBrutto_Euro_Miano.MaxLength = 4;
                this.columnkodKlienta.MaxLength = 10;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow NewVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow() {
                return ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChanged != null)) {
                    this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChanged(this, new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChanging != null)) {
                    this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChanging(this, new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowDeleted != null)) {
                    this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowDeleted(this, new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowDeleting != null)) {
                    this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowDeleting(this, new VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveVIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow(VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class WplatyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnidWplaty;
            
            private global::System.Data.DataColumn columnidFaktury;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columndataWplaty;
            
            private global::System.Data.DataColumn columnrodzajPotwierdzenia;
            
            private global::System.Data.DataColumn columnsymbolPotwierdzenia;
            
            private global::System.Data.DataColumn columnbrutto;
            
            private global::System.Data.DataColumn columnwaluta_brutto;
            
            private global::System.Data.DataColumn columnwaluta_miano;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyDataTable() {
                this.TableName = "Wplaty";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal WplatyDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected WplatyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idWplatyColumn {
                get {
                    return this.columnidWplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyColumn {
                get {
                    return this.columnidFaktury;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataWplatyColumn {
                get {
                    return this.columndataWplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rodzajPotwierdzeniaColumn {
                get {
                    return this.columnrodzajPotwierdzenia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn symbolPotwierdzeniaColumn {
                get {
                    return this.columnsymbolPotwierdzenia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn bruttoColumn {
                get {
                    return this.columnbrutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_bruttoColumn {
                get {
                    return this.columnwaluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_mianoColumn {
                get {
                    return this.columnwaluta_miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRow this[int index] {
                get {
                    return ((WplatyRow)(this.Rows[index]));
                }
            }
            
            public event WplatyRowChangeEventHandler WplatyRowChanging;
            
            public event WplatyRowChangeEventHandler WplatyRowChanged;
            
            public event WplatyRowChangeEventHandler WplatyRowDeleting;
            
            public event WplatyRowChangeEventHandler WplatyRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddWplatyRow(WplatyRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRow AddWplatyRow(FAKTURYRow parentFAKTURYRowByFAKTURY_Wplaty, int idZamowienia, System.DateTime dataWplaty, string rodzajPotwierdzenia, string symbolPotwierdzenia, decimal brutto, decimal waluta_brutto, string waluta_miano) {
                WplatyRow rowWplatyRow = ((WplatyRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        null,
                        idZamowienia,
                        dataWplaty,
                        rodzajPotwierdzenia,
                        symbolPotwierdzenia,
                        brutto,
                        waluta_brutto,
                        waluta_miano};
                if ((parentFAKTURYRowByFAKTURY_Wplaty != null)) {
                    columnValuesArray[1] = parentFAKTURYRowByFAKTURY_Wplaty[0];
                }
                rowWplatyRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowWplatyRow);
                return rowWplatyRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRow FindByidWplaty(int idWplaty) {
                return ((WplatyRow)(this.Rows.Find(new object[] {
                            idWplaty})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                WplatyDataTable cln = ((WplatyDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new WplatyDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnidWplaty = base.Columns["idWplaty"];
                this.columnidFaktury = base.Columns["idFaktury"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columndataWplaty = base.Columns["dataWplaty"];
                this.columnrodzajPotwierdzenia = base.Columns["rodzajPotwierdzenia"];
                this.columnsymbolPotwierdzenia = base.Columns["symbolPotwierdzenia"];
                this.columnbrutto = base.Columns["brutto"];
                this.columnwaluta_brutto = base.Columns["waluta_brutto"];
                this.columnwaluta_miano = base.Columns["waluta_miano"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnidWplaty = new global::System.Data.DataColumn("idWplaty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidWplaty);
                this.columnidFaktury = new global::System.Data.DataColumn("idFaktury", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFaktury);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columndataWplaty = new global::System.Data.DataColumn("dataWplaty", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataWplaty);
                this.columnrodzajPotwierdzenia = new global::System.Data.DataColumn("rodzajPotwierdzenia", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrodzajPotwierdzenia);
                this.columnsymbolPotwierdzenia = new global::System.Data.DataColumn("symbolPotwierdzenia", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsymbolPotwierdzenia);
                this.columnbrutto = new global::System.Data.DataColumn("brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnbrutto);
                this.columnwaluta_brutto = new global::System.Data.DataColumn("waluta_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_brutto);
                this.columnwaluta_miano = new global::System.Data.DataColumn("waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_miano);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnidWplaty}, true));
                this.columnidWplaty.AutoIncrement = true;
                this.columnidWplaty.AllowDBNull = false;
                this.columnidWplaty.ReadOnly = true;
                this.columnidWplaty.Unique = true;
                this.columnidFaktury.AllowDBNull = false;
                this.columnrodzajPotwierdzenia.MaxLength = 5;
                this.columnsymbolPotwierdzenia.MaxLength = 25;
                this.columnwaluta_miano.MaxLength = 4;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRow NewWplatyRow() {
                return ((WplatyRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new WplatyRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(WplatyRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.WplatyRowChanged != null)) {
                    this.WplatyRowChanged(this, new WplatyRowChangeEvent(((WplatyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.WplatyRowChanging != null)) {
                    this.WplatyRowChanging(this, new WplatyRowChangeEvent(((WplatyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.WplatyRowDeleted != null)) {
                    this.WplatyRowDeleted(this, new WplatyRowChangeEvent(((WplatyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.WplatyRowDeleting != null)) {
                    this.WplatyRowDeleting(this, new WplatyRowChangeEvent(((WplatyRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveWplatyRow(WplatyRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "WplatyDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class PROWIZJEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnidProwizji;
            
            private global::System.Data.DataColumn columnagencja;
            
            private global::System.Data.DataColumn columnagent;
            
            private global::System.Data.DataColumn columnrok;
            
            private global::System.Data.DataColumn columnms;
            
            private global::System.Data.DataColumn columnnrFaktury;
            
            private global::System.Data.DataColumn columnnetto;
            
            private global::System.Data.DataColumn columnnrFakturyKorygowanej;
            
            private global::System.Data.DataColumn columnprocentProwizji;
            
            private global::System.Data.DataColumn columnZP;
            
            private global::System.Data.DataColumn columnkwotaProwizji;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJEDataTable() {
                this.TableName = "PROWIZJE";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal PROWIZJEDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected PROWIZJEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idProwizjiColumn {
                get {
                    return this.columnidProwizji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agencjaColumn {
                get {
                    return this.columnagencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agentColumn {
                get {
                    return this.columnagent;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rokColumn {
                get {
                    return this.columnrok;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn msColumn {
                get {
                    return this.columnms;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nrFakturyColumn {
                get {
                    return this.columnnrFaktury;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nettoColumn {
                get {
                    return this.columnnetto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nrFakturyKorygowanejColumn {
                get {
                    return this.columnnrFakturyKorygowanej;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn procentProwizjiColumn {
                get {
                    return this.columnprocentProwizji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZPColumn {
                get {
                    return this.columnZP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kwotaProwizjiColumn {
                get {
                    return this.columnkwotaProwizji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJERow this[int index] {
                get {
                    return ((PROWIZJERow)(this.Rows[index]));
                }
            }
            
            public event PROWIZJERowChangeEventHandler PROWIZJERowChanging;
            
            public event PROWIZJERowChangeEventHandler PROWIZJERowChanged;
            
            public event PROWIZJERowChangeEventHandler PROWIZJERowDeleting;
            
            public event PROWIZJERowChangeEventHandler PROWIZJERowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddPROWIZJERow(PROWIZJERow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJERow AddPROWIZJERow(string agencja, string agent, int rok, int ms, string nrFaktury, decimal netto, string nrFakturyKorygowanej, double procentProwizji, bool ZP, decimal kwotaProwizji) {
                PROWIZJERow rowPROWIZJERow = ((PROWIZJERow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        agencja,
                        agent,
                        rok,
                        ms,
                        nrFaktury,
                        netto,
                        nrFakturyKorygowanej,
                        procentProwizji,
                        ZP,
                        kwotaProwizji};
                rowPROWIZJERow.ItemArray = columnValuesArray;
                this.Rows.Add(rowPROWIZJERow);
                return rowPROWIZJERow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJERow FindByidProwizji(int idProwizji) {
                return ((PROWIZJERow)(this.Rows.Find(new object[] {
                            idProwizji})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                PROWIZJEDataTable cln = ((PROWIZJEDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new PROWIZJEDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnidProwizji = base.Columns["idProwizji"];
                this.columnagencja = base.Columns["agencja"];
                this.columnagent = base.Columns["agent"];
                this.columnrok = base.Columns["rok"];
                this.columnms = base.Columns["ms"];
                this.columnnrFaktury = base.Columns["nrFaktury"];
                this.columnnetto = base.Columns["netto"];
                this.columnnrFakturyKorygowanej = base.Columns["nrFakturyKorygowanej"];
                this.columnprocentProwizji = base.Columns["procentProwizji"];
                this.columnZP = base.Columns["ZP"];
                this.columnkwotaProwizji = base.Columns["kwotaProwizji"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnidProwizji = new global::System.Data.DataColumn("idProwizji", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidProwizji);
                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagencja);
                this.columnagent = new global::System.Data.DataColumn("agent", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagent);
                this.columnrok = new global::System.Data.DataColumn("rok", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrok);
                this.columnms = new global::System.Data.DataColumn("ms", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnms);
                this.columnnrFaktury = new global::System.Data.DataColumn("nrFaktury", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnrFaktury);
                this.columnnetto = new global::System.Data.DataColumn("netto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnetto);
                this.columnnrFakturyKorygowanej = new global::System.Data.DataColumn("nrFakturyKorygowanej", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnrFakturyKorygowanej);
                this.columnprocentProwizji = new global::System.Data.DataColumn("procentProwizji", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnprocentProwizji);
                this.columnZP = new global::System.Data.DataColumn("ZP", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZP);
                this.columnkwotaProwizji = new global::System.Data.DataColumn("kwotaProwizji", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkwotaProwizji);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnidProwizji}, true));
                this.columnidProwizji.AutoIncrement = true;
                this.columnidProwizji.AllowDBNull = false;
                this.columnidProwizji.ReadOnly = true;
                this.columnidProwizji.Unique = true;
                this.columnagencja.MaxLength = 15;
                this.columnagent.MaxLength = 15;
                this.columnnrFaktury.MaxLength = 15;
                this.columnnrFakturyKorygowanej.MaxLength = 15;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJERow NewPROWIZJERow() {
                return ((PROWIZJERow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new PROWIZJERow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(PROWIZJERow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.PROWIZJERowChanged != null)) {
                    this.PROWIZJERowChanged(this, new PROWIZJERowChangeEvent(((PROWIZJERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.PROWIZJERowChanging != null)) {
                    this.PROWIZJERowChanging(this, new PROWIZJERowChangeEvent(((PROWIZJERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.PROWIZJERowDeleted != null)) {
                    this.PROWIZJERowDeleted(this, new PROWIZJERowChangeEvent(((PROWIZJERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.PROWIZJERowDeleting != null)) {
                    this.PROWIZJERowDeleting(this, new PROWIZJERowChangeEvent(((PROWIZJERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovePROWIZJERow(PROWIZJERow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "PROWIZJEDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class VIEW_KOREKTYDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnCustomerId;
            
            private global::System.Data.DataColumn columnId_Agencji;
            
            private global::System.Data.DataColumn columnkodKlienta;
            
            private global::System.Data.DataColumn columnNUMER;
            
            private global::System.Data.DataColumn columnNUMER_ROZ;
            
            private global::System.Data.DataColumn columnNUMER_ROK;
            
            private global::System.Data.DataColumn columnnetto;
            
            private global::System.Data.DataColumn columnS_VAT;
            
            private global::System.Data.DataColumn columnvat;
            
            private global::System.Data.DataColumn columnbrutto;
            
            private global::System.Data.DataColumn columnsuma_zaplat;
            
            private global::System.Data.DataColumn columnDATA_WYSTAWIENIA;
            
            private global::System.Data.DataColumn columnDATA_SPRZEDAZY;
            
            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
            
            private global::System.Data.DataColumn columnzaplata_data;
            
            private global::System.Data.DataColumn columnzaplata_opis;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnidFakturyKorekta;
            
            private global::System.Data.DataColumn columnNR_FAKTURY_KOREKTY;
            
            private global::System.Data.DataColumn columnNUMER_F;
            
            private global::System.Data.DataColumn columnNUMER_ROZ_F;
            
            private global::System.Data.DataColumn columnNUMER_ROK_F;
            
            private global::System.Data.DataColumn columnnetto_F;
            
            private global::System.Data.DataColumn columnbrutto_F;
            
            private global::System.Data.DataColumn columnvat_F;
            
            private global::System.Data.DataColumn columnsuma_zapłat_F;
            
            private global::System.Data.DataColumn columndata_wystawienia_F;
            
            private global::System.Data.DataColumn columnNR_FAKTURY;
            
            private global::System.Data.DataColumn columnroznica_netto;
            
            private global::System.Data.DataColumn columnroznica_vat;
            
            private global::System.Data.DataColumn columnroznica_brutto;
            
            private global::System.Data.DataColumn columnagencja;
            
            private global::System.Data.DataColumn columnagent;
            
            private global::System.Data.DataColumn columnwaluta_roznica_brutto;
            
            private global::System.Data.DataColumn columnwaluta_miano;
            
            private global::System.Data.DataColumn columnliczbaReklam;
            
            private global::System.Data.DataColumn columnKOREKTA;
            
            private global::System.Data.DataColumn columnwaluta_brutto;
            
            private global::System.Data.DataColumn columnidFakturyVAT;
            
            private global::System.Data.DataColumn columnID_FK_KOR;
            
            private global::System.Data.DataColumn columnNR_FAKTURY_KORYGOWANEJ_1;
            
            private global::System.Data.DataColumn columnnr_korygowanej;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_KOREKTYDataTable() {
                this.TableName = "VIEW_KOREKTY";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal VIEW_KOREKTYDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected VIEW_KOREKTYDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CustomerIdColumn {
                get {
                    return this.columnCustomerId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn Id_AgencjiColumn {
                get {
                    return this.columnId_Agencji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodKlientaColumn {
                get {
                    return this.columnkodKlienta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMERColumn {
                get {
                    return this.columnNUMER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROZColumn {
                get {
                    return this.columnNUMER_ROZ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROKColumn {
                get {
                    return this.columnNUMER_ROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nettoColumn {
                get {
                    return this.columnnetto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn S_VATColumn {
                get {
                    return this.columnS_VAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn vatColumn {
                get {
                    return this.columnvat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn bruttoColumn {
                get {
                    return this.columnbrutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn suma_zaplatColumn {
                get {
                    return this.columnsuma_zaplat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_WYSTAWIENIAColumn {
                get {
                    return this.columnDATA_WYSTAWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_SPRZEDAZYColumn {
                get {
                    return this.columnDATA_SPRZEDAZY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TERMIN_ZAPLATYColumn {
                get {
                    return this.columnTERMIN_ZAPLATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zaplata_dataColumn {
                get {
                    return this.columnzaplata_data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zaplata_opisColumn {
                get {
                    return this.columnzaplata_opis;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyKorektaColumn {
                get {
                    return this.columnidFakturyKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_FAKTURY_KOREKTYColumn {
                get {
                    return this.columnNR_FAKTURY_KOREKTY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_FColumn {
                get {
                    return this.columnNUMER_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROZ_FColumn {
                get {
                    return this.columnNUMER_ROZ_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMER_ROK_FColumn {
                get {
                    return this.columnNUMER_ROK_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn netto_FColumn {
                get {
                    return this.columnnetto_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn brutto_FColumn {
                get {
                    return this.columnbrutto_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn vat_FColumn {
                get {
                    return this.columnvat_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn suma_zapłat_FColumn {
                get {
                    return this.columnsuma_zapłat_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn data_wystawienia_FColumn {
                get {
                    return this.columndata_wystawienia_F;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_FAKTURYColumn {
                get {
                    return this.columnNR_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn roznica_nettoColumn {
                get {
                    return this.columnroznica_netto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn roznica_vatColumn {
                get {
                    return this.columnroznica_vat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn roznica_bruttoColumn {
                get {
                    return this.columnroznica_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agencjaColumn {
                get {
                    return this.columnagencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn agentColumn {
                get {
                    return this.columnagent;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_roznica_bruttoColumn {
                get {
                    return this.columnwaluta_roznica_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_mianoColumn {
                get {
                    return this.columnwaluta_miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn liczbaReklamColumn {
                get {
                    return this.columnliczbaReklam;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOREKTAColumn {
                get {
                    return this.columnKOREKTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_bruttoColumn {
                get {
                    return this.columnwaluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyVATColumn {
                get {
                    return this.columnidFakturyVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FK_KORColumn {
                get {
                    return this.columnID_FK_KOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_FAKTURY_KORYGOWANEJ_1Column {
                get {
                    return this.columnNR_FAKTURY_KORYGOWANEJ_1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nr_korygowanejColumn {
                get {
                    return this.columnnr_korygowanej;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_KOREKTYRow this[int index] {
                get {
                    return ((VIEW_KOREKTYRow)(this.Rows[index]));
                }
            }
            
            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowChanging;
            
            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowChanged;
            
            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowDeleting;
            
            public event VIEW_KOREKTYRowChangeEventHandler VIEW_KOREKTYRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddVIEW_KOREKTYRow(VIEW_KOREKTYRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_KOREKTYRow AddVIEW_KOREKTYRow(
                        int CustomerId, 
                        int Id_Agencji, 
                        string kodKlienta, 
                        int NUMER, 
                        string NUMER_ROZ, 
                        int NUMER_ROK, 
                        decimal netto, 
                        double S_VAT, 
                        decimal vat, 
                        decimal brutto, 
                        decimal suma_zaplat, 
                        System.DateTime DATA_WYSTAWIENIA, 
                        System.DateTime DATA_SPRZEDAZY, 
                        System.DateTime TERMIN_ZAPLATY, 
                        System.DateTime zaplata_data, 
                        string zaplata_opis, 
                        int idZamowienia, 
                        int idFakturyKorekta, 
                        string NR_FAKTURY_KOREKTY, 
                        int NUMER_F, 
                        string NUMER_ROZ_F, 
                        int NUMER_ROK_F, 
                        decimal netto_F, 
                        decimal brutto_F, 
                        decimal vat_F, 
                        decimal suma_zapłat_F, 
                        System.DateTime data_wystawienia_F, 
                        string NR_FAKTURY, 
                        decimal roznica_netto, 
                        decimal roznica_vat, 
                        decimal roznica_brutto, 
                        string agencja, 
                        string agent, 
                        double waluta_roznica_brutto, 
                        string waluta_miano, 
                        int liczbaReklam, 
                        bool KOREKTA, 
                        double waluta_brutto, 
                        int idFakturyVAT, 
                        int ID_FK_KOR, 
                        string NR_FAKTURY_KORYGOWANEJ_1, 
                        int nr_korygowanej) {
                VIEW_KOREKTYRow rowVIEW_KOREKTYRow = ((VIEW_KOREKTYRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        CustomerId,
                        Id_Agencji,
                        kodKlienta,
                        NUMER,
                        NUMER_ROZ,
                        NUMER_ROK,
                        netto,
                        S_VAT,
                        vat,
                        brutto,
                        suma_zaplat,
                        DATA_WYSTAWIENIA,
                        DATA_SPRZEDAZY,
                        TERMIN_ZAPLATY,
                        zaplata_data,
                        zaplata_opis,
                        idZamowienia,
                        idFakturyKorekta,
                        NR_FAKTURY_KOREKTY,
                        NUMER_F,
                        NUMER_ROZ_F,
                        NUMER_ROK_F,
                        netto_F,
                        brutto_F,
                        vat_F,
                        suma_zapłat_F,
                        data_wystawienia_F,
                        NR_FAKTURY,
                        roznica_netto,
                        roznica_vat,
                        roznica_brutto,
                        agencja,
                        agent,
                        waluta_roznica_brutto,
                        waluta_miano,
                        liczbaReklam,
                        KOREKTA,
                        waluta_brutto,
                        idFakturyVAT,
                        ID_FK_KOR,
                        NR_FAKTURY_KORYGOWANEJ_1,
                        nr_korygowanej};
                rowVIEW_KOREKTYRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowVIEW_KOREKTYRow);
                return rowVIEW_KOREKTYRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                VIEW_KOREKTYDataTable cln = ((VIEW_KOREKTYDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new VIEW_KOREKTYDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnCustomerId = base.Columns["CustomerId"];
                this.columnId_Agencji = base.Columns["Id_Agencji"];
                this.columnkodKlienta = base.Columns["kodKlienta"];
                this.columnNUMER = base.Columns["NUMER"];
                this.columnNUMER_ROZ = base.Columns["NUMER_ROZ"];
                this.columnNUMER_ROK = base.Columns["NUMER_ROK"];
                this.columnnetto = base.Columns["netto"];
                this.columnS_VAT = base.Columns["S_VAT"];
                this.columnvat = base.Columns["vat"];
                this.columnbrutto = base.Columns["brutto"];
                this.columnsuma_zaplat = base.Columns["suma_zaplat"];
                this.columnDATA_WYSTAWIENIA = base.Columns["DATA_WYSTAWIENIA"];
                this.columnDATA_SPRZEDAZY = base.Columns["DATA_SPRZEDAZY"];
                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
                this.columnzaplata_data = base.Columns["zaplata_data"];
                this.columnzaplata_opis = base.Columns["zaplata_opis"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnidFakturyKorekta = base.Columns["idFakturyKorekta"];
                this.columnNR_FAKTURY_KOREKTY = base.Columns["NR_FAKTURY_KOREKTY"];
                this.columnNUMER_F = base.Columns["NUMER_F"];
                this.columnNUMER_ROZ_F = base.Columns["NUMER_ROZ_F"];
                this.columnNUMER_ROK_F = base.Columns["NUMER_ROK_F"];
                this.columnnetto_F = base.Columns["netto_F"];
                this.columnbrutto_F = base.Columns["brutto_F"];
                this.columnvat_F = base.Columns["vat_F"];
                this.columnsuma_zapłat_F = base.Columns["suma_zapłat_F"];
                this.columndata_wystawienia_F = base.Columns["data_wystawienia_F"];
                this.columnNR_FAKTURY = base.Columns["NR_FAKTURY"];
                this.columnroznica_netto = base.Columns["roznica_netto"];
                this.columnroznica_vat = base.Columns["roznica_vat"];
                this.columnroznica_brutto = base.Columns["roznica_brutto"];
                this.columnagencja = base.Columns["agencja"];
                this.columnagent = base.Columns["agent"];
                this.columnwaluta_roznica_brutto = base.Columns["waluta_roznica_brutto"];
                this.columnwaluta_miano = base.Columns["waluta_miano"];
                this.columnliczbaReklam = base.Columns["liczbaReklam"];
                this.columnKOREKTA = base.Columns["KOREKTA"];
                this.columnwaluta_brutto = base.Columns["waluta_brutto"];
                this.columnidFakturyVAT = base.Columns["idFakturyVAT"];
                this.columnID_FK_KOR = base.Columns["ID_FK_KOR"];
                this.columnNR_FAKTURY_KORYGOWANEJ_1 = base.Columns["NR_FAKTURY_KORYGOWANEJ_1"];
                this.columnnr_korygowanej = base.Columns["nr_korygowanej"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnCustomerId = new global::System.Data.DataColumn("CustomerId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCustomerId);
                this.columnId_Agencji = new global::System.Data.DataColumn("Id_Agencji", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnId_Agencji);
                this.columnkodKlienta = new global::System.Data.DataColumn("kodKlienta", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkodKlienta);
                this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER);
                this.columnNUMER_ROZ = new global::System.Data.DataColumn("NUMER_ROZ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROZ);
                this.columnNUMER_ROK = new global::System.Data.DataColumn("NUMER_ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROK);
                this.columnnetto = new global::System.Data.DataColumn("netto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnetto);
                this.columnS_VAT = new global::System.Data.DataColumn("S_VAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnS_VAT);
                this.columnvat = new global::System.Data.DataColumn("vat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnvat);
                this.columnbrutto = new global::System.Data.DataColumn("brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnbrutto);
                this.columnsuma_zaplat = new global::System.Data.DataColumn("suma_zaplat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsuma_zaplat);
                this.columnDATA_WYSTAWIENIA = new global::System.Data.DataColumn("DATA_WYSTAWIENIA", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_WYSTAWIENIA);
                this.columnDATA_SPRZEDAZY = new global::System.Data.DataColumn("DATA_SPRZEDAZY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_SPRZEDAZY);
                this.columnTERMIN_ZAPLATY = new global::System.Data.DataColumn("TERMIN_ZAPLATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTERMIN_ZAPLATY);
                this.columnzaplata_data = new global::System.Data.DataColumn("zaplata_data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzaplata_data);
                this.columnzaplata_opis = new global::System.Data.DataColumn("zaplata_opis", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzaplata_opis);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnidFakturyKorekta = new global::System.Data.DataColumn("idFakturyKorekta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyKorekta);
                this.columnNR_FAKTURY_KOREKTY = new global::System.Data.DataColumn("NR_FAKTURY_KOREKTY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_FAKTURY_KOREKTY);
                this.columnNUMER_F = new global::System.Data.DataColumn("NUMER_F", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_F);
                this.columnNUMER_ROZ_F = new global::System.Data.DataColumn("NUMER_ROZ_F", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROZ_F);
                this.columnNUMER_ROK_F = new global::System.Data.DataColumn("NUMER_ROK_F", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER_ROK_F);
                this.columnnetto_F = new global::System.Data.DataColumn("netto_F", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnetto_F);
                this.columnbrutto_F = new global::System.Data.DataColumn("brutto_F", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnbrutto_F);
                this.columnvat_F = new global::System.Data.DataColumn("vat_F", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnvat_F);
                this.columnsuma_zapłat_F = new global::System.Data.DataColumn("suma_zapłat_F", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsuma_zapłat_F);
                this.columndata_wystawienia_F = new global::System.Data.DataColumn("data_wystawienia_F", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndata_wystawienia_F);
                this.columnNR_FAKTURY = new global::System.Data.DataColumn("NR_FAKTURY", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_FAKTURY);
                this.columnroznica_netto = new global::System.Data.DataColumn("roznica_netto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnroznica_netto);
                this.columnroznica_vat = new global::System.Data.DataColumn("roznica_vat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnroznica_vat);
                this.columnroznica_brutto = new global::System.Data.DataColumn("roznica_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnroznica_brutto);
                this.columnagencja = new global::System.Data.DataColumn("agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagencja);
                this.columnagent = new global::System.Data.DataColumn("agent", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnagent);
                this.columnwaluta_roznica_brutto = new global::System.Data.DataColumn("waluta_roznica_brutto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_roznica_brutto);
                this.columnwaluta_miano = new global::System.Data.DataColumn("waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_miano);
                this.columnliczbaReklam = new global::System.Data.DataColumn("liczbaReklam", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnliczbaReklam);
                this.columnKOREKTA = new global::System.Data.DataColumn("KOREKTA", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOREKTA);
                this.columnwaluta_brutto = new global::System.Data.DataColumn("waluta_brutto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_brutto);
                this.columnidFakturyVAT = new global::System.Data.DataColumn("idFakturyVAT", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyVAT);
                this.columnID_FK_KOR = new global::System.Data.DataColumn("ID_FK_KOR", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FK_KOR);
                this.columnNR_FAKTURY_KORYGOWANEJ_1 = new global::System.Data.DataColumn("NR_FAKTURY_KORYGOWANEJ_1", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_FAKTURY_KORYGOWANEJ_1);
                this.columnnr_korygowanej = new global::System.Data.DataColumn("nr_korygowanej", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnr_korygowanej);
                this.columnID_FAKTURY.AutoIncrement = true;
                this.columnID_FAKTURY.AllowDBNull = false;
                this.columnID_FAKTURY.ReadOnly = true;
                this.columnkodKlienta.MaxLength = 10;
                this.columnNUMER_ROZ.MaxLength = 8;
                this.columnzaplata_opis.MaxLength = 50;
                this.columnNR_FAKTURY_KOREKTY.ReadOnly = true;
                this.columnNR_FAKTURY_KOREKTY.MaxLength = 92;
                this.columnNUMER_ROZ_F.MaxLength = 8;
                this.columnNR_FAKTURY.ReadOnly = true;
                this.columnNR_FAKTURY.MaxLength = 92;
                this.columnroznica_netto.ReadOnly = true;
                this.columnroznica_vat.ReadOnly = true;
                this.columnroznica_brutto.ReadOnly = true;
                this.columnagencja.MaxLength = 50;
                this.columnagent.MaxLength = 50;
                this.columnwaluta_roznica_brutto.ReadOnly = true;
                this.columnwaluta_miano.MaxLength = 4;
                this.columnKOREKTA.AllowDBNull = false;
                this.columnNR_FAKTURY_KORYGOWANEJ_1.ReadOnly = true;
                this.columnNR_FAKTURY_KORYGOWANEJ_1.MaxLength = 92;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_KOREKTYRow NewVIEW_KOREKTYRow() {
                return ((VIEW_KOREKTYRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new VIEW_KOREKTYRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(VIEW_KOREKTYRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.VIEW_KOREKTYRowChanged != null)) {
                    this.VIEW_KOREKTYRowChanged(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.VIEW_KOREKTYRowChanging != null)) {
                    this.VIEW_KOREKTYRowChanging(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.VIEW_KOREKTYRowDeleted != null)) {
                    this.VIEW_KOREKTYRowDeleted(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.VIEW_KOREKTYRowDeleting != null)) {
                    this.VIEW_KOREKTYRowDeleting(this, new VIEW_KOREKTYRowChangeEvent(((VIEW_KOREKTYRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveVIEW_KOREKTYRow(VIEW_KOREKTYRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "VIEW_KOREKTYDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_NABYWCY;
            
            private global::System.Data.DataColumn columnNUMER;
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnMS;
            
            private global::System.Data.DataColumn columnDATA_SPRZEDAZY;
            
            private global::System.Data.DataColumn columnNR_FK;
            
            private global::System.Data.DataColumn columnTYTUL;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnS_VAT;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnsuma_zaplat;
            
            private global::System.Data.DataColumn columnID_FAKTURY;
            
            private global::System.Data.DataColumn columnSymbol;
            
            private global::System.Data.DataColumn columnAgencja;
            
            private global::System.Data.DataColumn columnZAPLACONO;
            
            private global::System.Data.DataColumn columndataWplaty;
            
            private global::System.Data.DataColumn columnzaplata_data;
            
            private global::System.Data.DataColumn columnFirstName;
            
            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnidWplaty;
            
            private global::System.Data.DataColumn columnsumaNettoZEmisji;
            
            private global::System.Data.DataColumn columnwaluta_brutto;
            
            private global::System.Data.DataColumn columnwaluta_miano;
            
            private global::System.Data.DataColumn columnKOREKTA;
            
            private global::System.Data.DataColumn columnidFakturyKorekta;
            
            private global::System.Data.DataColumn columnID_FK_KOR;
            
            private global::System.Data.DataColumn columnwplata_brutto;
            
            private global::System.Data.DataColumn columnwplata_waluta_brutto;
            
            private global::System.Data.DataColumn columnilPozycji;
            
            private global::System.Data.DataColumn columnilEmisji;
            
            private global::System.Data.DataColumn columnSposobZaplaty;
            
            private global::System.Data.DataColumn columnwaluta_kurs;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable() {
                this.TableName = "VIEW_ZESTAWIENIE_FAKTUR_NOWE";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable(global::System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_NABYWCYColumn {
                get {
                    return this.columnID_NABYWCY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NUMERColumn {
                get {
                    return this.columnNUMER;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MSColumn {
                get {
                    return this.columnMS;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn DATA_SPRZEDAZYColumn {
                get {
                    return this.columnDATA_SPRZEDAZY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NR_FKColumn {
                get {
                    return this.columnNR_FK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTULColumn {
                get {
                    return this.columnTYTUL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NETTOColumn {
                get {
                    return this.columnNETTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn S_VATColumn {
                get {
                    return this.columnS_VAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VATColumn {
                get {
                    return this.columnVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn suma_zaplatColumn {
                get {
                    return this.columnsuma_zaplat;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FAKTURYColumn {
                get {
                    return this.columnID_FAKTURY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SymbolColumn {
                get {
                    return this.columnSymbol;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn AgencjaColumn {
                get {
                    return this.columnAgencja;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ZAPLACONOColumn {
                get {
                    return this.columnZAPLACONO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn dataWplatyColumn {
                get {
                    return this.columndataWplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn zaplata_dataColumn {
                get {
                    return this.columnzaplata_data;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FirstNameColumn {
                get {
                    return this.columnFirstName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TERMIN_ZAPLATYColumn {
                get {
                    return this.columnTERMIN_ZAPLATY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idZamowieniaColumn {
                get {
                    return this.columnidZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idWplatyColumn {
                get {
                    return this.columnidWplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn sumaNettoZEmisjiColumn {
                get {
                    return this.columnsumaNettoZEmisji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_bruttoColumn {
                get {
                    return this.columnwaluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_mianoColumn {
                get {
                    return this.columnwaluta_miano;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOREKTAColumn {
                get {
                    return this.columnKOREKTA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyKorektaColumn {
                get {
                    return this.columnidFakturyKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ID_FK_KORColumn {
                get {
                    return this.columnID_FK_KOR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wplata_bruttoColumn {
                get {
                    return this.columnwplata_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn wplata_waluta_bruttoColumn {
                get {
                    return this.columnwplata_waluta_brutto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ilPozycjiColumn {
                get {
                    return this.columnilPozycji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ilEmisjiColumn {
                get {
                    return this.columnilEmisji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SposobZaplatyColumn {
                get {
                    return this.columnSposobZaplaty;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn waluta_kursColumn {
                get {
                    return this.columnwaluta_kurs;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_FAKTUR_NOWERow this[int index] {
                get {
                    return ((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(this.Rows[index]));
                }
            }
            
            public event VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_FAKTUR_NOWERowChanging;
            
            public event VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_FAKTUR_NOWERowChanged;
            
            public event VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_FAKTUR_NOWERowDeleting;
            
            public event VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEventHandler VIEW_ZESTAWIENIE_FAKTUR_NOWERowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddVIEW_ZESTAWIENIE_FAKTUR_NOWERow(VIEW_ZESTAWIENIE_FAKTUR_NOWERow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_FAKTUR_NOWERow AddVIEW_ZESTAWIENIE_FAKTUR_NOWERow(
                        int ID_NABYWCY, 
                        int NUMER, 
                        int ROK, 
                        int MS, 
                        System.DateTime DATA_SPRZEDAZY, 
                        string NR_FK, 
                        string TYTUL, 
                        decimal NETTO, 
                        double S_VAT, 
                        decimal VAT, 
                        decimal BRUTTO, 
                        decimal suma_zaplat, 
                        int ID_FAKTURY, 
                        string Symbol, 
                        string Agencja, 
                        bool ZAPLACONO, 
                        System.DateTime dataWplaty, 
                        System.DateTime zaplata_data, 
                        string FirstName, 
                        System.DateTime TERMIN_ZAPLATY, 
                        int idZamowienia, 
                        int idWplaty, 
                        decimal sumaNettoZEmisji, 
                        double waluta_brutto, 
                        string waluta_miano, 
                        bool KOREKTA, 
                        int idFakturyKorekta, 
                        int ID_FK_KOR, 
                        decimal wplata_brutto, 
                        decimal wplata_waluta_brutto, 
                        int ilPozycji, 
                        int ilEmisji, 
                        string SposobZaplaty, 
                        decimal waluta_kurs) {
                VIEW_ZESTAWIENIE_FAKTUR_NOWERow rowVIEW_ZESTAWIENIE_FAKTUR_NOWERow = ((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ID_NABYWCY,
                        NUMER,
                        ROK,
                        MS,
                        DATA_SPRZEDAZY,
                        NR_FK,
                        TYTUL,
                        NETTO,
                        S_VAT,
                        VAT,
                        BRUTTO,
                        suma_zaplat,
                        ID_FAKTURY,
                        Symbol,
                        Agencja,
                        ZAPLACONO,
                        dataWplaty,
                        zaplata_data,
                        FirstName,
                        TERMIN_ZAPLATY,
                        idZamowienia,
                        idWplaty,
                        sumaNettoZEmisji,
                        waluta_brutto,
                        waluta_miano,
                        KOREKTA,
                        idFakturyKorekta,
                        ID_FK_KOR,
                        wplata_brutto,
                        wplata_waluta_brutto,
                        ilPozycji,
                        ilEmisji,
                        SposobZaplaty,
                        waluta_kurs};
                rowVIEW_ZESTAWIENIE_FAKTUR_NOWERow.ItemArray = columnValuesArray;
                this.Rows.Add(rowVIEW_ZESTAWIENIE_FAKTUR_NOWERow);
                return rowVIEW_ZESTAWIENIE_FAKTUR_NOWERow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable cln = ((VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_NABYWCY = base.Columns["ID_NABYWCY"];
                this.columnNUMER = base.Columns["NUMER"];
                this.columnROK = base.Columns["ROK"];
                this.columnMS = base.Columns["MS"];
                this.columnDATA_SPRZEDAZY = base.Columns["DATA_SPRZEDAZY"];
                this.columnNR_FK = base.Columns["NR_FK"];
                this.columnTYTUL = base.Columns["TYTUL"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnS_VAT = base.Columns["S_VAT"];
                this.columnVAT = base.Columns["VAT"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnsuma_zaplat = base.Columns["suma_zaplat"];
                this.columnID_FAKTURY = base.Columns["ID_FAKTURY"];
                this.columnSymbol = base.Columns["Symbol"];
                this.columnAgencja = base.Columns["Agencja"];
                this.columnZAPLACONO = base.Columns["ZAPLACONO"];
                this.columndataWplaty = base.Columns["dataWplaty"];
                this.columnzaplata_data = base.Columns["zaplata_data"];
                this.columnFirstName = base.Columns["FirstName"];
                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnidWplaty = base.Columns["idWplaty"];
                this.columnsumaNettoZEmisji = base.Columns["sumaNettoZEmisji"];
                this.columnwaluta_brutto = base.Columns["waluta_brutto"];
                this.columnwaluta_miano = base.Columns["waluta_miano"];
                this.columnKOREKTA = base.Columns["KOREKTA"];
                this.columnidFakturyKorekta = base.Columns["idFakturyKorekta"];
                this.columnID_FK_KOR = base.Columns["ID_FK_KOR"];
                this.columnwplata_brutto = base.Columns["wplata_brutto"];
                this.columnwplata_waluta_brutto = base.Columns["wplata_waluta_brutto"];
                this.columnilPozycji = base.Columns["ilPozycji"];
                this.columnilEmisji = base.Columns["ilEmisji"];
                this.columnSposobZaplaty = base.Columns["SposobZaplaty"];
                this.columnwaluta_kurs = base.Columns["waluta_kurs"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID_NABYWCY = new global::System.Data.DataColumn("ID_NABYWCY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_NABYWCY);
                this.columnNUMER = new global::System.Data.DataColumn("NUMER", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNUMER);
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnMS = new global::System.Data.DataColumn("MS", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMS);
                this.columnDATA_SPRZEDAZY = new global::System.Data.DataColumn("DATA_SPRZEDAZY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnDATA_SPRZEDAZY);
                this.columnNR_FK = new global::System.Data.DataColumn("NR_FK", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNR_FK);
                this.columnTYTUL = new global::System.Data.DataColumn("TYTUL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUL);
                this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNETTO);
                this.columnS_VAT = new global::System.Data.DataColumn("S_VAT", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnS_VAT);
                this.columnVAT = new global::System.Data.DataColumn("VAT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVAT);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnsuma_zaplat = new global::System.Data.DataColumn("suma_zaplat", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsuma_zaplat);
                this.columnID_FAKTURY = new global::System.Data.DataColumn("ID_FAKTURY", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FAKTURY);
                this.columnSymbol = new global::System.Data.DataColumn("Symbol", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSymbol);
                this.columnAgencja = new global::System.Data.DataColumn("Agencja", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAgencja);
                this.columnZAPLACONO = new global::System.Data.DataColumn("ZAPLACONO", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnZAPLACONO);
                this.columndataWplaty = new global::System.Data.DataColumn("dataWplaty", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columndataWplaty);
                this.columnzaplata_data = new global::System.Data.DataColumn("zaplata_data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnzaplata_data);
                this.columnFirstName = new global::System.Data.DataColumn("FirstName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnFirstName);
                this.columnTERMIN_ZAPLATY = new global::System.Data.DataColumn("TERMIN_ZAPLATY", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTERMIN_ZAPLATY);
                this.columnidZamowienia = new global::System.Data.DataColumn("idZamowienia", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidZamowienia);
                this.columnidWplaty = new global::System.Data.DataColumn("idWplaty", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidWplaty);
                this.columnsumaNettoZEmisji = new global::System.Data.DataColumn("sumaNettoZEmisji", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsumaNettoZEmisji);
                this.columnwaluta_brutto = new global::System.Data.DataColumn("waluta_brutto", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_brutto);
                this.columnwaluta_miano = new global::System.Data.DataColumn("waluta_miano", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_miano);
                this.columnKOREKTA = new global::System.Data.DataColumn("KOREKTA", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOREKTA);
                this.columnidFakturyKorekta = new global::System.Data.DataColumn("idFakturyKorekta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyKorekta);
                this.columnID_FK_KOR = new global::System.Data.DataColumn("ID_FK_KOR", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID_FK_KOR);
                this.columnwplata_brutto = new global::System.Data.DataColumn("wplata_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwplata_brutto);
                this.columnwplata_waluta_brutto = new global::System.Data.DataColumn("wplata_waluta_brutto", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwplata_waluta_brutto);
                this.columnilPozycji = new global::System.Data.DataColumn("ilPozycji", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnilPozycji);
                this.columnilEmisji = new global::System.Data.DataColumn("ilEmisji", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnilEmisji);
                this.columnSposobZaplaty = new global::System.Data.DataColumn("SposobZaplaty", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSposobZaplaty);
                this.columnwaluta_kurs = new global::System.Data.DataColumn("waluta_kurs", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnwaluta_kurs);
                this.columnNR_FK.MaxLength = 92;
                this.columnTYTUL.MaxLength = 5;
                this.columnID_FAKTURY.AllowDBNull = false;
                this.columnSymbol.MaxLength = 50;
                this.columnAgencja.MaxLength = 50;
                this.columnFirstName.MaxLength = 50;
                this.columnwaluta_miano.MaxLength = 4;
                this.columnKOREKTA.AllowDBNull = false;
                this.columnwaluta_kurs.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_FAKTUR_NOWERow NewVIEW_ZESTAWIENIE_FAKTUR_NOWERow() {
                return ((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new VIEW_ZESTAWIENIE_FAKTUR_NOWERow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(VIEW_ZESTAWIENIE_FAKTUR_NOWERow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowChanged != null)) {
                    this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowChanged(this, new VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowChanging != null)) {
                    this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowChanging(this, new VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowDeleted != null)) {
                    this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowDeleted(this, new VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowDeleting != null)) {
                    this.VIEW_ZESTAWIENIE_FAKTUR_NOWERowDeleting(this, new VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent(((VIEW_ZESTAWIENIE_FAKTUR_NOWERow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveVIEW_ZESTAWIENIE_FAKTUR_NOWERow(VIEW_ZESTAWIENIE_FAKTUR_NOWERow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                REKLAMADataSet ds = new REKLAMADataSet();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class REKLAMARow : global::System.Data.DataRow {
            
            private REKLAMADataTable tableREKLAMA;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal REKLAMARow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableREKLAMA = ((REKLAMADataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaID {
                get {
                    return ((int)(this[this.tableREKLAMA.ReklamaIDColumn]));
                }
                set {
                    this[this.tableREKLAMA.ReklamaIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerID {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.CustomerIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerID\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.CustomerIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_AKWIZYTORA {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.SYMBOL_AKWIZYTORAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL AKWIZYTORA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.SYMBOL_AKWIZYTORAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUŁ {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.TYTUŁColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUŁ\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.TYTUŁColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYP {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYP\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NICK_NAME {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.NICK_NAMEColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NICK NAME\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.NICK_NAMEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAMÓWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.DATA_ZAMÓWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAMÓWIENIA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.DATA_ZAMÓWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SZER {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.SZERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SZER\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.SZERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double WYS {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.WYSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WYS\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.WYSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MOD_TYP {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.MOD_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MOD_TYP\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.MOD_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string STRONA {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.STRONAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STRONA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short STR_NR_WT {
                get {
                    try {
                        return ((short)(this[this.tableREKLAMA.STR_NR_WTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STR NR WT\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.STR_NR_WTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short STR_NR_PT {
                get {
                    try {
                        return ((short)(this[this.tableREKLAMA.STR_NR_PTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STR NR PT\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.STR_NR_PTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short KROTNOŚĆ {
                get {
                    try {
                        return ((short)(this[this.tableREKLAMA.KROTNOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KROTNOŚĆ\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.KROTNOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte ODSTĘP {
                get {
                    try {
                        return ((byte)(this[this.tableREKLAMA.ODSTĘPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ODSTĘP\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ODSTĘPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KOLOR {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.KOLORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KOLOR\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.KOLORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool WSKAZANIE_MIEJSCA {
                get {
                    try {
                        return ((bool)(this[this.tableREKLAMA.WSKAZANIE_MIEJSCAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WSKAZANIE MIEJSCA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.WSKAZANIE_MIEJSCAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.RABATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.RABATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT_WARTOŚĆ {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.RABAT_WARTOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT WARTOŚĆ\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.RABAT_WARTOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPŁACONO {
                get {
                    try {
                        return ((bool)(this[this.tableREKLAMA.ZAPŁACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPŁACONO\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ZAPŁACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZATWIERDZONO_DO_DRUKU {
                get {
                    try {
                        return ((bool)(this[this.tableREKLAMA.ZATWIERDZONO_DO_DRUKUColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZATWIERDZONO DO DRUKU\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ZATWIERDZONO_DO_DRUKUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAPŁATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.DATA_ZAPŁATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAPŁATY\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.DATA_ZAPŁATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_POTWIERDZENIA {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.SYMBOL_POTWIERDZENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL POTWIERDZENIA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.SYMBOL_POTWIERDZENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string RODZAJ_POTWIERDZENIA {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.RODZAJ_POTWIERDZENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RODZAJ POTWIERDZENIA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.RODZAJ_POTWIERDZENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double CENA_JEDN {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.CENA_JEDNColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA JEDN\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.CENA_JEDNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NETTO {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double VAT {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PVAT {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.PVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PVAT\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.PVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double BRUTTO {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PROCENT_PROWIZJI {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.PROCENT_PROWIZJIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PROCENT PROWIZJI\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.PROCENT_PROWIZJIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PROWIZJA {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.PROWIZJAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PROWIZJA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.PROWIZJAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string INFO {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.INFOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'INFO\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.INFOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FAKTURA_NUMER {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.FAKTURA_NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA NUMER\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int FAKTURA_ID_KONTA {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.FAKTURA_ID_KONTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA ID KONTA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_ID_KONTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime FAKTURA_DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.FAKTURA_DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA DATA WYSTAWIENIA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime FAKTURA_DATA_SPRZEDAŻY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.FAKTURA_DATA_SPRZEDAŻYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA DATA SPRZEDAŻY\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_DATA_SPRZEDAŻYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime FAKTURA_TERMIN_ZAPŁATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.FAKTURA_TERMIN_ZAPŁATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA TERMIN ZAPŁATY\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_TERMIN_ZAPŁATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte FAKTURA_FORMA_PŁATNOŚCI {
                get {
                    try {
                        return ((byte)(this[this.tableREKLAMA.FAKTURA_FORMA_PŁATNOŚCIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA FORMA PŁATNOŚCI\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_FORMA_PŁATNOŚCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool FAKTURA_WYSTAWIONO {
                get {
                    try {
                        return ((bool)(this[this.tableREKLAMA.FAKTURA_WYSTAWIONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA WYSTAWIONO\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_WYSTAWIONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FAKTURA_RODZAJ {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.FAKTURA_RODZAJColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA RODZAJ\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.FAKTURA_RODZAJColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string USERID {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.USERIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'USERID\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.USERIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_OSTATNIEJ_MODYFIKACJI {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.DATA_OSTATNIEJ_MODYFIKACJIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA OSTATNIEJ MODYFIKACJI\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.DATA_OSTATNIEJ_MODYFIKACJIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string _FK_TR {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA._FK_TRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FK-TR\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA._FK_TRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int F_NR {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.F_NRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'F_NR\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.F_NRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string F_NR_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.F_NR_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'F_NR_ROZ\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.F_NR_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int F_NR_ROK {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.F_NR_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'F_NR_ROK\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.F_NR_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.ID_FAKTURYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FAKTURY\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int PROMOCJA {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.PROMOCJAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PROMOCJA\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.PROMOCJAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int GRZBIET {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.GRZBIETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'GRZBIET\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.GRZBIETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int customerId_Sub {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.customerId_SubColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'customerId_Sub\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.customerId_SubColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kier_notatka {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.kier_notatkaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kier_notatka\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.kier_notatkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool kier_zatwierdzil {
                get {
                    try {
                        return ((bool)(this[this.tableREKLAMA.kier_zatwierdzilColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kier_zatwierdzil\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.kier_zatwierdzilColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zam_notatka {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.zam_notatkaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zam_notatka\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.zam_notatkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool zablokuj_prowizje {
                get {
                    return ((bool)(this[this.tableREKLAMA.zablokuj_prowizjeColumn]));
                }
                set {
                    this[this.tableREKLAMA.zablokuj_prowizjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Brutto_Euro {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.Brutto_EuroColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.Brutto_EuroColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Zaliczka_Brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableREKLAMA.Zaliczka_BruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Brutto\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.Zaliczka_BruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Zaliczka_Data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.Zaliczka_DataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Data\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.Zaliczka_DataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Brutto_Euro_Miano {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.Brutto_Euro_MianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro_Miano\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.Brutto_Euro_MianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime waluta_kurs_z_dnia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.waluta_kurs_z_dniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs_z_dnia\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.waluta_kurs_z_dniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_kurs {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.waluta_kursColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.waluta_kursColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int waluta_Przelicznik {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.waluta_PrzelicznikColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_Przelicznik\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.waluta_PrzelicznikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_tabela_nr {
                get {
                    try {
                        return ((string)(this[this.tableREKLAMA.waluta_tabela_nrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_tabela_nr\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.waluta_tabela_nrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double wyroznienie_procent {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.wyroznienie_procentColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wyroznienie_procent\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.wyroznienie_procentColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double wyroznienie_kwota {
                get {
                    try {
                        return ((double)(this[this.tableREKLAMA.wyroznienie_kwotaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wyroznienie_kwota\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.wyroznienie_kwotaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie {
                get {
                    return ((bool)(this[this.tableREKLAMA.wyroznienieColumn]));
                }
                set {
                    this[this.tableREKLAMA.wyroznienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie_exported {
                get {
                    return ((bool)(this[this.tableREKLAMA.wyroznienie_exportedColumn]));
                }
                set {
                    this[this.tableREKLAMA.wyroznienie_exportedColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool logo {
                get {
                    return ((bool)(this[this.tableREKLAMA.logoColumn]));
                }
                set {
                    this[this.tableREKLAMA.logoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int logoID {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.logoIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'logoID\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.logoIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ogl_dzial {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.ogl_dzialColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ogl_dzial\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ogl_dzialColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ogl_rozdzial {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.ogl_rozdzialColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ogl_rozdzial\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.ogl_rozdzialColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableREKLAMA.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Data1Emisji {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableREKLAMA.Data1EmisjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Data1Emisji\' in table \'REKLAMA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableREKLAMA.Data1EmisjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow KLIENCIRow {
                get {
                    return ((KLIENCIRow)(this.GetParentRow(this.Table.ParentRelations["KLIENCI_REKLAMA"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["KLIENCI_REKLAMA"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow FAKTURYRow {
                get {
                    return ((FAKTURYRow)(this.GetParentRow(this.Table.ParentRelations["FAKTURY_REKLAMA"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FAKTURY_REKLAMA"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerIDNull() {
                return this.IsNull(this.tableREKLAMA.CustomerIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerIDNull() {
                this[this.tableREKLAMA.CustomerIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_AKWIZYTORANull() {
                return this.IsNull(this.tableREKLAMA.SYMBOL_AKWIZYTORAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_AKWIZYTORANull() {
                this[this.tableREKLAMA.SYMBOL_AKWIZYTORAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTUŁNull() {
                return this.IsNull(this.tableREKLAMA.TYTUŁColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTUŁNull() {
                this[this.tableREKLAMA.TYTUŁColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYPNull() {
                return this.IsNull(this.tableREKLAMA.TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYPNull() {
                this[this.tableREKLAMA.TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableREKLAMA.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableREKLAMA.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNICK_NAMENull() {
                return this.IsNull(this.tableREKLAMA.NICK_NAMEColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNICK_NAMENull() {
                this[this.tableREKLAMA.NICK_NAMEColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAMÓWIENIANull() {
                return this.IsNull(this.tableREKLAMA.DATA_ZAMÓWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAMÓWIENIANull() {
                this[this.tableREKLAMA.DATA_ZAMÓWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSZERNull() {
                return this.IsNull(this.tableREKLAMA.SZERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSZERNull() {
                this[this.tableREKLAMA.SZERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWYSNull() {
                return this.IsNull(this.tableREKLAMA.WYSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWYSNull() {
                this[this.tableREKLAMA.WYSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMOD_TYPNull() {
                return this.IsNull(this.tableREKLAMA.MOD_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMOD_TYPNull() {
                this[this.tableREKLAMA.MOD_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTRONANull() {
                return this.IsNull(this.tableREKLAMA.STRONAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTRONANull() {
                this[this.tableREKLAMA.STRONAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTR_NR_WTNull() {
                return this.IsNull(this.tableREKLAMA.STR_NR_WTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTR_NR_WTNull() {
                this[this.tableREKLAMA.STR_NR_WTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTR_NR_PTNull() {
                return this.IsNull(this.tableREKLAMA.STR_NR_PTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTR_NR_PTNull() {
                this[this.tableREKLAMA.STR_NR_PTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKROTNOŚĆNull() {
                return this.IsNull(this.tableREKLAMA.KROTNOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKROTNOŚĆNull() {
                this[this.tableREKLAMA.KROTNOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsODSTĘPNull() {
                return this.IsNull(this.tableREKLAMA.ODSTĘPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetODSTĘPNull() {
                this[this.tableREKLAMA.ODSTĘPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKOLORNull() {
                return this.IsNull(this.tableREKLAMA.KOLORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKOLORNull() {
                this[this.tableREKLAMA.KOLORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWSKAZANIE_MIEJSCANull() {
                return this.IsNull(this.tableREKLAMA.WSKAZANIE_MIEJSCAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWSKAZANIE_MIEJSCANull() {
                this[this.tableREKLAMA.WSKAZANIE_MIEJSCAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABATNull() {
                return this.IsNull(this.tableREKLAMA.RABATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABATNull() {
                this[this.tableREKLAMA.RABATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABAT_WARTOŚĆNull() {
                return this.IsNull(this.tableREKLAMA.RABAT_WARTOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABAT_WARTOŚĆNull() {
                this[this.tableREKLAMA.RABAT_WARTOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPŁACONONull() {
                return this.IsNull(this.tableREKLAMA.ZAPŁACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPŁACONONull() {
                this[this.tableREKLAMA.ZAPŁACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZATWIERDZONO_DO_DRUKUNull() {
                return this.IsNull(this.tableREKLAMA.ZATWIERDZONO_DO_DRUKUColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZATWIERDZONO_DO_DRUKUNull() {
                this[this.tableREKLAMA.ZATWIERDZONO_DO_DRUKUColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAPŁATYNull() {
                return this.IsNull(this.tableREKLAMA.DATA_ZAPŁATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAPŁATYNull() {
                this[this.tableREKLAMA.DATA_ZAPŁATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_POTWIERDZENIANull() {
                return this.IsNull(this.tableREKLAMA.SYMBOL_POTWIERDZENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_POTWIERDZENIANull() {
                this[this.tableREKLAMA.SYMBOL_POTWIERDZENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRODZAJ_POTWIERDZENIANull() {
                return this.IsNull(this.tableREKLAMA.RODZAJ_POTWIERDZENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRODZAJ_POTWIERDZENIANull() {
                this[this.tableREKLAMA.RODZAJ_POTWIERDZENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_JEDNNull() {
                return this.IsNull(this.tableREKLAMA.CENA_JEDNColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_JEDNNull() {
                this[this.tableREKLAMA.CENA_JEDNColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableREKLAMA.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableREKLAMA.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableREKLAMA.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableREKLAMA.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPVATNull() {
                return this.IsNull(this.tableREKLAMA.PVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPVATNull() {
                this[this.tableREKLAMA.PVATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableREKLAMA.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableREKLAMA.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPROCENT_PROWIZJINull() {
                return this.IsNull(this.tableREKLAMA.PROCENT_PROWIZJIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPROCENT_PROWIZJINull() {
                this[this.tableREKLAMA.PROCENT_PROWIZJIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPROWIZJANull() {
                return this.IsNull(this.tableREKLAMA.PROWIZJAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPROWIZJANull() {
                this[this.tableREKLAMA.PROWIZJAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsINFONull() {
                return this.IsNull(this.tableREKLAMA.INFOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetINFONull() {
                this[this.tableREKLAMA.INFOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_NUMERNull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_NUMERNull() {
                this[this.tableREKLAMA.FAKTURA_NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_ID_KONTANull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_ID_KONTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_ID_KONTANull() {
                this[this.tableREKLAMA.FAKTURA_ID_KONTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_DATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_DATA_WYSTAWIENIANull() {
                this[this.tableREKLAMA.FAKTURA_DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_DATA_SPRZEDAŻYNull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_DATA_SPRZEDAŻYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_DATA_SPRZEDAŻYNull() {
                this[this.tableREKLAMA.FAKTURA_DATA_SPRZEDAŻYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_TERMIN_ZAPŁATYNull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_TERMIN_ZAPŁATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_TERMIN_ZAPŁATYNull() {
                this[this.tableREKLAMA.FAKTURA_TERMIN_ZAPŁATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_FORMA_PŁATNOŚCINull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_FORMA_PŁATNOŚCIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_FORMA_PŁATNOŚCINull() {
                this[this.tableREKLAMA.FAKTURA_FORMA_PŁATNOŚCIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_WYSTAWIONONull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_WYSTAWIONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_WYSTAWIONONull() {
                this[this.tableREKLAMA.FAKTURA_WYSTAWIONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_RODZAJNull() {
                return this.IsNull(this.tableREKLAMA.FAKTURA_RODZAJColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_RODZAJNull() {
                this[this.tableREKLAMA.FAKTURA_RODZAJColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUSERIDNull() {
                return this.IsNull(this.tableREKLAMA.USERIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUSERIDNull() {
                this[this.tableREKLAMA.USERIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_OSTATNIEJ_MODYFIKACJINull() {
                return this.IsNull(this.tableREKLAMA.DATA_OSTATNIEJ_MODYFIKACJIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_OSTATNIEJ_MODYFIKACJINull() {
                this[this.tableREKLAMA.DATA_OSTATNIEJ_MODYFIKACJIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is_FK_TRNull() {
                return this.IsNull(this.tableREKLAMA._FK_TRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set_FK_TRNull() {
                this[this.tableREKLAMA._FK_TRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsF_NRNull() {
                return this.IsNull(this.tableREKLAMA.F_NRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetF_NRNull() {
                this[this.tableREKLAMA.F_NRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsF_NR_ROZNull() {
                return this.IsNull(this.tableREKLAMA.F_NR_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetF_NR_ROZNull() {
                this[this.tableREKLAMA.F_NR_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsF_NR_ROKNull() {
                return this.IsNull(this.tableREKLAMA.F_NR_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetF_NR_ROKNull() {
                this[this.tableREKLAMA.F_NR_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FAKTURYNull() {
                return this.IsNull(this.tableREKLAMA.ID_FAKTURYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FAKTURYNull() {
                this[this.tableREKLAMA.ID_FAKTURYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPROMOCJANull() {
                return this.IsNull(this.tableREKLAMA.PROMOCJAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPROMOCJANull() {
                this[this.tableREKLAMA.PROMOCJAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsGRZBIETNull() {
                return this.IsNull(this.tableREKLAMA.GRZBIETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetGRZBIETNull() {
                this[this.tableREKLAMA.GRZBIETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IscustomerId_SubNull() {
                return this.IsNull(this.tableREKLAMA.customerId_SubColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetcustomerId_SubNull() {
                this[this.tableREKLAMA.customerId_SubColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iskier_notatkaNull() {
                return this.IsNull(this.tableREKLAMA.kier_notatkaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setkier_notatkaNull() {
                this[this.tableREKLAMA.kier_notatkaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iskier_zatwierdzilNull() {
                return this.IsNull(this.tableREKLAMA.kier_zatwierdzilColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setkier_zatwierdzilNull() {
                this[this.tableREKLAMA.kier_zatwierdzilColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszam_notatkaNull() {
                return this.IsNull(this.tableREKLAMA.zam_notatkaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzam_notatkaNull() {
                this[this.tableREKLAMA.zam_notatkaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_EuroNull() {
                return this.IsNull(this.tableREKLAMA.Brutto_EuroColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_EuroNull() {
                this[this.tableREKLAMA.Brutto_EuroColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_BruttoNull() {
                return this.IsNull(this.tableREKLAMA.Zaliczka_BruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_BruttoNull() {
                this[this.tableREKLAMA.Zaliczka_BruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_DataNull() {
                return this.IsNull(this.tableREKLAMA.Zaliczka_DataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_DataNull() {
                this[this.tableREKLAMA.Zaliczka_DataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_Euro_MianoNull() {
                return this.IsNull(this.tableREKLAMA.Brutto_Euro_MianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_Euro_MianoNull() {
                this[this.tableREKLAMA.Brutto_Euro_MianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kurs_z_dniaNull() {
                return this.IsNull(this.tableREKLAMA.waluta_kurs_z_dniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kurs_z_dniaNull() {
                this[this.tableREKLAMA.waluta_kurs_z_dniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kursNull() {
                return this.IsNull(this.tableREKLAMA.waluta_kursColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kursNull() {
                this[this.tableREKLAMA.waluta_kursColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_PrzelicznikNull() {
                return this.IsNull(this.tableREKLAMA.waluta_PrzelicznikColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_PrzelicznikNull() {
                this[this.tableREKLAMA.waluta_PrzelicznikColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_tabela_nrNull() {
                return this.IsNull(this.tableREKLAMA.waluta_tabela_nrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_tabela_nrNull() {
                this[this.tableREKLAMA.waluta_tabela_nrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswyroznienie_procentNull() {
                return this.IsNull(this.tableREKLAMA.wyroznienie_procentColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwyroznienie_procentNull() {
                this[this.tableREKLAMA.wyroznienie_procentColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswyroznienie_kwotaNull() {
                return this.IsNull(this.tableREKLAMA.wyroznienie_kwotaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwyroznienie_kwotaNull() {
                this[this.tableREKLAMA.wyroznienie_kwotaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IslogoIDNull() {
                return this.IsNull(this.tableREKLAMA.logoIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetlogoIDNull() {
                this[this.tableREKLAMA.logoIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isogl_dzialNull() {
                return this.IsNull(this.tableREKLAMA.ogl_dzialColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setogl_dzialNull() {
                this[this.tableREKLAMA.ogl_dzialColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isogl_rozdzialNull() {
                return this.IsNull(this.tableREKLAMA.ogl_rozdzialColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setogl_rozdzialNull() {
                this[this.tableREKLAMA.ogl_rozdzialColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableREKLAMA.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableREKLAMA.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsData1EmisjiNull() {
                return this.IsNull(this.tableREKLAMA.Data1EmisjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetData1EmisjiNull() {
                this[this.tableREKLAMA.Data1EmisjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARow[] GetREKLAMA_STRONARows() {
                if ((this.Table.ChildRelations["REKLAMA_REKLAMA_STRONA"] == null)) {
                    return new REKLAMA_STRONARow[0];
                }
                else {
                    return ((REKLAMA_STRONARow[])(base.GetChildRows(this.Table.ChildRelations["REKLAMA_REKLAMA_STRONA"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARow[] GetPRODUKCJARows() {
                if ((this.Table.ChildRelations["REKLAMA_PRODUKCJA"] == null)) {
                    return new PRODUKCJARow[0];
                }
                else {
                    return ((PRODUKCJARow[])(base.GetChildRows(this.Table.ChildRelations["REKLAMA_PRODUKCJA"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRow[] GetReklama_Info_DodRows() {
                if ((this.Table.ChildRelations["REKLAMA_Reklama_Info_Dod"] == null)) {
                    return new Reklama_Info_DodRow[0];
                }
                else {
                    return ((Reklama_Info_DodRow[])(base.GetChildRows(this.Table.ChildRelations["REKLAMA_Reklama_Info_Dod"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow[] GetUKAZE_SIE_W_NRRows() {
                if ((this.Table.ChildRelations["REKLAMA_UKAZE_SIE_W_NR"] == null)) {
                    return new UKAZE_SIE_W_NRRow[0];
                }
                else {
                    return ((UKAZE_SIE_W_NRRow[])(base.GetChildRows(this.Table.ChildRelations["REKLAMA_UKAZE_SIE_W_NR"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class UKAZE_SIE_W_NRRow : global::System.Data.DataRow {
            
            private UKAZE_SIE_W_NRDataTable tableUKAZE_SIE_W_NR;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal UKAZE_SIE_W_NRRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableUKAZE_SIE_W_NR = ((UKAZE_SIE_W_NRDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal ID {
                get {
                    return ((decimal)(this[this.tableUKAZE_SIE_W_NR.IDColumn]));
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaId {
                get {
                    return ((int)(this[this.tableUKAZE_SIE_W_NR.ReklamaIdColumn]));
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.ReklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Nr_Wydania {
                get {
                    return ((short)(this[this.tableUKAZE_SIE_W_NR.Nr_WydaniaColumn]));
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.Nr_WydaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short status {
                get {
                    return ((short)(this[this.tableUKAZE_SIE_W_NR.statusColumn]));
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.statusColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool zafakturowana {
                get {
                    return ((bool)(this[this.tableUKAZE_SIE_W_NR.zafakturowanaColumn]));
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.zafakturowanaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFaktury {
                get {
                    try {
                        return ((int)(this[this.tableUKAZE_SIE_W_NR.idFakturyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFaktury\' in table \'UKAZE_SIE_W_NR\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.idFakturyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataDodania {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableUKAZE_SIE_W_NR.dataDodaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'dataDodania\' in table \'UKAZE_SIE_W_NR\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.dataDodaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataAnulowania {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableUKAZE_SIE_W_NR.dataAnulowaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'dataAnulowania\' in table \'UKAZE_SIE_W_NR\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.dataAnulowaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal netto {
                get {
                    try {
                        return ((decimal)(this[this.tableUKAZE_SIE_W_NR.nettoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'UKAZE_SIE_W_NR\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableUKAZE_SIE_W_NR.nettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow FAKTURYRow {
                get {
                    return ((FAKTURYRow)(this.GetParentRow(this.Table.ParentRelations["FAKTURY_UKAZE_SIE_W_NR"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FAKTURY_UKAZE_SIE_W_NR"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow REKLAMARow {
                get {
                    return ((REKLAMARow)(this.GetParentRow(this.Table.ParentRelations["REKLAMA_UKAZE_SIE_W_NR"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["REKLAMA_UKAZE_SIE_W_NR"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyNull() {
                return this.IsNull(this.tableUKAZE_SIE_W_NR.idFakturyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyNull() {
                this[this.tableUKAZE_SIE_W_NR.idFakturyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataDodaniaNull() {
                return this.IsNull(this.tableUKAZE_SIE_W_NR.dataDodaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataDodaniaNull() {
                this[this.tableUKAZE_SIE_W_NR.dataDodaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataAnulowaniaNull() {
                return this.IsNull(this.tableUKAZE_SIE_W_NR.dataAnulowaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataAnulowaniaNull() {
                this[this.tableUKAZE_SIE_W_NR.dataAnulowaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnettoNull() {
                return this.IsNull(this.tableUKAZE_SIE_W_NR.nettoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnettoNull() {
                this[this.tableUKAZE_SIE_W_NR.nettoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiRow[] GetzmianyEmisjiRows() {
                if ((this.Table.ChildRelations["FK_UKAZE_SIE_W_NR_zmianyEmisji"] == null)) {
                    return new zmianyEmisjiRow[0];
                }
                else {
                    return ((zmianyEmisjiRow[])(base.GetChildRows(this.Table.ChildRelations["FK_UKAZE_SIE_W_NR_zmianyEmisji"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanRow[] GetDatyWydanRows() {
                if ((this.Table.ChildRelations["UKAZE_SIE_W_NR_DatyWydan"] == null)) {
                    return new DatyWydanRow[0];
                }
                else {
                    return ((DatyWydanRow[])(base.GetChildRows(this.Table.ChildRelations["UKAZE_SIE_W_NR_DatyWydan"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KLIENCIRow : global::System.Data.DataRow {
            
            private KLIENCIDataTable tableKLIENCI;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCIRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKLIENCI = ((KLIENCIDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string LastName {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.LastNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'LastName\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.LastNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string OrganizationName {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.OrganizationNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'OrganizationName\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.OrganizationNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Address {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.AddressColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Address\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.AddressColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string City {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.CityColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'City\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.CityColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PostalCode {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.PostalCodeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PostalCode\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.PostalCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Country {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.CountryColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Country\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.CountryColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Nip {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.NipColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Nip\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.NipColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ContactName {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.ContactNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ContactName\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.ContactNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string State {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.StateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'State\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.StateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PhoneNumber {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.PhoneNumberColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PhoneNumber\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.PhoneNumberColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FaxNumber {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.FaxNumberColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FaxNumber\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.FaxNumberColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Note {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.NoteColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.NoteColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableKLIENCI.dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'data\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Fkatura {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.Adres_FkaturaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Fkatura\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.Adres_FkaturaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Kor {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.Adres_KorColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Kor\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.Adres_KorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Email {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.EmailColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Email\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.EmailColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Aktywny {
                get {
                    return ((bool)(this[this.tableKLIENCI.AktywnyColumn]));
                }
                set {
                    this[this.tableKLIENCI.AktywnyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Platnik_VAT {
                get {
                    return ((bool)(this[this.tableKLIENCI.Platnik_VATColumn]));
                }
                set {
                    this[this.tableKLIENCI.Platnik_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string UserName {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.UserNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'UserName\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.UserNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string http {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.httpColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'http\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.httpColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string regon {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.regonColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'regon\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.regonColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short VIES {
                get {
                    try {
                        return ((short)(this[this.tableKLIENCI.VIESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VIES\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.VIESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string krs {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.krsColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'krs\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.krsColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Modify_User {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.Modify_UserColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Modify_User\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.Modify_UserColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Last_Modify {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableKLIENCI.Last_ModifyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Last_Modify\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.Last_ModifyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerID {
                get {
                    return ((int)(this[this.tableKLIENCI.CustomerIDColumn]));
                }
                set {
                    this[this.tableKLIENCI.CustomerIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FirstName {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.FirstNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FirstName\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.FirstNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nipKraj {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.nipKrajColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nipKraj\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.nipKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kodKlienta {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.kodKlientaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kodKlienta\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.kodKlientaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string AgentExpo {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI.AgentExpoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'AgentExpo\' in table \'KLIENCI\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI.AgentExpoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsLastNameNull() {
                return this.IsNull(this.tableKLIENCI.LastNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetLastNameNull() {
                this[this.tableKLIENCI.LastNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsOrganizationNameNull() {
                return this.IsNull(this.tableKLIENCI.OrganizationNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetOrganizationNameNull() {
                this[this.tableKLIENCI.OrganizationNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAddressNull() {
                return this.IsNull(this.tableKLIENCI.AddressColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAddressNull() {
                this[this.tableKLIENCI.AddressColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCityNull() {
                return this.IsNull(this.tableKLIENCI.CityColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCityNull() {
                this[this.tableKLIENCI.CityColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPostalCodeNull() {
                return this.IsNull(this.tableKLIENCI.PostalCodeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPostalCodeNull() {
                this[this.tableKLIENCI.PostalCodeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCountryNull() {
                return this.IsNull(this.tableKLIENCI.CountryColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCountryNull() {
                this[this.tableKLIENCI.CountryColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNipNull() {
                return this.IsNull(this.tableKLIENCI.NipColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNipNull() {
                this[this.tableKLIENCI.NipColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsContactNameNull() {
                return this.IsNull(this.tableKLIENCI.ContactNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetContactNameNull() {
                this[this.tableKLIENCI.ContactNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsStateNull() {
                return this.IsNull(this.tableKLIENCI.StateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetStateNull() {
                this[this.tableKLIENCI.StateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPhoneNumberNull() {
                return this.IsNull(this.tableKLIENCI.PhoneNumberColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPhoneNumberNull() {
                this[this.tableKLIENCI.PhoneNumberColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFaxNumberNull() {
                return this.IsNull(this.tableKLIENCI.FaxNumberColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFaxNumberNull() {
                this[this.tableKLIENCI.FaxNumberColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNoteNull() {
                return this.IsNull(this.tableKLIENCI.NoteColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNoteNull() {
                this[this.tableKLIENCI.NoteColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataNull() {
                return this.IsNull(this.tableKLIENCI.dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataNull() {
                this[this.tableKLIENCI.dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_FkaturaNull() {
                return this.IsNull(this.tableKLIENCI.Adres_FkaturaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_FkaturaNull() {
                this[this.tableKLIENCI.Adres_FkaturaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_KorNull() {
                return this.IsNull(this.tableKLIENCI.Adres_KorColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_KorNull() {
                this[this.tableKLIENCI.Adres_KorColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsEmailNull() {
                return this.IsNull(this.tableKLIENCI.EmailColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetEmailNull() {
                this[this.tableKLIENCI.EmailColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUserNameNull() {
                return this.IsNull(this.tableKLIENCI.UserNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUserNameNull() {
                this[this.tableKLIENCI.UserNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IshttpNull() {
                return this.IsNull(this.tableKLIENCI.httpColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SethttpNull() {
                this[this.tableKLIENCI.httpColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsregonNull() {
                return this.IsNull(this.tableKLIENCI.regonColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetregonNull() {
                this[this.tableKLIENCI.regonColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVIESNull() {
                return this.IsNull(this.tableKLIENCI.VIESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVIESNull() {
                this[this.tableKLIENCI.VIESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskrsNull() {
                return this.IsNull(this.tableKLIENCI.krsColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkrsNull() {
                this[this.tableKLIENCI.krsColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsModify_UserNull() {
                return this.IsNull(this.tableKLIENCI.Modify_UserColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetModify_UserNull() {
                this[this.tableKLIENCI.Modify_UserColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsLast_ModifyNull() {
                return this.IsNull(this.tableKLIENCI.Last_ModifyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetLast_ModifyNull() {
                this[this.tableKLIENCI.Last_ModifyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFirstNameNull() {
                return this.IsNull(this.tableKLIENCI.FirstNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFirstNameNull() {
                this[this.tableKLIENCI.FirstNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnipKrajNull() {
                return this.IsNull(this.tableKLIENCI.nipKrajColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnipKrajNull() {
                this[this.tableKLIENCI.nipKrajColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodKlientaNull() {
                return this.IsNull(this.tableKLIENCI.kodKlientaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodKlientaNull() {
                this[this.tableKLIENCI.kodKlientaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAgentExpoNull() {
                return this.IsNull(this.tableKLIENCI.AgentExpoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAgentExpoNull() {
                this[this.tableKLIENCI.AgentExpoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURow[] GetKLIENCI_OSOBY_DO_KONTAKTURows() {
                if ((this.Table.ChildRelations["KLIENCI_KLIENCI_OSOBY_DO_KONTAKTU"] == null)) {
                    return new KLIENCI_OSOBY_DO_KONTAKTURow[0];
                }
                else {
                    return ((KLIENCI_OSOBY_DO_KONTAKTURow[])(base.GetChildRows(this.Table.ChildRelations["KLIENCI_KLIENCI_OSOBY_DO_KONTAKTU"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow[] GetREKLAMARows() {
                if ((this.Table.ChildRelations["KLIENCI_REKLAMA"] == null)) {
                    return new REKLAMARow[0];
                }
                else {
                    return ((REKLAMARow[])(base.GetChildRows(this.Table.ChildRelations["KLIENCI_REKLAMA"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRow[] GetKL_KLIENCIRows() {
                if ((this.Table.ChildRelations["KLIENCI_KL_KLIENCI"] == null)) {
                    return new KL_KLIENCIRow[0];
                }
                else {
                    return ((KL_KLIENCIRow[])(base.GetChildRows(this.Table.ChildRelations["KLIENCI_KL_KLIENCI"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRow[] GetKONTAKTYRows() {
                if ((this.Table.ChildRelations["KLIENCI_KONTAKTY"] == null)) {
                    return new KONTAKTYRow[0];
                }
                else {
                    return ((KONTAKTYRow[])(base.GetChildRows(this.Table.ChildRelations["KLIENCI_KONTAKTY"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow[] GetFAKTURYRows() {
                if ((this.Table.ChildRelations["KLIENCI_FAKTURY"] == null)) {
                    return new FAKTURYRow[0];
                }
                else {
                    return ((FAKTURYRow[])(base.GetChildRows(this.Table.ChildRelations["KLIENCI_FAKTURY"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORow[] GetKLIENCI_INTERNET_LOGORows() {
                if ((this.Table.ChildRelations["FK_KLIENCI_INTERNET_LOGO_KLIENCI"] == null)) {
                    return new KLIENCI_INTERNET_LOGORow[0];
                }
                else {
                    return ((KLIENCI_INTERNET_LOGORow[])(base.GetChildRows(this.Table.ChildRelations["FK_KLIENCI_INTERNET_LOGO_KLIENCI"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class REKLAMA_STRONARow : global::System.Data.DataRow {
            
            private REKLAMA_STRONADataTable tableREKLAMA_STRONA;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal REKLAMA_STRONARow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableREKLAMA_STRONA = ((REKLAMA_STRONADataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_REKLAMA_STRONA {
                get {
                    return ((int)(this[this.tableREKLAMA_STRONA.ID_REKLAMA_STRONAColumn]));
                }
                set {
                    this[this.tableREKLAMA_STRONA.ID_REKLAMA_STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaId {
                get {
                    return ((int)(this[this.tableREKLAMA_STRONA.ReklamaIdColumn]));
                }
                set {
                    this[this.tableREKLAMA_STRONA.ReklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short NR_WYDANIA {
                get {
                    return ((short)(this[this.tableREKLAMA_STRONA.NR_WYDANIAColumn]));
                }
                set {
                    this[this.tableREKLAMA_STRONA.NR_WYDANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_GRZBIETU {
                get {
                    return ((int)(this[this.tableREKLAMA_STRONA.ID_GRZBIETUColumn]));
                }
                set {
                    this[this.tableREKLAMA_STRONA.ID_GRZBIETUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short STRONA {
                get {
                    return ((short)(this[this.tableREKLAMA_STRONA.STRONAColumn]));
                }
                set {
                    this[this.tableREKLAMA_STRONA.STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow REKLAMARow {
                get {
                    return ((REKLAMARow)(this.GetParentRow(this.Table.ParentRelations["REKLAMA_REKLAMA_STRONA"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["REKLAMA_REKLAMA_STRONA"]);
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KLIENCI_OSOBY_DO_KONTAKTURow : global::System.Data.DataRow {
            
            private KLIENCI_OSOBY_DO_KONTAKTUDataTable tableKLIENCI_OSOBY_DO_KONTAKTU;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCI_OSOBY_DO_KONTAKTURow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKLIENCI_OSOBY_DO_KONTAKTU = ((KLIENCI_OSOBY_DO_KONTAKTUDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_klienci_os_kontakt {
                get {
                    return ((int)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.id_klienci_os_kontaktColumn]));
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.id_klienci_os_kontaktColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int customerid {
                get {
                    return ((int)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.customeridColumn]));
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.customeridColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Imie_Nazwisko {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.Imie_NazwiskoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Imie_Nazwisko\' in table \'KLIENCI_OSOBY_DO_KONTAKTU\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.Imie_NazwiskoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string stanowisko {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.stanowiskoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'stanowisko\' in table \'KLIENCI_OSOBY_DO_KONTAKTU\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.stanowiskoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Tel {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.TelColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Tel\' in table \'KLIENCI_OSOBY_DO_KONTAKTU\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.TelColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string email {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.emailColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'email\' in table \'KLIENCI_OSOBY_DO_KONTAKTU\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.emailColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string opis {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'opis\' in table \'KLIENCI_OSOBY_DO_KONTAKTU\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow KLIENCIRow {
                get {
                    return ((KLIENCIRow)(this.GetParentRow(this.Table.ParentRelations["KLIENCI_KLIENCI_OSOBY_DO_KONTAKTU"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["KLIENCI_KLIENCI_OSOBY_DO_KONTAKTU"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsImie_NazwiskoNull() {
                return this.IsNull(this.tableKLIENCI_OSOBY_DO_KONTAKTU.Imie_NazwiskoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetImie_NazwiskoNull() {
                this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.Imie_NazwiskoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsstanowiskoNull() {
                return this.IsNull(this.tableKLIENCI_OSOBY_DO_KONTAKTU.stanowiskoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetstanowiskoNull() {
                this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.stanowiskoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTelNull() {
                return this.IsNull(this.tableKLIENCI_OSOBY_DO_KONTAKTU.TelColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTelNull() {
                this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.TelColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsemailNull() {
                return this.IsNull(this.tableKLIENCI_OSOBY_DO_KONTAKTU.emailColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetemailNull() {
                this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.emailColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsopisNull() {
                return this.IsNull(this.tableKLIENCI_OSOBY_DO_KONTAKTU.opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetopisNull() {
                this[this.tableKLIENCI_OSOBY_DO_KONTAKTU.opisColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class PRODUKCJARow : global::System.Data.DataRow {
            
            private PRODUKCJADataTable tablePRODUKCJA;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal PRODUKCJARow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablePRODUKCJA = ((PRODUKCJADataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID {
                get {
                    return ((int)(this[this.tablePRODUKCJA.IDColumn]));
                }
                set {
                    this[this.tablePRODUKCJA.IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaId {
                get {
                    try {
                        return ((int)(this[this.tablePRODUKCJA.ReklamaIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ReklamaId\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.ReklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYP_PROJEKTU {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.TYP_PROJEKTUColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYP_PROJEKTU\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.TYP_PROJEKTUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NAZWA_ZAMOWIENIA {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.NAZWA_ZAMOWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NAZWA_ZAMOWIENIA\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.NAZWA_ZAMOWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string STAN {
                get {
                    return ((string)(this[this.tablePRODUKCJA.STANColumn]));
                }
                set {
                    this[this.tablePRODUKCJA.STANColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string AGENT {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.AGENTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'AGENT\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.AGENTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_AGENT {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.DATA_AGENTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_AGENT\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DATA_AGENTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime ZAMAWIAM_NA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.ZAMAWIAM_NAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAMAWIAM_NA\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.ZAMAWIAM_NAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PRIORYTET {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.PRIORYTETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PRIORYTET\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.PRIORYTETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PRODUKCJA {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.PRODUKCJAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PRODUKCJA\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.PRODUKCJAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_PRODUKCJA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.DATA_PRODUKCJAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_PRODUKCJA\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DATA_PRODUKCJAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string DTP {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.DTPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DTP\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DTPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_DTP {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.DATA_DTPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_DTP\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DATA_DTPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KOREKTA {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.KOREKTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KOREKTA\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_KOREKTA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.DATA_KOREKTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_KOREKTA\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DATA_KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string DTP_PO_KOR {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.DTP_PO_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DTP_PO_KOR\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DTP_PO_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_DTP_PO_KOR {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.DATA_DTP_PO_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_DTP_PO_KOR\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DATA_DTP_PO_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_AKCEPTACJI {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablePRODUKCJA.DATA_AKCEPTACJIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_AKCEPTACJI\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DATA_AKCEPTACJIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short OCENA {
                get {
                    return ((short)(this[this.tablePRODUKCJA.OCENAColumn]));
                }
                set {
                    this[this.tablePRODUKCJA.OCENAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string OPIS {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.OPISColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'OPIS\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.OPISColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PLIK {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.PLIKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PLIK\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.PLIKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string uwagi {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.uwagiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'uwagi\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.uwagiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string DataEmisji {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.DataEmisjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DataEmisji\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.DataEmisjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Moduł {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.ModułColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Moduł\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.ModułColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short szer {
                get {
                    try {
                        return ((short)(this[this.tablePRODUKCJA.szerColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'szer\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.szerColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short wys {
                get {
                    try {
                        return ((short)(this[this.tablePRODUKCJA.wysColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wys\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.wysColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string lokalizacja {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.lokalizacjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'lokalizacja\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.lokalizacjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kolor {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.kolorColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kolor\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.kolorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string szkic {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.szkicColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'szkic\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.szkicColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kurier {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.kurierColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kurier\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.kurierColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string path_to_material {
                get {
                    try {
                        return ((string)(this[this.tablePRODUKCJA.path_to_materialColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'path_to_material\' in table \'PRODUKCJA\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePRODUKCJA.path_to_materialColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow REKLAMARow {
                get {
                    return ((REKLAMARow)(this.GetParentRow(this.Table.ParentRelations["REKLAMA_PRODUKCJA"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["REKLAMA_PRODUKCJA"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsReklamaIdNull() {
                return this.IsNull(this.tablePRODUKCJA.ReklamaIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetReklamaIdNull() {
                this[this.tablePRODUKCJA.ReklamaIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYP_PROJEKTUNull() {
                return this.IsNull(this.tablePRODUKCJA.TYP_PROJEKTUColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYP_PROJEKTUNull() {
                this[this.tablePRODUKCJA.TYP_PROJEKTUColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNAZWA_ZAMOWIENIANull() {
                return this.IsNull(this.tablePRODUKCJA.NAZWA_ZAMOWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNAZWA_ZAMOWIENIANull() {
                this[this.tablePRODUKCJA.NAZWA_ZAMOWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAGENTNull() {
                return this.IsNull(this.tablePRODUKCJA.AGENTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAGENTNull() {
                this[this.tablePRODUKCJA.AGENTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_AGENTNull() {
                return this.IsNull(this.tablePRODUKCJA.DATA_AGENTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_AGENTNull() {
                this[this.tablePRODUKCJA.DATA_AGENTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAMAWIAM_NANull() {
                return this.IsNull(this.tablePRODUKCJA.ZAMAWIAM_NAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAMAWIAM_NANull() {
                this[this.tablePRODUKCJA.ZAMAWIAM_NAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPRIORYTETNull() {
                return this.IsNull(this.tablePRODUKCJA.PRIORYTETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPRIORYTETNull() {
                this[this.tablePRODUKCJA.PRIORYTETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPRODUKCJANull() {
                return this.IsNull(this.tablePRODUKCJA.PRODUKCJAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPRODUKCJANull() {
                this[this.tablePRODUKCJA.PRODUKCJAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_PRODUKCJANull() {
                return this.IsNull(this.tablePRODUKCJA.DATA_PRODUKCJAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_PRODUKCJANull() {
                this[this.tablePRODUKCJA.DATA_PRODUKCJAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDTPNull() {
                return this.IsNull(this.tablePRODUKCJA.DTPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDTPNull() {
                this[this.tablePRODUKCJA.DTPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_DTPNull() {
                return this.IsNull(this.tablePRODUKCJA.DATA_DTPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_DTPNull() {
                this[this.tablePRODUKCJA.DATA_DTPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKOREKTANull() {
                return this.IsNull(this.tablePRODUKCJA.KOREKTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKOREKTANull() {
                this[this.tablePRODUKCJA.KOREKTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_KOREKTANull() {
                return this.IsNull(this.tablePRODUKCJA.DATA_KOREKTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_KOREKTANull() {
                this[this.tablePRODUKCJA.DATA_KOREKTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDTP_PO_KORNull() {
                return this.IsNull(this.tablePRODUKCJA.DTP_PO_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDTP_PO_KORNull() {
                this[this.tablePRODUKCJA.DTP_PO_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_DTP_PO_KORNull() {
                return this.IsNull(this.tablePRODUKCJA.DATA_DTP_PO_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_DTP_PO_KORNull() {
                this[this.tablePRODUKCJA.DATA_DTP_PO_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_AKCEPTACJINull() {
                return this.IsNull(this.tablePRODUKCJA.DATA_AKCEPTACJIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_AKCEPTACJINull() {
                this[this.tablePRODUKCJA.DATA_AKCEPTACJIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsOPISNull() {
                return this.IsNull(this.tablePRODUKCJA.OPISColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetOPISNull() {
                this[this.tablePRODUKCJA.OPISColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPLIKNull() {
                return this.IsNull(this.tablePRODUKCJA.PLIKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPLIKNull() {
                this[this.tablePRODUKCJA.PLIKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsuwagiNull() {
                return this.IsNull(this.tablePRODUKCJA.uwagiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetuwagiNull() {
                this[this.tablePRODUKCJA.uwagiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDataEmisjiNull() {
                return this.IsNull(this.tablePRODUKCJA.DataEmisjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDataEmisjiNull() {
                this[this.tablePRODUKCJA.DataEmisjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsModułNull() {
                return this.IsNull(this.tablePRODUKCJA.ModułColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetModułNull() {
                this[this.tablePRODUKCJA.ModułColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsszerNull() {
                return this.IsNull(this.tablePRODUKCJA.szerColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetszerNull() {
                this[this.tablePRODUKCJA.szerColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IswysNull() {
                return this.IsNull(this.tablePRODUKCJA.wysColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetwysNull() {
                this[this.tablePRODUKCJA.wysColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IslokalizacjaNull() {
                return this.IsNull(this.tablePRODUKCJA.lokalizacjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetlokalizacjaNull() {
                this[this.tablePRODUKCJA.lokalizacjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskolorNull() {
                return this.IsNull(this.tablePRODUKCJA.kolorColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkolorNull() {
                this[this.tablePRODUKCJA.kolorColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsszkicNull() {
                return this.IsNull(this.tablePRODUKCJA.szkicColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetszkicNull() {
                this[this.tablePRODUKCJA.szkicColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskurierNull() {
                return this.IsNull(this.tablePRODUKCJA.kurierColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkurierNull() {
                this[this.tablePRODUKCJA.kurierColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Ispath_to_materialNull() {
                return this.IsNull(this.tablePRODUKCJA.path_to_materialColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setpath_to_materialNull() {
                this[this.tablePRODUKCJA.path_to_materialColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class FAKTURYRow : global::System.Data.DataRow {
            
            private FAKTURYDataTable tableFAKTURY;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FAKTURYRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableFAKTURY = ((FAKTURYDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    return ((int)(this[this.tableFAKTURY.ID_FAKTURYColumn]));
                }
                set {
                    this[this.tableFAKTURY.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.NUMER_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.NUMER_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_ROK {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.NUMER_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.NUMER_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MIEJSCOWOSC_WYSTAWIENIA {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.MIEJSCOWOSC_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MIEJSCOWOSC_WYSTAWIENIA\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.MIEJSCOWOSC_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_SPRZEDAWCY {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.ID_SPRZEDAWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_SPRZEDAWCY\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.ID_SPRZEDAWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_NABYWCY {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.ID_NABYWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_NABYWCY\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.ID_NABYWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_SPRZEDAZY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.DATA_SPRZEDAZYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.DATA_SPRZEDAZYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PODPIS_WYSTAWIL {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.PODPIS_WYSTAWILColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODPIS_WYSTAWIL\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.PODPIS_WYSTAWILColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PODPIS_ODEBRAL {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.PODPIS_ODEBRALColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODPIS_ODEBRAL\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.PODPIS_ODEBRALColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string opis {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'opis\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPOSOB_ZAPLATY {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.SPOSOB_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPOSOB_ZAPLATY\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.SPOSOB_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPLACONO {
                get {
                    try {
                        return ((bool)(this[this.tableFAKTURY.ZAPLACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPLACONO\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.ZAPLACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool BYL_WYDRUK {
                get {
                    try {
                        return ((bool)(this[this.tableFAKTURY.BYL_WYDRUKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BYL_WYDRUK\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.BYL_WYDRUKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NABYWCA_ADRES {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.NABYWCA_ADRESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NABYWCA_ADRES\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.NABYWCA_ADRESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPRZEDAWCA_ADRES {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.SPRZEDAWCA_ADRESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPRZEDAWCA_ADRES\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.SPRZEDAWCA_ADRESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPRZEDAWCA_NIP {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.SPRZEDAWCA_NIPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPRZEDAWCA_NIP\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.SPRZEDAWCA_NIPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NABYWCA_NIP {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.NABYWCA_NIPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NABYWCA_NIP\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.NABYWCA_NIPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short FAKTURA_TYP {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURY.FAKTURA_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA_TYP\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.FAKTURA_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short FAKTURA_PODTYP {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURY.FAKTURA_PODTYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA_PODTYP\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.FAKTURA_PODTYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_KONTA {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURY.ID_KONTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_KONTA\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.ID_KONTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool EKSPORT {
                get {
                    return ((bool)(this[this.tableFAKTURY.EKSPORTColumn]));
                }
                set {
                    this[this.tableFAKTURY.EKSPORTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool EXPORTED {
                get {
                    return ((bool)(this[this.tableFAKTURY.EXPORTEDColumn]));
                }
                set {
                    this[this.tableFAKTURY.EXPORTEDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_TYTUL {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURY.ID_TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_TYTUL\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.ID_TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime EXPORTED_DATA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.EXPORTED_DATAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'EXPORTED_DATA\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.EXPORTED_DATAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zaplat {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURY.suma_zaplatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.suma_zaplatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FK_KOR {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.ID_FK_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FK_KOR\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.ID_FK_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime zaplata_data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.zaplata_dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.zaplata_dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zaplata_opis {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.zaplata_opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_opis\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.zaplata_opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Zaliczka_Brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURY.Zaliczka_BruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Brutto\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.Zaliczka_BruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Zaliczka_Data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.Zaliczka_DataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Data\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.Zaliczka_DataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_brutto {
                get {
                    try {
                        return ((double)(this[this.tableFAKTURY.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_kurs {
                get {
                    try {
                        return ((double)(this[this.tableFAKTURY.waluta_kursColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.waluta_kursColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int waluta_przelicznik {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.waluta_przelicznikColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_przelicznik\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.waluta_przelicznikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime waluta_kurs_z_dnia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFAKTURY.waluta_kurs_z_dniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs_z_dnia\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.waluta_kurs_z_dniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_tabela_nr {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURY.waluta_tabela_nrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_tabela_nr\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.waluta_tabela_nrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyKorekta {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.idFakturyKorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyKorekta\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.idFakturyKorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool KOREKTA {
                get {
                    return ((bool)(this[this.tableFAKTURY.KOREKTAColumn]));
                }
                set {
                    this[this.tableFAKTURY.KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyVAT {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURY.idFakturyVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyVAT\' in table \'FAKTURY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURY.idFakturyVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NrTygodnia {
                get {
                    if (this.IsNrTygodniaNull()) {
                        return string.Empty;
                    }
                    else {
                        return ((string)(this[this.tableFAKTURY.NrTygodniaColumn]));
                    }
                }
                set {
                    this[this.tableFAKTURY.NrTygodniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow KLIENCIRow {
                get {
                    return ((KLIENCIRow)(this.GetParentRow(this.Table.ParentRelations["KLIENCI_FAKTURY"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["KLIENCI_FAKTURY"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableFAKTURY.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableFAKTURY.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZNull() {
                return this.IsNull(this.tableFAKTURY.NUMER_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZNull() {
                this[this.tableFAKTURY.NUMER_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROKNull() {
                return this.IsNull(this.tableFAKTURY.NUMER_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROKNull() {
                this[this.tableFAKTURY.NUMER_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableFAKTURY.DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_WYSTAWIENIANull() {
                this[this.tableFAKTURY.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMIEJSCOWOSC_WYSTAWIENIANull() {
                return this.IsNull(this.tableFAKTURY.MIEJSCOWOSC_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMIEJSCOWOSC_WYSTAWIENIANull() {
                this[this.tableFAKTURY.MIEJSCOWOSC_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_SPRZEDAWCYNull() {
                return this.IsNull(this.tableFAKTURY.ID_SPRZEDAWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_SPRZEDAWCYNull() {
                this[this.tableFAKTURY.ID_SPRZEDAWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_NABYWCYNull() {
                return this.IsNull(this.tableFAKTURY.ID_NABYWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_NABYWCYNull() {
                this[this.tableFAKTURY.ID_NABYWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_SPRZEDAZYNull() {
                return this.IsNull(this.tableFAKTURY.DATA_SPRZEDAZYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_SPRZEDAZYNull() {
                this[this.tableFAKTURY.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODPIS_WYSTAWILNull() {
                return this.IsNull(this.tableFAKTURY.PODPIS_WYSTAWILColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODPIS_WYSTAWILNull() {
                this[this.tableFAKTURY.PODPIS_WYSTAWILColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODPIS_ODEBRALNull() {
                return this.IsNull(this.tableFAKTURY.PODPIS_ODEBRALColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODPIS_ODEBRALNull() {
                this[this.tableFAKTURY.PODPIS_ODEBRALColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsopisNull() {
                return this.IsNull(this.tableFAKTURY.opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetopisNull() {
                this[this.tableFAKTURY.opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPOSOB_ZAPLATYNull() {
                return this.IsNull(this.tableFAKTURY.SPOSOB_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPOSOB_ZAPLATYNull() {
                this[this.tableFAKTURY.SPOSOB_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableFAKTURY.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableFAKTURY.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPLACONONull() {
                return this.IsNull(this.tableFAKTURY.ZAPLACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPLACONONull() {
                this[this.tableFAKTURY.ZAPLACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBYL_WYDRUKNull() {
                return this.IsNull(this.tableFAKTURY.BYL_WYDRUKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBYL_WYDRUKNull() {
                this[this.tableFAKTURY.BYL_WYDRUKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNABYWCA_ADRESNull() {
                return this.IsNull(this.tableFAKTURY.NABYWCA_ADRESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNABYWCA_ADRESNull() {
                this[this.tableFAKTURY.NABYWCA_ADRESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPRZEDAWCA_ADRESNull() {
                return this.IsNull(this.tableFAKTURY.SPRZEDAWCA_ADRESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPRZEDAWCA_ADRESNull() {
                this[this.tableFAKTURY.SPRZEDAWCA_ADRESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPRZEDAWCA_NIPNull() {
                return this.IsNull(this.tableFAKTURY.SPRZEDAWCA_NIPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPRZEDAWCA_NIPNull() {
                this[this.tableFAKTURY.SPRZEDAWCA_NIPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNABYWCA_NIPNull() {
                return this.IsNull(this.tableFAKTURY.NABYWCA_NIPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNABYWCA_NIPNull() {
                this[this.tableFAKTURY.NABYWCA_NIPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_TYPNull() {
                return this.IsNull(this.tableFAKTURY.FAKTURA_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_TYPNull() {
                this[this.tableFAKTURY.FAKTURA_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_PODTYPNull() {
                return this.IsNull(this.tableFAKTURY.FAKTURA_PODTYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_PODTYPNull() {
                this[this.tableFAKTURY.FAKTURA_PODTYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_KONTANull() {
                return this.IsNull(this.tableFAKTURY.ID_KONTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_KONTANull() {
                this[this.tableFAKTURY.ID_KONTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_TYTULNull() {
                return this.IsNull(this.tableFAKTURY.ID_TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_TYTULNull() {
                this[this.tableFAKTURY.ID_TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsEXPORTED_DATANull() {
                return this.IsNull(this.tableFAKTURY.EXPORTED_DATAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetEXPORTED_DATANull() {
                this[this.tableFAKTURY.EXPORTED_DATAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zaplatNull() {
                return this.IsNull(this.tableFAKTURY.suma_zaplatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zaplatNull() {
                this[this.tableFAKTURY.suma_zaplatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FK_KORNull() {
                return this.IsNull(this.tableFAKTURY.ID_FK_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FK_KORNull() {
                this[this.tableFAKTURY.ID_FK_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_dataNull() {
                return this.IsNull(this.tableFAKTURY.zaplata_dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_dataNull() {
                this[this.tableFAKTURY.zaplata_dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_opisNull() {
                return this.IsNull(this.tableFAKTURY.zaplata_opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_opisNull() {
                this[this.tableFAKTURY.zaplata_opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_BruttoNull() {
                return this.IsNull(this.tableFAKTURY.Zaliczka_BruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_BruttoNull() {
                this[this.tableFAKTURY.Zaliczka_BruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_DataNull() {
                return this.IsNull(this.tableFAKTURY.Zaliczka_DataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_DataNull() {
                this[this.tableFAKTURY.Zaliczka_DataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableFAKTURY.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableFAKTURY.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableFAKTURY.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableFAKTURY.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kursNull() {
                return this.IsNull(this.tableFAKTURY.waluta_kursColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kursNull() {
                this[this.tableFAKTURY.waluta_kursColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_przelicznikNull() {
                return this.IsNull(this.tableFAKTURY.waluta_przelicznikColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_przelicznikNull() {
                this[this.tableFAKTURY.waluta_przelicznikColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kurs_z_dniaNull() {
                return this.IsNull(this.tableFAKTURY.waluta_kurs_z_dniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kurs_z_dniaNull() {
                this[this.tableFAKTURY.waluta_kurs_z_dniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_tabela_nrNull() {
                return this.IsNull(this.tableFAKTURY.waluta_tabela_nrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_tabela_nrNull() {
                this[this.tableFAKTURY.waluta_tabela_nrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableFAKTURY.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableFAKTURY.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyKorektaNull() {
                return this.IsNull(this.tableFAKTURY.idFakturyKorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyKorektaNull() {
                this[this.tableFAKTURY.idFakturyKorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyVATNull() {
                return this.IsNull(this.tableFAKTURY.idFakturyVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyVATNull() {
                this[this.tableFAKTURY.idFakturyVATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNrTygodniaNull() {
                return this.IsNull(this.tableFAKTURY.NrTygodniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNrTygodniaNull() {
                this[this.tableFAKTURY.NrTygodniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRow[] GetWplatyRows() {
                if ((this.Table.ChildRelations["FAKTURY_Wplaty"] == null)) {
                    return new WplatyRow[0];
                }
                else {
                    return ((WplatyRow[])(base.GetChildRows(this.Table.ChildRelations["FAKTURY_Wplaty"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRow[] GetFAKTURA_DETAILSRows() {
                if ((this.Table.ChildRelations["FAKTURY_FAKTURA_DETAILS"] == null)) {
                    return new FAKTURA_DETAILSRow[0];
                }
                else {
                    return ((FAKTURA_DETAILSRow[])(base.GetChildRows(this.Table.ChildRelations["FAKTURY_FAKTURA_DETAILS"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow[] GetUKAZE_SIE_W_NRRows() {
                if ((this.Table.ChildRelations["FAKTURY_UKAZE_SIE_W_NR"] == null)) {
                    return new UKAZE_SIE_W_NRRow[0];
                }
                else {
                    return ((UKAZE_SIE_W_NRRow[])(base.GetChildRows(this.Table.ChildRelations["FAKTURY_UKAZE_SIE_W_NR"])));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow[] GetREKLAMARows() {
                if ((this.Table.ChildRelations["FAKTURY_REKLAMA"] == null)) {
                    return new REKLAMARow[0];
                }
                else {
                    return ((REKLAMARow[])(base.GetChildRows(this.Table.ChildRelations["FAKTURY_REKLAMA"])));
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class FAKTURA_DETAILSRow : global::System.Data.DataRow {
            
            private FAKTURA_DETAILSDataTable tableFAKTURA_DETAILS;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FAKTURA_DETAILSRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableFAKTURA_DETAILS = ((FAKTURA_DETAILSDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURA_DETAILS {
                get {
                    return ((int)(this[this.tableFAKTURA_DETAILS.ID_FAKTURA_DETAILSColumn]));
                }
                set {
                    this[this.tableFAKTURA_DETAILS.ID_FAKTURA_DETAILSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS.ID_FAKTURYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FAKTURY\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ROK {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS.ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short MIESIAC {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS.MIESIACColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MIESIAC\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.MIESIACColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NAZWA_USLUGI {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURA_DETAILS.NAZWA_USLUGIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NAZWA_USLUGI\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.NAZWA_USLUGIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_SWW {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURA_DETAILS.SYMBOL_SWWColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL_SWW\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.SYMBOL_SWWColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string JM {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURA_DETAILS.JMColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'JM\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.JMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ILOSC {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS.ILOSCColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ILOSC\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.ILOSCColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal CENA_JEDN {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS.CENA_JEDNColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA_JEDN\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.CENA_JEDNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double UPUST_PR {
                get {
                    try {
                        return ((double)(this[this.tableFAKTURA_DETAILS.UPUST_PRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'UPUST_PR\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.UPUST_PRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal UPUST_NETTO {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS.UPUST_NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'UPUST_NETTO\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.UPUST_NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal NETTO {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double S_VAT {
                get {
                    try {
                        return ((double)(this[this.tableFAKTURA_DETAILS.S_VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'S_VAT\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.S_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal VAT {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal BRUTTO {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TYTUL {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS.TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUL\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short NR_WYDANIA {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS.NR_WYDANIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_WYDANIA\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.NR_WYDANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TYP {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS.TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYP\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short PODTYP {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS.PODTYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODTYP\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.PODTYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie {
                get {
                    try {
                        return ((bool)(this[this.tableFAKTURA_DETAILS.wyroznienieColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wyroznienie\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.wyroznienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int reklamaId {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS.reklamaIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'reklamaId\' in table \'FAKTURA_DETAILS\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS.reklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow FAKTURYRow {
                get {
                    return ((FAKTURYRow)(this.GetParentRow(this.Table.ParentRelations["FAKTURY_FAKTURA_DETAILS"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FAKTURY_FAKTURA_DETAILS"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FAKTURYNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.ID_FAKTURYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FAKTURYNull() {
                this[this.tableFAKTURA_DETAILS.ID_FAKTURYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsROKNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetROKNull() {
                this[this.tableFAKTURA_DETAILS.ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMIESIACNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.MIESIACColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMIESIACNull() {
                this[this.tableFAKTURA_DETAILS.MIESIACColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNAZWA_USLUGINull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.NAZWA_USLUGIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNAZWA_USLUGINull() {
                this[this.tableFAKTURA_DETAILS.NAZWA_USLUGIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_SWWNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.SYMBOL_SWWColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_SWWNull() {
                this[this.tableFAKTURA_DETAILS.SYMBOL_SWWColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsJMNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.JMColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetJMNull() {
                this[this.tableFAKTURA_DETAILS.JMColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsILOSCNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.ILOSCColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetILOSCNull() {
                this[this.tableFAKTURA_DETAILS.ILOSCColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_JEDNNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.CENA_JEDNColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_JEDNNull() {
                this[this.tableFAKTURA_DETAILS.CENA_JEDNColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUPUST_PRNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.UPUST_PRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUPUST_PRNull() {
                this[this.tableFAKTURA_DETAILS.UPUST_PRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUPUST_NETTONull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.UPUST_NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUPUST_NETTONull() {
                this[this.tableFAKTURA_DETAILS.UPUST_NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableFAKTURA_DETAILS.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsS_VATNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.S_VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetS_VATNull() {
                this[this.tableFAKTURA_DETAILS.S_VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableFAKTURA_DETAILS.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableFAKTURA_DETAILS.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTULNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTULNull() {
                this[this.tableFAKTURA_DETAILS.TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_WYDANIANull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.NR_WYDANIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_WYDANIANull() {
                this[this.tableFAKTURA_DETAILS.NR_WYDANIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYPNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYPNull() {
                this[this.tableFAKTURA_DETAILS.TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODTYPNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.PODTYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODTYPNull() {
                this[this.tableFAKTURA_DETAILS.PODTYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IswyroznienieNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.wyroznienieColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetwyroznienieNull() {
                this[this.tableFAKTURA_DETAILS.wyroznienieColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsreklamaIdNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS.reklamaIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetreklamaIdNull() {
                this[this.tableFAKTURA_DETAILS.reklamaIdColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KL_KLIENCIRow : global::System.Data.DataRow {
            
            private KL_KLIENCIDataTable tableKL_KLIENCI;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KL_KLIENCIRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKL_KLIENCI = ((KL_KLIENCIDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_KL_KLIENCI {
                get {
                    return ((int)(this[this.tableKL_KLIENCI.ID_KL_KLIENCIColumn]));
                }
                set {
                    this[this.tableKL_KLIENCI.ID_KL_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_KL_1 {
                get {
                    return ((int)(this[this.tableKL_KLIENCI.ID_KL_1Column]));
                }
                set {
                    this[this.tableKL_KLIENCI.ID_KL_1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_KL_2 {
                get {
                    return ((int)(this[this.tableKL_KLIENCI.ID_KL_2Column]));
                }
                set {
                    this[this.tableKL_KLIENCI.ID_KL_2Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_KL_3 {
                get {
                    return ((int)(this[this.tableKL_KLIENCI.ID_KL_3Column]));
                }
                set {
                    this[this.tableKL_KLIENCI.ID_KL_3Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Customerid {
                get {
                    return ((int)(this[this.tableKL_KLIENCI.CustomeridColumn]));
                }
                set {
                    this[this.tableKL_KLIENCI.CustomeridColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string username {
                get {
                    return ((string)(this[this.tableKL_KLIENCI.usernameColumn]));
                }
                set {
                    this[this.tableKL_KLIENCI.usernameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data {
                get {
                    return ((global::System.DateTime)(this[this.tableKL_KLIENCI.dataColumn]));
                }
                set {
                    this[this.tableKL_KLIENCI.dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow KLIENCIRow {
                get {
                    return ((KLIENCIRow)(this.GetParentRow(this.Table.ParentRelations["KLIENCI_KL_KLIENCI"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["KLIENCI_KL_KLIENCI"]);
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class ReklamyZestawienieRow : global::System.Data.DataRow {
            
            private ReklamyZestawienieDataTable tableReklamyZestawienie;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ReklamyZestawienieRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableReklamyZestawienie = ((ReklamyZestawienieDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaID {
                get {
                    return ((int)(this[this.tableReklamyZestawienie.ReklamaIDColumn]));
                }
                set {
                    this[this.tableReklamyZestawienie.ReklamaIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerID {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.CustomerIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerID\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.CustomerIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_AKWIZYTORA {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.SYMBOL_AKWIZYTORAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL AKWIZYTORA\' in table \'ReklamyZestawienie\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.SYMBOL_AKWIZYTORAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUŁ {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.TYTUŁColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUŁ\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.TYTUŁColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYP {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYP\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NICK_NAME {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.NICK_NAMEColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NICK NAME\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.NICK_NAMEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAMÓWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.DATA_ZAMÓWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAMÓWIENIA\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.DATA_ZAMÓWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SZER {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.SZERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SZER\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.SZERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double WYS {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.WYSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WYS\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.WYSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MOD_TYP {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.MOD_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MOD_TYP\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.MOD_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string STRONA {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.STRONAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STRONA\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short STR_NR_WT {
                get {
                    try {
                        return ((short)(this[this.tableReklamyZestawienie.STR_NR_WTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STR NR WT\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.STR_NR_WTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short STR_NR_PT {
                get {
                    try {
                        return ((short)(this[this.tableReklamyZestawienie.STR_NR_PTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STR NR PT\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.STR_NR_PTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short KROTNOŚĆ {
                get {
                    try {
                        return ((short)(this[this.tableReklamyZestawienie.KROTNOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KROTNOŚĆ\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.KROTNOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte ODSTĘP {
                get {
                    try {
                        return ((byte)(this[this.tableReklamyZestawienie.ODSTĘPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ODSTĘP\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.ODSTĘPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KOLOR {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.KOLORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KOLOR\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.KOLORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool WSKAZANIE_MIEJSCA {
                get {
                    try {
                        return ((bool)(this[this.tableReklamyZestawienie.WSKAZANIE_MIEJSCAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WSKAZANIE MIEJSCA\' in table \'ReklamyZestawienie\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.WSKAZANIE_MIEJSCAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.RABATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.RABATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT_WARTOŚĆ {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.RABAT_WARTOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT WARTOŚĆ\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.RABAT_WARTOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPŁACONO {
                get {
                    try {
                        return ((bool)(this[this.tableReklamyZestawienie.ZAPŁACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPŁACONO\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.ZAPŁACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZATWIERDZONO_DO_DRUKU {
                get {
                    try {
                        return ((bool)(this[this.tableReklamyZestawienie.ZATWIERDZONO_DO_DRUKUColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZATWIERDZONO DO DRUKU\' in table \'ReklamyZestawienie\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.ZATWIERDZONO_DO_DRUKUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAPŁATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.DATA_ZAPŁATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAPŁATY\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.DATA_ZAPŁATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_POTWIERDZENIA {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.SYMBOL_POTWIERDZENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL POTWIERDZENIA\' in table \'ReklamyZestawienie\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.SYMBOL_POTWIERDZENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string RODZAJ_POTWIERDZENIA {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.RODZAJ_POTWIERDZENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RODZAJ POTWIERDZENIA\' in table \'ReklamyZestawienie\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.RODZAJ_POTWIERDZENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double CENA_JEDN {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.CENA_JEDNColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA JEDN\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.CENA_JEDNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NETTO {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double VAT {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PVAT {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.PVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PVAT\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.PVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double BRUTTO {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PROCENT_PROWIZJI {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.PROCENT_PROWIZJIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PROCENT PROWIZJI\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.PROCENT_PROWIZJIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PROWIZJA {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.PROWIZJAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PROWIZJA\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.PROWIZJAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string INFO {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.INFOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'INFO\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.INFOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FAKTURA_NUMER {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.FAKTURA_NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA NUMER\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int FAKTURA_ID_KONTA {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.FAKTURA_ID_KONTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA ID KONTA\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_ID_KONTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime FAKTURA_DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.FAKTURA_DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA DATA WYSTAWIENIA\' in table \'ReklamyZestawienie\' is " +
                                "DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime FAKTURA_DATA_SPRZEDAŻY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.FAKTURA_DATA_SPRZEDAŻYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA DATA SPRZEDAŻY\' in table \'ReklamyZestawienie\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_DATA_SPRZEDAŻYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime FAKTURA_TERMIN_ZAPŁATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.FAKTURA_TERMIN_ZAPŁATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA TERMIN ZAPŁATY\' in table \'ReklamyZestawienie\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_TERMIN_ZAPŁATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte FAKTURA_FORMA_PŁATNOŚCI {
                get {
                    try {
                        return ((byte)(this[this.tableReklamyZestawienie.FAKTURA_FORMA_PŁATNOŚCIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA FORMA PŁATNOŚCI\' in table \'ReklamyZestawienie\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_FORMA_PŁATNOŚCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool FAKTURA_WYSTAWIONO {
                get {
                    try {
                        return ((bool)(this[this.tableReklamyZestawienie.FAKTURA_WYSTAWIONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA WYSTAWIONO\' in table \'ReklamyZestawienie\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_WYSTAWIONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FAKTURA_RODZAJ {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.FAKTURA_RODZAJColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA RODZAJ\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FAKTURA_RODZAJColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string USERID {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.USERIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'USERID\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.USERIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_OSTATNIEJ_MODYFIKACJI {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.DATA_OSTATNIEJ_MODYFIKACJIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA OSTATNIEJ MODYFIKACJI\' in table \'ReklamyZestawienie\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.DATA_OSTATNIEJ_MODYFIKACJIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string _FK_TR {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie._FK_TRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FK-TR\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie._FK_TRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int F_NR {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.F_NRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'F_NR\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.F_NRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string F_NR_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.F_NR_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'F_NR_ROZ\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.F_NR_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int F_NR_ROK {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.F_NR_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'F_NR_ROK\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.F_NR_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.ID_FAKTURYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FAKTURY\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int PROMOCJA {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.PROMOCJAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PROMOCJA\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.PROMOCJAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int GRZBIET {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.GRZBIETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'GRZBIET\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.GRZBIETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int customerId_Sub {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.customerId_SubColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'customerId_Sub\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.customerId_SubColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kier_notatka {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.kier_notatkaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kier_notatka\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.kier_notatkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool kier_zatwierdzil {
                get {
                    try {
                        return ((bool)(this[this.tableReklamyZestawienie.kier_zatwierdzilColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kier_zatwierdzil\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.kier_zatwierdzilColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zam_notatka {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.zam_notatkaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zam_notatka\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.zam_notatkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool zablokuj_prowizje {
                get {
                    return ((bool)(this[this.tableReklamyZestawienie.zablokuj_prowizjeColumn]));
                }
                set {
                    this[this.tableReklamyZestawienie.zablokuj_prowizjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Brutto_Euro {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.Brutto_EuroColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.Brutto_EuroColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Zaliczka_Brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableReklamyZestawienie.Zaliczka_BruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Brutto\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.Zaliczka_BruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Zaliczka_Data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.Zaliczka_DataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Data\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.Zaliczka_DataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Brutto_Euro_Miano {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.Brutto_Euro_MianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro_Miano\' in table \'ReklamyZestawienie\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.Brutto_Euro_MianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime waluta_kurs_z_dnia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie.waluta_kurs_z_dniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs_z_dnia\' in table \'ReklamyZestawienie\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.waluta_kurs_z_dniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_kurs {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.waluta_kursColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.waluta_kursColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int waluta_Przelicznik {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.waluta_PrzelicznikColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_Przelicznik\' in table \'ReklamyZestawienie\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.waluta_PrzelicznikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_tabela_nr {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.waluta_tabela_nrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_tabela_nr\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.waluta_tabela_nrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short OD {
                get {
                    try {
                        return ((short)(this[this.tableReklamyZestawienie.ODColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'OD\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.ODColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short DO {
                get {
                    try {
                        return ((short)(this[this.tableReklamyZestawienie.DOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DO\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.DOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int rok {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.rokColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rok\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.rokColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int miesiac {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.miesiacColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'miesiac\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.miesiacColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime _1emisja {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklamyZestawienie._1emisjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'1emisja\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie._1emisjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agencja {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.agencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.agencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double CENA_MODUŁU {
                get {
                    try {
                        return ((double)(this[this.tableReklamyZestawienie.CENA_MODUŁUColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA MODUŁU\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.CENA_MODUŁUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal CENA_MIN {
                get {
                    try {
                        return ((decimal)(this[this.tableReklamyZestawienie.CENA_MINColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA_MIN\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.CENA_MINColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal CENA {
                get {
                    try {
                        return ((decimal)(this[this.tableReklamyZestawienie.CENAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.CENAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FirstName {
                get {
                    try {
                        return ((string)(this[this.tableReklamyZestawienie.FirstNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FirstName\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.FirstNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie {
                get {
                    return ((bool)(this[this.tableReklamyZestawienie.wyroznienieColumn]));
                }
                set {
                    this[this.tableReklamyZestawienie.wyroznienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableReklamyZestawienie.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'ReklamyZestawienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklamyZestawienie.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerIDNull() {
                return this.IsNull(this.tableReklamyZestawienie.CustomerIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerIDNull() {
                this[this.tableReklamyZestawienie.CustomerIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_AKWIZYTORANull() {
                return this.IsNull(this.tableReklamyZestawienie.SYMBOL_AKWIZYTORAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_AKWIZYTORANull() {
                this[this.tableReklamyZestawienie.SYMBOL_AKWIZYTORAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTUŁNull() {
                return this.IsNull(this.tableReklamyZestawienie.TYTUŁColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTUŁNull() {
                this[this.tableReklamyZestawienie.TYTUŁColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYPNull() {
                return this.IsNull(this.tableReklamyZestawienie.TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYPNull() {
                this[this.tableReklamyZestawienie.TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableReklamyZestawienie.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableReklamyZestawienie.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNICK_NAMENull() {
                return this.IsNull(this.tableReklamyZestawienie.NICK_NAMEColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNICK_NAMENull() {
                this[this.tableReklamyZestawienie.NICK_NAMEColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAMÓWIENIANull() {
                return this.IsNull(this.tableReklamyZestawienie.DATA_ZAMÓWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAMÓWIENIANull() {
                this[this.tableReklamyZestawienie.DATA_ZAMÓWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSZERNull() {
                return this.IsNull(this.tableReklamyZestawienie.SZERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSZERNull() {
                this[this.tableReklamyZestawienie.SZERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWYSNull() {
                return this.IsNull(this.tableReklamyZestawienie.WYSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWYSNull() {
                this[this.tableReklamyZestawienie.WYSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMOD_TYPNull() {
                return this.IsNull(this.tableReklamyZestawienie.MOD_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMOD_TYPNull() {
                this[this.tableReklamyZestawienie.MOD_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTRONANull() {
                return this.IsNull(this.tableReklamyZestawienie.STRONAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTRONANull() {
                this[this.tableReklamyZestawienie.STRONAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTR_NR_WTNull() {
                return this.IsNull(this.tableReklamyZestawienie.STR_NR_WTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTR_NR_WTNull() {
                this[this.tableReklamyZestawienie.STR_NR_WTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTR_NR_PTNull() {
                return this.IsNull(this.tableReklamyZestawienie.STR_NR_PTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTR_NR_PTNull() {
                this[this.tableReklamyZestawienie.STR_NR_PTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKROTNOŚĆNull() {
                return this.IsNull(this.tableReklamyZestawienie.KROTNOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKROTNOŚĆNull() {
                this[this.tableReklamyZestawienie.KROTNOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsODSTĘPNull() {
                return this.IsNull(this.tableReklamyZestawienie.ODSTĘPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetODSTĘPNull() {
                this[this.tableReklamyZestawienie.ODSTĘPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKOLORNull() {
                return this.IsNull(this.tableReklamyZestawienie.KOLORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKOLORNull() {
                this[this.tableReklamyZestawienie.KOLORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWSKAZANIE_MIEJSCANull() {
                return this.IsNull(this.tableReklamyZestawienie.WSKAZANIE_MIEJSCAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWSKAZANIE_MIEJSCANull() {
                this[this.tableReklamyZestawienie.WSKAZANIE_MIEJSCAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABATNull() {
                return this.IsNull(this.tableReklamyZestawienie.RABATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABATNull() {
                this[this.tableReklamyZestawienie.RABATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABAT_WARTOŚĆNull() {
                return this.IsNull(this.tableReklamyZestawienie.RABAT_WARTOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABAT_WARTOŚĆNull() {
                this[this.tableReklamyZestawienie.RABAT_WARTOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPŁACONONull() {
                return this.IsNull(this.tableReklamyZestawienie.ZAPŁACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPŁACONONull() {
                this[this.tableReklamyZestawienie.ZAPŁACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZATWIERDZONO_DO_DRUKUNull() {
                return this.IsNull(this.tableReklamyZestawienie.ZATWIERDZONO_DO_DRUKUColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZATWIERDZONO_DO_DRUKUNull() {
                this[this.tableReklamyZestawienie.ZATWIERDZONO_DO_DRUKUColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAPŁATYNull() {
                return this.IsNull(this.tableReklamyZestawienie.DATA_ZAPŁATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAPŁATYNull() {
                this[this.tableReklamyZestawienie.DATA_ZAPŁATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_POTWIERDZENIANull() {
                return this.IsNull(this.tableReklamyZestawienie.SYMBOL_POTWIERDZENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_POTWIERDZENIANull() {
                this[this.tableReklamyZestawienie.SYMBOL_POTWIERDZENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRODZAJ_POTWIERDZENIANull() {
                return this.IsNull(this.tableReklamyZestawienie.RODZAJ_POTWIERDZENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRODZAJ_POTWIERDZENIANull() {
                this[this.tableReklamyZestawienie.RODZAJ_POTWIERDZENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_JEDNNull() {
                return this.IsNull(this.tableReklamyZestawienie.CENA_JEDNColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_JEDNNull() {
                this[this.tableReklamyZestawienie.CENA_JEDNColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableReklamyZestawienie.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableReklamyZestawienie.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableReklamyZestawienie.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableReklamyZestawienie.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPVATNull() {
                return this.IsNull(this.tableReklamyZestawienie.PVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPVATNull() {
                this[this.tableReklamyZestawienie.PVATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableReklamyZestawienie.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableReklamyZestawienie.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPROCENT_PROWIZJINull() {
                return this.IsNull(this.tableReklamyZestawienie.PROCENT_PROWIZJIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPROCENT_PROWIZJINull() {
                this[this.tableReklamyZestawienie.PROCENT_PROWIZJIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPROWIZJANull() {
                return this.IsNull(this.tableReklamyZestawienie.PROWIZJAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPROWIZJANull() {
                this[this.tableReklamyZestawienie.PROWIZJAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsINFONull() {
                return this.IsNull(this.tableReklamyZestawienie.INFOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetINFONull() {
                this[this.tableReklamyZestawienie.INFOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_NUMERNull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_NUMERNull() {
                this[this.tableReklamyZestawienie.FAKTURA_NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_ID_KONTANull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_ID_KONTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_ID_KONTANull() {
                this[this.tableReklamyZestawienie.FAKTURA_ID_KONTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_DATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_DATA_WYSTAWIENIANull() {
                this[this.tableReklamyZestawienie.FAKTURA_DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_DATA_SPRZEDAŻYNull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_DATA_SPRZEDAŻYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_DATA_SPRZEDAŻYNull() {
                this[this.tableReklamyZestawienie.FAKTURA_DATA_SPRZEDAŻYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_TERMIN_ZAPŁATYNull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_TERMIN_ZAPŁATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_TERMIN_ZAPŁATYNull() {
                this[this.tableReklamyZestawienie.FAKTURA_TERMIN_ZAPŁATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_FORMA_PŁATNOŚCINull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_FORMA_PŁATNOŚCIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_FORMA_PŁATNOŚCINull() {
                this[this.tableReklamyZestawienie.FAKTURA_FORMA_PŁATNOŚCIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_WYSTAWIONONull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_WYSTAWIONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_WYSTAWIONONull() {
                this[this.tableReklamyZestawienie.FAKTURA_WYSTAWIONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_RODZAJNull() {
                return this.IsNull(this.tableReklamyZestawienie.FAKTURA_RODZAJColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_RODZAJNull() {
                this[this.tableReklamyZestawienie.FAKTURA_RODZAJColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUSERIDNull() {
                return this.IsNull(this.tableReklamyZestawienie.USERIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUSERIDNull() {
                this[this.tableReklamyZestawienie.USERIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_OSTATNIEJ_MODYFIKACJINull() {
                return this.IsNull(this.tableReklamyZestawienie.DATA_OSTATNIEJ_MODYFIKACJIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_OSTATNIEJ_MODYFIKACJINull() {
                this[this.tableReklamyZestawienie.DATA_OSTATNIEJ_MODYFIKACJIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is_FK_TRNull() {
                return this.IsNull(this.tableReklamyZestawienie._FK_TRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set_FK_TRNull() {
                this[this.tableReklamyZestawienie._FK_TRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsF_NRNull() {
                return this.IsNull(this.tableReklamyZestawienie.F_NRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetF_NRNull() {
                this[this.tableReklamyZestawienie.F_NRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsF_NR_ROZNull() {
                return this.IsNull(this.tableReklamyZestawienie.F_NR_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetF_NR_ROZNull() {
                this[this.tableReklamyZestawienie.F_NR_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsF_NR_ROKNull() {
                return this.IsNull(this.tableReklamyZestawienie.F_NR_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetF_NR_ROKNull() {
                this[this.tableReklamyZestawienie.F_NR_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FAKTURYNull() {
                return this.IsNull(this.tableReklamyZestawienie.ID_FAKTURYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FAKTURYNull() {
                this[this.tableReklamyZestawienie.ID_FAKTURYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPROMOCJANull() {
                return this.IsNull(this.tableReklamyZestawienie.PROMOCJAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPROMOCJANull() {
                this[this.tableReklamyZestawienie.PROMOCJAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsGRZBIETNull() {
                return this.IsNull(this.tableReklamyZestawienie.GRZBIETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetGRZBIETNull() {
                this[this.tableReklamyZestawienie.GRZBIETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IscustomerId_SubNull() {
                return this.IsNull(this.tableReklamyZestawienie.customerId_SubColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetcustomerId_SubNull() {
                this[this.tableReklamyZestawienie.customerId_SubColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iskier_notatkaNull() {
                return this.IsNull(this.tableReklamyZestawienie.kier_notatkaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setkier_notatkaNull() {
                this[this.tableReklamyZestawienie.kier_notatkaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iskier_zatwierdzilNull() {
                return this.IsNull(this.tableReklamyZestawienie.kier_zatwierdzilColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setkier_zatwierdzilNull() {
                this[this.tableReklamyZestawienie.kier_zatwierdzilColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszam_notatkaNull() {
                return this.IsNull(this.tableReklamyZestawienie.zam_notatkaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzam_notatkaNull() {
                this[this.tableReklamyZestawienie.zam_notatkaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_EuroNull() {
                return this.IsNull(this.tableReklamyZestawienie.Brutto_EuroColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_EuroNull() {
                this[this.tableReklamyZestawienie.Brutto_EuroColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_BruttoNull() {
                return this.IsNull(this.tableReklamyZestawienie.Zaliczka_BruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_BruttoNull() {
                this[this.tableReklamyZestawienie.Zaliczka_BruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_DataNull() {
                return this.IsNull(this.tableReklamyZestawienie.Zaliczka_DataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_DataNull() {
                this[this.tableReklamyZestawienie.Zaliczka_DataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_Euro_MianoNull() {
                return this.IsNull(this.tableReklamyZestawienie.Brutto_Euro_MianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_Euro_MianoNull() {
                this[this.tableReklamyZestawienie.Brutto_Euro_MianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kurs_z_dniaNull() {
                return this.IsNull(this.tableReklamyZestawienie.waluta_kurs_z_dniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kurs_z_dniaNull() {
                this[this.tableReklamyZestawienie.waluta_kurs_z_dniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kursNull() {
                return this.IsNull(this.tableReklamyZestawienie.waluta_kursColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kursNull() {
                this[this.tableReklamyZestawienie.waluta_kursColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_PrzelicznikNull() {
                return this.IsNull(this.tableReklamyZestawienie.waluta_PrzelicznikColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_PrzelicznikNull() {
                this[this.tableReklamyZestawienie.waluta_PrzelicznikColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_tabela_nrNull() {
                return this.IsNull(this.tableReklamyZestawienie.waluta_tabela_nrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_tabela_nrNull() {
                this[this.tableReklamyZestawienie.waluta_tabela_nrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsODNull() {
                return this.IsNull(this.tableReklamyZestawienie.ODColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetODNull() {
                this[this.tableReklamyZestawienie.ODColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDONull() {
                return this.IsNull(this.tableReklamyZestawienie.DOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDONull() {
                this[this.tableReklamyZestawienie.DOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrokNull() {
                return this.IsNull(this.tableReklamyZestawienie.rokColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrokNull() {
                this[this.tableReklamyZestawienie.rokColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsmiesiacNull() {
                return this.IsNull(this.tableReklamyZestawienie.miesiacColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetmiesiacNull() {
                this[this.tableReklamyZestawienie.miesiacColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is_1emisjaNull() {
                return this.IsNull(this.tableReklamyZestawienie._1emisjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set_1emisjaNull() {
                this[this.tableReklamyZestawienie._1emisjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagencjaNull() {
                return this.IsNull(this.tableReklamyZestawienie.agencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagencjaNull() {
                this[this.tableReklamyZestawienie.agencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_MODUŁUNull() {
                return this.IsNull(this.tableReklamyZestawienie.CENA_MODUŁUColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_MODUŁUNull() {
                this[this.tableReklamyZestawienie.CENA_MODUŁUColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_MINNull() {
                return this.IsNull(this.tableReklamyZestawienie.CENA_MINColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_MINNull() {
                this[this.tableReklamyZestawienie.CENA_MINColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENANull() {
                return this.IsNull(this.tableReklamyZestawienie.CENAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENANull() {
                this[this.tableReklamyZestawienie.CENAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFirstNameNull() {
                return this.IsNull(this.tableReklamyZestawienie.FirstNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFirstNameNull() {
                this[this.tableReklamyZestawienie.FirstNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableReklamyZestawienie.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableReklamyZestawienie.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class ListaReklamDoWydaniaNrRow : global::System.Data.DataRow {
            
            private ListaReklamDoWydaniaNrDataTable tableListaReklamDoWydaniaNr;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ListaReklamDoWydaniaNrRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableListaReklamDoWydaniaNr = ((ListaReklamDoWydaniaNrDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaID {
                get {
                    return ((int)(this[this.tableListaReklamDoWydaniaNr.ReklamaIDColumn]));
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.ReklamaIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUŁ {
                get {
                    try {
                        return ((string)(this[this.tableListaReklamDoWydaniaNr.TYTUŁColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUŁ\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.TYTUŁColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableListaReklamDoWydaniaNr.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NICK_NAME {
                get {
                    try {
                        return ((string)(this[this.tableListaReklamDoWydaniaNr.NICK_NAMEColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NICK NAME\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.NICK_NAMEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short NR {
                get {
                    return ((short)(this[this.tableListaReklamDoWydaniaNr.NRColumn]));
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.NRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZATWIERDZONO_DO_DRUKU {
                get {
                    try {
                        return ((bool)(this[this.tableListaReklamDoWydaniaNr.ZATWIERDZONO_DO_DRUKUColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZATWIERDZONO DO DRUKU\' in table \'ListaReklamDoWydaniaNr\' is" +
                                " DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.ZATWIERDZONO_DO_DRUKUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agencja {
                get {
                    try {
                        return ((string)(this[this.tableListaReklamDoWydaniaNr.agencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.agencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_AKWIZYTORA {
                get {
                    try {
                        return ((string)(this[this.tableListaReklamDoWydaniaNr.SYMBOL_AKWIZYTORAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL AKWIZYTORA\' in table \'ListaReklamDoWydaniaNr\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.SYMBOL_AKWIZYTORAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int GRZBIET {
                get {
                    try {
                        return ((int)(this[this.tableListaReklamDoWydaniaNr.GRZBIETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'GRZBIET\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.GRZBIETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string miasto {
                get {
                    try {
                        return ((string)(this[this.tableListaReklamDoWydaniaNr.miastoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'miasto\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.miastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool jestCDR {
                get {
                    try {
                        return ((bool)(this[this.tableListaReklamDoWydaniaNr.jestCDRColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'jestCDR\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.jestCDRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool jestEPS {
                get {
                    try {
                        return ((bool)(this[this.tableListaReklamDoWydaniaNr.jestEPSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'jestEPS\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.jestEPSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool jestJPG {
                get {
                    try {
                        return ((bool)(this[this.tableListaReklamDoWydaniaNr.jestJPGColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'jestJPG\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.jestJPGColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool datyOK {
                get {
                    try {
                        return ((bool)(this[this.tableListaReklamDoWydaniaNr.datyOKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'datyOK\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.datyOKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short strona_zlecenie {
                get {
                    try {
                        return ((short)(this[this.tableListaReklamDoWydaniaNr.strona_zlecenieColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'strona_zlecenie\' in table \'ListaReklamDoWydaniaNr\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.strona_zlecenieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerID {
                get {
                    try {
                        return ((int)(this[this.tableListaReklamDoWydaniaNr.CustomerIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerID\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.CustomerIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short strona {
                get {
                    try {
                        return ((short)(this[this.tableListaReklamDoWydaniaNr.stronaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'strona\' in table \'ListaReklamDoWydaniaNr\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.stronaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal ID {
                get {
                    return ((decimal)(this[this.tableListaReklamDoWydaniaNr.IDColumn]));
                }
                set {
                    this[this.tableListaReklamDoWydaniaNr.IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTUŁNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.TYTUŁColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTUŁNull() {
                this[this.tableListaReklamDoWydaniaNr.TYTUŁColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableListaReklamDoWydaniaNr.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNICK_NAMENull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.NICK_NAMEColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNICK_NAMENull() {
                this[this.tableListaReklamDoWydaniaNr.NICK_NAMEColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZATWIERDZONO_DO_DRUKUNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.ZATWIERDZONO_DO_DRUKUColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZATWIERDZONO_DO_DRUKUNull() {
                this[this.tableListaReklamDoWydaniaNr.ZATWIERDZONO_DO_DRUKUColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagencjaNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.agencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagencjaNull() {
                this[this.tableListaReklamDoWydaniaNr.agencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_AKWIZYTORANull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.SYMBOL_AKWIZYTORAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_AKWIZYTORANull() {
                this[this.tableListaReklamDoWydaniaNr.SYMBOL_AKWIZYTORAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsGRZBIETNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.GRZBIETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetGRZBIETNull() {
                this[this.tableListaReklamDoWydaniaNr.GRZBIETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsmiastoNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.miastoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetmiastoNull() {
                this[this.tableListaReklamDoWydaniaNr.miastoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsjestCDRNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.jestCDRColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetjestCDRNull() {
                this[this.tableListaReklamDoWydaniaNr.jestCDRColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsjestEPSNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.jestEPSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetjestEPSNull() {
                this[this.tableListaReklamDoWydaniaNr.jestEPSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsjestJPGNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.jestJPGColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetjestJPGNull() {
                this[this.tableListaReklamDoWydaniaNr.jestJPGColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdatyOKNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.datyOKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdatyOKNull() {
                this[this.tableListaReklamDoWydaniaNr.datyOKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isstrona_zlecenieNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.strona_zlecenieColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setstrona_zlecenieNull() {
                this[this.tableListaReklamDoWydaniaNr.strona_zlecenieColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerIDNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.CustomerIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerIDNull() {
                this[this.tableListaReklamDoWydaniaNr.CustomerIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsstronaNull() {
                return this.IsNull(this.tableListaReklamDoWydaniaNr.stronaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetstronaNull() {
                this[this.tableListaReklamDoWydaniaNr.stronaColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KONTAKTYRow : global::System.Data.DataRow {
            
            private KONTAKTYDataTable tableKONTAKTY;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KONTAKTYRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKONTAKTY = ((KONTAKTYDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Id_kontaktu {
                get {
                    return ((int)(this[this.tableKONTAKTY.Id_kontaktuColumn]));
                }
                set {
                    this[this.tableKONTAKTY.Id_kontaktuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int customerId {
                get {
                    return ((int)(this[this.tableKONTAKTY.customerIdColumn]));
                }
                set {
                    this[this.tableKONTAKTY.customerIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string symbol_agenta {
                get {
                    return ((string)(this[this.tableKONTAKTY.symbol_agentaColumn]));
                }
                set {
                    this[this.tableKONTAKTY.symbol_agentaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data {
                get {
                    return ((global::System.DateTime)(this[this.tableKONTAKTY.dataColumn]));
                }
                set {
                    this[this.tableKONTAKTY.dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string rodzaj {
                get {
                    try {
                        return ((string)(this[this.tableKONTAKTY.rodzajColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rodzaj\' in table \'KONTAKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKONTAKTY.rodzajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string opis {
                get {
                    try {
                        return ((string)(this[this.tableKONTAKTY.opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'opis\' in table \'KONTAKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKONTAKTY.opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte KontaktTypId {
                get {
                    try {
                        return ((byte)(this[this.tableKONTAKTY.KontaktTypIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KontaktTypId\' in table \'KONTAKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKONTAKTY.KontaktTypIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow KLIENCIRow {
                get {
                    return ((KLIENCIRow)(this.GetParentRow(this.Table.ParentRelations["KLIENCI_KONTAKTY"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["KLIENCI_KONTAKTY"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrodzajNull() {
                return this.IsNull(this.tableKONTAKTY.rodzajColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrodzajNull() {
                this[this.tableKONTAKTY.rodzajColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsopisNull() {
                return this.IsNull(this.tableKONTAKTY.opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetopisNull() {
                this[this.tableKONTAKTY.opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKontaktTypIdNull() {
                return this.IsNull(this.tableKONTAKTY.KontaktTypIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKontaktTypIdNull() {
                this[this.tableKONTAKTY.KontaktTypIdColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class ZestawienieFakturRow : global::System.Data.DataRow {
            
            private ZestawienieFakturDataTable tableZestawienieFaktur;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ZestawienieFakturRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableZestawienieFaktur = ((ZestawienieFakturDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_NABYWCY {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.ID_NABYWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_NABYWCY\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.ID_NABYWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.NUMER_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.NUMER_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ROK {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int MS {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.MSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MS\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.MSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_SPRZEDAZY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZestawienieFaktur.DATA_SPRZEDAZYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.DATA_SPRZEDAZYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NR_FK {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.NR_FKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FK\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.NR_FKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUL {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUL\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal NETTO {
                get {
                    try {
                        return ((decimal)(this[this.tableZestawienieFaktur.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double S_VAT {
                get {
                    try {
                        return ((double)(this[this.tableZestawienieFaktur.S_VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'S_VAT\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.S_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal VAT {
                get {
                    try {
                        return ((decimal)(this[this.tableZestawienieFaktur.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal BRUTTO {
                get {
                    try {
                        return ((decimal)(this[this.tableZestawienieFaktur.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_brutto {
                get {
                    try {
                        return ((double)(this[this.tableZestawienieFaktur.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zaplat {
                get {
                    try {
                        return ((decimal)(this[this.tableZestawienieFaktur.suma_zaplatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.suma_zaplatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    return ((int)(this[this.tableZestawienieFaktur.ID_FAKTURYColumn]));
                }
                set {
                    this[this.tableZestawienieFaktur.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Symbol {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.SymbolColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Symbol\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.SymbolColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Agencja {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.AgencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Agencja\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.AgencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPLACONO {
                get {
                    try {
                        return ((bool)(this[this.tableZestawienieFaktur.ZAPLACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPLACONO\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.ZAPLACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPŁACONO {
                get {
                    try {
                        return ((bool)(this[this.tableZestawienieFaktur.ZAPŁACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPŁACONO\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.ZAPŁACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAPŁATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZestawienieFaktur.DATA_ZAPŁATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAPŁATY\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.DATA_ZAPŁATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime zaplata_data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZestawienieFaktur.zaplata_dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.zaplata_dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int reklamaId {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.reklamaIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'reklamaId\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.reklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string firstname {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.firstnameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'firstname\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.firstnameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZestawienieFaktur.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int GRZBIET {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.GRZBIETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'GRZBIET\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.GRZBIETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_TYTUL {
                get {
                    try {
                        return ((short)(this[this.tableZestawienieFaktur.ID_TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_TYTUL\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.ID_TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataWplaty {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZestawienieFaktur.dataWplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'dataWplaty\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.dataWplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal wplata_brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableZestawienieFaktur.wplata_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wplata_brutto\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.wplata_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal wplata_waluta_brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableZestawienieFaktur.wplata_waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wplata_waluta_brutto\' in table \'ZestawienieFaktur\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.wplata_waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string wplata_waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableZestawienieFaktur.wplata_waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wplata_waluta_miano\' in table \'ZestawienieFaktur\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.wplata_waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idWplaty {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.idWplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idWplaty\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.idWplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Korekta {
                get {
                    try {
                        return ((bool)(this[this.tableZestawienieFaktur.KorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Korekta\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.KorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableZestawienieFaktur.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'ZestawienieFaktur\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZestawienieFaktur.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_NABYWCYNull() {
                return this.IsNull(this.tableZestawienieFaktur.ID_NABYWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_NABYWCYNull() {
                this[this.tableZestawienieFaktur.ID_NABYWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableZestawienieFaktur.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableZestawienieFaktur.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZNull() {
                return this.IsNull(this.tableZestawienieFaktur.NUMER_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZNull() {
                this[this.tableZestawienieFaktur.NUMER_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsROKNull() {
                return this.IsNull(this.tableZestawienieFaktur.ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetROKNull() {
                this[this.tableZestawienieFaktur.ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMSNull() {
                return this.IsNull(this.tableZestawienieFaktur.MSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMSNull() {
                this[this.tableZestawienieFaktur.MSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_SPRZEDAZYNull() {
                return this.IsNull(this.tableZestawienieFaktur.DATA_SPRZEDAZYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_SPRZEDAZYNull() {
                this[this.tableZestawienieFaktur.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_FKNull() {
                return this.IsNull(this.tableZestawienieFaktur.NR_FKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_FKNull() {
                this[this.tableZestawienieFaktur.NR_FKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTULNull() {
                return this.IsNull(this.tableZestawienieFaktur.TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTULNull() {
                this[this.tableZestawienieFaktur.TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableZestawienieFaktur.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableZestawienieFaktur.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsS_VATNull() {
                return this.IsNull(this.tableZestawienieFaktur.S_VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetS_VATNull() {
                this[this.tableZestawienieFaktur.S_VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableZestawienieFaktur.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableZestawienieFaktur.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableZestawienieFaktur.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableZestawienieFaktur.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableZestawienieFaktur.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableZestawienieFaktur.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableZestawienieFaktur.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableZestawienieFaktur.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zaplatNull() {
                return this.IsNull(this.tableZestawienieFaktur.suma_zaplatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zaplatNull() {
                this[this.tableZestawienieFaktur.suma_zaplatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSymbolNull() {
                return this.IsNull(this.tableZestawienieFaktur.SymbolColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSymbolNull() {
                this[this.tableZestawienieFaktur.SymbolColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAgencjaNull() {
                return this.IsNull(this.tableZestawienieFaktur.AgencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAgencjaNull() {
                this[this.tableZestawienieFaktur.AgencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPLACONONull() {
                return this.IsNull(this.tableZestawienieFaktur.ZAPLACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPLACONONull() {
                this[this.tableZestawienieFaktur.ZAPLACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPŁACONONull() {
                return this.IsNull(this.tableZestawienieFaktur.ZAPŁACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPŁACONONull() {
                this[this.tableZestawienieFaktur.ZAPŁACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAPŁATYNull() {
                return this.IsNull(this.tableZestawienieFaktur.DATA_ZAPŁATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAPŁATYNull() {
                this[this.tableZestawienieFaktur.DATA_ZAPŁATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_dataNull() {
                return this.IsNull(this.tableZestawienieFaktur.zaplata_dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_dataNull() {
                this[this.tableZestawienieFaktur.zaplata_dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsreklamaIdNull() {
                return this.IsNull(this.tableZestawienieFaktur.reklamaIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetreklamaIdNull() {
                this[this.tableZestawienieFaktur.reklamaIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsfirstnameNull() {
                return this.IsNull(this.tableZestawienieFaktur.firstnameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetfirstnameNull() {
                this[this.tableZestawienieFaktur.firstnameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableZestawienieFaktur.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableZestawienieFaktur.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsGRZBIETNull() {
                return this.IsNull(this.tableZestawienieFaktur.GRZBIETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetGRZBIETNull() {
                this[this.tableZestawienieFaktur.GRZBIETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_TYTULNull() {
                return this.IsNull(this.tableZestawienieFaktur.ID_TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_TYTULNull() {
                this[this.tableZestawienieFaktur.ID_TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataWplatyNull() {
                return this.IsNull(this.tableZestawienieFaktur.dataWplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataWplatyNull() {
                this[this.tableZestawienieFaktur.dataWplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswplata_bruttoNull() {
                return this.IsNull(this.tableZestawienieFaktur.wplata_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwplata_bruttoNull() {
                this[this.tableZestawienieFaktur.wplata_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswplata_waluta_bruttoNull() {
                return this.IsNull(this.tableZestawienieFaktur.wplata_waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwplata_waluta_bruttoNull() {
                this[this.tableZestawienieFaktur.wplata_waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswplata_waluta_mianoNull() {
                return this.IsNull(this.tableZestawienieFaktur.wplata_waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwplata_waluta_mianoNull() {
                this[this.tableZestawienieFaktur.wplata_waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidWplatyNull() {
                return this.IsNull(this.tableZestawienieFaktur.idWplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidWplatyNull() {
                this[this.tableZestawienieFaktur.idWplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKorektaNull() {
                return this.IsNull(this.tableZestawienieFaktur.KorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKorektaNull() {
                this[this.tableZestawienieFaktur.KorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableZestawienieFaktur.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableZestawienieFaktur.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class PLANRow : global::System.Data.DataRow {
            
            private PLANDataTable tablePLAN;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal PLANRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablePLAN = ((PLANDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID {
                get {
                    return ((int)(this[this.tablePLAN.IDColumn]));
                }
                set {
                    this[this.tablePLAN.IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL {
                get {
                    return ((string)(this[this.tablePLAN.SYMBOLColumn]));
                }
                set {
                    this[this.tablePLAN.SYMBOLColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ROK {
                get {
                    return ((short)(this[this.tablePLAN.ROKColumn]));
                }
                set {
                    this[this.tablePLAN.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short MS {
                get {
                    return ((short)(this[this.tablePLAN.MSColumn]));
                }
                set {
                    this[this.tablePLAN.MSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int BUDZET {
                get {
                    return ((int)(this[this.tablePLAN.BUDZETColumn]));
                }
                set {
                    this[this.tablePLAN.BUDZETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int SPOTKANIA {
                get {
                    return ((int)(this[this.tablePLAN.SPOTKANIAColumn]));
                }
                set {
                    this[this.tablePLAN.SPOTKANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int KONTAKTY {
                get {
                    return ((int)(this[this.tablePLAN.KONTAKTYColumn]));
                }
                set {
                    this[this.tablePLAN.KONTAKTYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int N_KLIENCI {
                get {
                    return ((int)(this[this.tablePLAN.N_KLIENCIColumn]));
                }
                set {
                    this[this.tablePLAN.N_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int KLIENCI {
                get {
                    return ((int)(this[this.tablePLAN.KLIENCIColumn]));
                }
                set {
                    this[this.tablePLAN.KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int REKLAMY {
                get {
                    return ((int)(this[this.tablePLAN.REKLAMYColumn]));
                }
                set {
                    this[this.tablePLAN.REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short WIEDZA_O_FIRMIE {
                get {
                    return ((short)(this[this.tablePLAN.WIEDZA_O_FIRMIEColumn]));
                }
                set {
                    this[this.tablePLAN.WIEDZA_O_FIRMIEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short WIEDZA_O_PRODUKCIE {
                get {
                    return ((short)(this[this.tablePLAN.WIEDZA_O_PRODUKCIEColumn]));
                }
                set {
                    this[this.tablePLAN.WIEDZA_O_PRODUKCIEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short WIEDZA_O_RYNKU {
                get {
                    return ((short)(this[this.tablePLAN.WIEDZA_O_RYNKUColumn]));
                }
                set {
                    this[this.tablePLAN.WIEDZA_O_RYNKUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short WIEDZA_OGOLNO_HANDLOWA {
                get {
                    return ((short)(this[this.tablePLAN.WIEDZA_OGOLNO_HANDLOWAColumn]));
                }
                set {
                    this[this.tablePLAN.WIEDZA_OGOLNO_HANDLOWAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short JAKOSC_ROZMOWY_TEL {
                get {
                    return ((short)(this[this.tablePLAN.JAKOSC_ROZMOWY_TELColumn]));
                }
                set {
                    this[this.tablePLAN.JAKOSC_ROZMOWY_TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short JAKOSC_SPOTKAN {
                get {
                    return ((short)(this[this.tablePLAN.JAKOSC_SPOTKANColumn]));
                }
                set {
                    this[this.tablePLAN.JAKOSC_SPOTKANColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short JAKOSC_KORESPONDENCJI {
                get {
                    return ((short)(this[this.tablePLAN.JAKOSC_KORESPONDENCJIColumn]));
                }
                set {
                    this[this.tablePLAN.JAKOSC_KORESPONDENCJIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short JAKOSC_OFERT {
                get {
                    return ((short)(this[this.tablePLAN.JAKOSC_OFERTColumn]));
                }
                set {
                    this[this.tablePLAN.JAKOSC_OFERTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_BUDZET {
                get {
                    return ((int)(this[this.tablePLAN.W_BUDZETColumn]));
                }
                set {
                    this[this.tablePLAN.W_BUDZETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_SPOTKANIA {
                get {
                    return ((int)(this[this.tablePLAN.W_SPOTKANIAColumn]));
                }
                set {
                    this[this.tablePLAN.W_SPOTKANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_TEL {
                get {
                    return ((int)(this[this.tablePLAN.W_TELColumn]));
                }
                set {
                    this[this.tablePLAN.W_TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_EMAIL {
                get {
                    return ((int)(this[this.tablePLAN.W_EMAILColumn]));
                }
                set {
                    this[this.tablePLAN.W_EMAILColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_LIST {
                get {
                    return ((int)(this[this.tablePLAN.W_LISTColumn]));
                }
                set {
                    this[this.tablePLAN.W_LISTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_FAX {
                get {
                    return ((int)(this[this.tablePLAN.W_FAXColumn]));
                }
                set {
                    this[this.tablePLAN.W_FAXColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_N_KLIENCI {
                get {
                    return ((int)(this[this.tablePLAN.W_N_KLIENCIColumn]));
                }
                set {
                    this[this.tablePLAN.W_N_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_KLIENCI {
                get {
                    return ((int)(this[this.tablePLAN.W_KLIENCIColumn]));
                }
                set {
                    this[this.tablePLAN.W_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_REKLAMY {
                get {
                    return ((int)(this[this.tablePLAN.W_REKLAMYColumn]));
                }
                set {
                    this[this.tablePLAN.W_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float EP {
                get {
                    return ((float)(this[this.tablePLAN.EPColumn]));
                }
                set {
                    this[this.tablePLAN.EPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float ESP {
                get {
                    return ((float)(this[this.tablePLAN.ESPColumn]));
                }
                set {
                    this[this.tablePLAN.ESPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float EPR {
                get {
                    return ((float)(this[this.tablePLAN.EPRColumn]));
                }
                set {
                    this[this.tablePLAN.EPRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float EPK {
                get {
                    return ((float)(this[this.tablePLAN.EPKColumn]));
                }
                set {
                    this[this.tablePLAN.EPKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float ECP {
                get {
                    return ((float)(this[this.tablePLAN.ECPColumn]));
                }
                set {
                    this[this.tablePLAN.ECPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float ELK {
                get {
                    return ((float)(this[this.tablePLAN.ELKColumn]));
                }
                set {
                    this[this.tablePLAN.ELKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float QO {
                get {
                    return ((float)(this[this.tablePLAN.QOColumn]));
                }
                set {
                    this[this.tablePLAN.QOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float WH {
                get {
                    return ((float)(this[this.tablePLAN.WHColumn]));
                }
                set {
                    this[this.tablePLAN.WHColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float OCENA {
                get {
                    return ((float)(this[this.tablePLAN.OCENAColumn]));
                }
                set {
                    this[this.tablePLAN.OCENAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public float PR_PROWIZJI {
                get {
                    return ((float)(this[this.tablePLAN.PR_PROWIZJIColumn]));
                }
                set {
                    this[this.tablePLAN.PR_PROWIZJIColumn] = value;
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class ListyRow : global::System.Data.DataRow {
            
            private ListyDataTable tableListy;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ListyRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableListy = ((ListyDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ilosc {
                get {
                    try {
                        return ((int)(this[this.tableListy.iloscColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ilosc\' in table \'Listy\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListy.iloscColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool drukuj {
                get {
                    try {
                        return ((bool)(this[this.tableListy.drukujColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'drukuj\' in table \'Listy\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListy.drukujColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int custID {
                get {
                    try {
                        return ((int)(this[this.tableListy.custIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'custID\' in table \'Listy\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListy.custIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string klientNazwa {
                get {
                    try {
                        return ((string)(this[this.tableListy.klientNazwaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'klientNazwa\' in table \'Listy\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListy.klientNazwaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int suma {
                get {
                    try {
                        return ((int)(this[this.tableListy.sumaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma\' in table \'Listy\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListy.sumaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsiloscNull() {
                return this.IsNull(this.tableListy.iloscColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetiloscNull() {
                this[this.tableListy.iloscColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdrukujNull() {
                return this.IsNull(this.tableListy.drukujColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdrukujNull() {
                this[this.tableListy.drukujColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IscustIDNull() {
                return this.IsNull(this.tableListy.custIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetcustIDNull() {
                this[this.tableListy.custIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsklientNazwaNull() {
                return this.IsNull(this.tableListy.klientNazwaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetklientNazwaNull() {
                this[this.tableListy.klientNazwaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IssumaNull() {
                return this.IsNull(this.tableListy.sumaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetsumaNull() {
                this[this.tableListy.sumaColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class ListyPodsumowanieRow : global::System.Data.DataRow {
            
            private ListyPodsumowanieDataTable tableListyPodsumowanie;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ListyPodsumowanieRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableListyPodsumowanie = ((ListyPodsumowanieDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Nr_Wydania {
                get {
                    return ((short)(this[this.tableListyPodsumowanie.Nr_WydaniaColumn]));
                }
                set {
                    this[this.tableListyPodsumowanie.Nr_WydaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string tyt {
                get {
                    try {
                        return ((string)(this[this.tableListyPodsumowanie.tytColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'tyt\' in table \'ListyPodsumowanie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListyPodsumowanie.tytColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Expr1 {
                get {
                    try {
                        return ((int)(this[this.tableListyPodsumowanie.Expr1Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Expr1\' in table \'ListyPodsumowanie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableListyPodsumowanie.Expr1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IstytNull() {
                return this.IsNull(this.tableListyPodsumowanie.tytColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SettytNull() {
                this[this.tableListyPodsumowanie.tytColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsExpr1Null() {
                return this.IsNull(this.tableListyPodsumowanie.Expr1Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetExpr1Null() {
                this[this.tableListyPodsumowanie.Expr1Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class shedulerRow : global::System.Data.DataRow {
            
            private shedulerDataTable tablesheduler;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal shedulerRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablesheduler = ((shedulerDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id {
                get {
                    return ((int)(this[this.tablesheduler.idColumn]));
                }
                set {
                    this[this.tablesheduler.idColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerId {
                get {
                    try {
                        return ((int)(this[this.tablesheduler.CustomerIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerId\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.CustomerIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string CustomerName {
                get {
                    try {
                        return ((string)(this[this.tablesheduler.CustomerNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerName\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.CustomerNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Akwizytor {
                get {
                    try {
                        return ((string)(this[this.tablesheduler.AkwizytorColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Akwizytor\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.AkwizytorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DataWprowadzenia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablesheduler.DataWprowadzeniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DataWprowadzenia\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.DataWprowadzeniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DataPrzypomnienia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablesheduler.DataPrzypomnieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DataPrzypomnienia\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.DataPrzypomnieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Opis {
                get {
                    try {
                        return ((string)(this[this.tablesheduler.OpisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Opis\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.OpisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool zalatwione {
                get {
                    try {
                        return ((bool)(this[this.tablesheduler.zalatwioneColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zalatwione\' in table \'sheduler\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablesheduler.zalatwioneColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerIdNull() {
                return this.IsNull(this.tablesheduler.CustomerIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerIdNull() {
                this[this.tablesheduler.CustomerIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerNameNull() {
                return this.IsNull(this.tablesheduler.CustomerNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerNameNull() {
                this[this.tablesheduler.CustomerNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAkwizytorNull() {
                return this.IsNull(this.tablesheduler.AkwizytorColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAkwizytorNull() {
                this[this.tablesheduler.AkwizytorColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDataWprowadzeniaNull() {
                return this.IsNull(this.tablesheduler.DataWprowadzeniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDataWprowadzeniaNull() {
                this[this.tablesheduler.DataWprowadzeniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDataPrzypomnieniaNull() {
                return this.IsNull(this.tablesheduler.DataPrzypomnieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDataPrzypomnieniaNull() {
                this[this.tablesheduler.DataPrzypomnieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsOpisNull() {
                return this.IsNull(this.tablesheduler.OpisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetOpisNull() {
                this[this.tablesheduler.OpisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IszalatwioneNull() {
                return this.IsNull(this.tablesheduler.zalatwioneColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetzalatwioneNull() {
                this[this.tablesheduler.zalatwioneColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class OFERTY_MAINRow : global::System.Data.DataRow {
            
            private OFERTY_MAINDataTable tableOFERTY_MAIN;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal OFERTY_MAINRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableOFERTY_MAIN = ((OFERTY_MAINDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_oferty {
                get {
                    return ((int)(this[this.tableOFERTY_MAIN.id_ofertyColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.id_ofertyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Stan_Oferty {
                get {
                    try {
                        return ((string)(this[this.tableOFERTY_MAIN.Stan_OfertyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Stan_Oferty\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.Stan_OfertyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Id_Wersje_Oferty {
                get {
                    try {
                        return ((short)(this[this.tableOFERTY_MAIN.Id_Wersje_OfertyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Id_Wersje_Oferty\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.Id_Wersje_OfertyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CUSTOMER_ID {
                get {
                    return ((int)(this[this.tableOFERTY_MAIN.CUSTOMER_IDColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.CUSTOMER_IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_klienci_os_kontakt {
                get {
                    try {
                        return ((int)(this[this.tableOFERTY_MAIN.id_klienci_os_kontaktColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'id_klienci_os_kontakt\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.id_klienci_os_kontaktColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_tytul {
                get {
                    return ((int)(this[this.tableOFERTY_MAIN.id_tytulColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.id_tytulColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string AGENT {
                get {
                    try {
                        return ((string)(this[this.tableOFERTY_MAIN.AGENTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'AGENT\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.AGENTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short JEZYK {
                get {
                    return ((short)(this[this.tableOFERTY_MAIN.JEZYKColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.JEZYKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Data_Oferty {
                get {
                    return ((global::System.DateTime)(this[this.tableOFERTY_MAIN.Data_OfertyColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.Data_OfertyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Opis_Dol {
                get {
                    try {
                        return ((string)(this[this.tableOFERTY_MAIN.Opis_DolColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Opis_Dol\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.Opis_DolColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Data_Wyslania {
                get {
                    return ((global::System.DateTime)(this[this.tableOFERTY_MAIN.Data_WyslaniaColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.Data_WyslaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Data_Modyfikacji {
                get {
                    return ((global::System.DateTime)(this[this.tableOFERTY_MAIN.Data_ModyfikacjiColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.Data_ModyfikacjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Zmodyfikowal_User {
                get {
                    try {
                        return ((string)(this[this.tableOFERTY_MAIN.Zmodyfikowal_UserColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zmodyfikowal_User\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.Zmodyfikowal_UserColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int zapisana {
                get {
                    return ((int)(this[this.tableOFERTY_MAIN.zapisanaColumn]));
                }
                set {
                    this[this.tableOFERTY_MAIN.zapisanaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaID {
                get {
                    try {
                        return ((int)(this[this.tableOFERTY_MAIN.ReklamaIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ReklamaID\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.ReklamaIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ProjektID {
                get {
                    try {
                        return ((string)(this[this.tableOFERTY_MAIN.ProjektIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ProjektID\' in table \'OFERTY_MAIN\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOFERTY_MAIN.ProjektIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsStan_OfertyNull() {
                return this.IsNull(this.tableOFERTY_MAIN.Stan_OfertyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetStan_OfertyNull() {
                this[this.tableOFERTY_MAIN.Stan_OfertyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsId_Wersje_OfertyNull() {
                return this.IsNull(this.tableOFERTY_MAIN.Id_Wersje_OfertyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetId_Wersje_OfertyNull() {
                this[this.tableOFERTY_MAIN.Id_Wersje_OfertyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isid_klienci_os_kontaktNull() {
                return this.IsNull(this.tableOFERTY_MAIN.id_klienci_os_kontaktColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setid_klienci_os_kontaktNull() {
                this[this.tableOFERTY_MAIN.id_klienci_os_kontaktColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAGENTNull() {
                return this.IsNull(this.tableOFERTY_MAIN.AGENTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAGENTNull() {
                this[this.tableOFERTY_MAIN.AGENTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsOpis_DolNull() {
                return this.IsNull(this.tableOFERTY_MAIN.Opis_DolColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetOpis_DolNull() {
                this[this.tableOFERTY_MAIN.Opis_DolColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZmodyfikowal_UserNull() {
                return this.IsNull(this.tableOFERTY_MAIN.Zmodyfikowal_UserColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZmodyfikowal_UserNull() {
                this[this.tableOFERTY_MAIN.Zmodyfikowal_UserColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsReklamaIDNull() {
                return this.IsNull(this.tableOFERTY_MAIN.ReklamaIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetReklamaIDNull() {
                this[this.tableOFERTY_MAIN.ReklamaIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsProjektIDNull() {
                return this.IsNull(this.tableOFERTY_MAIN.ProjektIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetProjektIDNull() {
                this[this.tableOFERTY_MAIN.ProjektIDColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class Oferty_WersjeRow : global::System.Data.DataRow {
            
            private Oferty_WersjeDataTable tableOferty_Wersje;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Oferty_WersjeRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableOferty_Wersje = ((Oferty_WersjeDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_oferty_wersje {
                get {
                    return ((int)(this[this.tableOferty_Wersje.id_oferty_wersjeColumn]));
                }
                set {
                    this[this.tableOferty_Wersje.id_oferty_wersjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nazwa {
                get {
                    try {
                        return ((string)(this[this.tableOferty_Wersje.nazwaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nazwa\' in table \'Oferty_Wersje\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOferty_Wersje.nazwaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_jezyk {
                get {
                    try {
                        return ((int)(this[this.tableOferty_Wersje.id_jezykColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'id_jezyk\' in table \'Oferty_Wersje\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOferty_Wersje.id_jezykColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id_tytul {
                get {
                    try {
                        return ((int)(this[this.tableOferty_Wersje.id_tytulColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'id_tytul\' in table \'Oferty_Wersje\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOferty_Wersje.id_tytulColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nazwa_pliku {
                get {
                    try {
                        return ((string)(this[this.tableOferty_Wersje.nazwa_plikuColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nazwa_pliku\' in table \'Oferty_Wersje\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableOferty_Wersje.nazwa_plikuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnazwaNull() {
                return this.IsNull(this.tableOferty_Wersje.nazwaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnazwaNull() {
                this[this.tableOferty_Wersje.nazwaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isid_jezykNull() {
                return this.IsNull(this.tableOferty_Wersje.id_jezykColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setid_jezykNull() {
                this[this.tableOferty_Wersje.id_jezykColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isid_tytulNull() {
                return this.IsNull(this.tableOferty_Wersje.id_tytulColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setid_tytulNull() {
                this[this.tableOferty_Wersje.id_tytulColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isnazwa_plikuNull() {
                return this.IsNull(this.tableOferty_Wersje.nazwa_plikuColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setnazwa_plikuNull() {
                this[this.tableOferty_Wersje.nazwa_plikuColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class zastawienieKontaktowRow : global::System.Data.DataRow {
            
            private zastawienieKontaktowDataTable tablezastawienieKontaktow;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal zastawienieKontaktowRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablezastawienieKontaktow = ((zastawienieKontaktowDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FirstName {
                get {
                    try {
                        return ((string)(this[this.tablezastawienieKontaktow.FirstNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FirstName\' in table \'zastawienieKontaktow\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezastawienieKontaktow.FirstNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string symbol_agenta {
                get {
                    return ((string)(this[this.tablezastawienieKontaktow.symbol_agentaColumn]));
                }
                set {
                    this[this.tablezastawienieKontaktow.symbol_agentaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data {
                get {
                    return ((global::System.DateTime)(this[this.tablezastawienieKontaktow.dataColumn]));
                }
                set {
                    this[this.tablezastawienieKontaktow.dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string rodzaj {
                get {
                    try {
                        return ((string)(this[this.tablezastawienieKontaktow.rodzajColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rodzaj\' in table \'zastawienieKontaktow\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezastawienieKontaktow.rodzajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string opis {
                get {
                    try {
                        return ((string)(this[this.tablezastawienieKontaktow.opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'opis\' in table \'zastawienieKontaktow\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezastawienieKontaktow.opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerID {
                get {
                    try {
                        return ((int)(this[this.tablezastawienieKontaktow.CustomerIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerID\' in table \'zastawienieKontaktow\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezastawienieKontaktow.CustomerIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string UserName {
                get {
                    try {
                        return ((string)(this[this.tablezastawienieKontaktow.UserNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'UserName\' in table \'zastawienieKontaktow\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezastawienieKontaktow.UserNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFirstNameNull() {
                return this.IsNull(this.tablezastawienieKontaktow.FirstNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFirstNameNull() {
                this[this.tablezastawienieKontaktow.FirstNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrodzajNull() {
                return this.IsNull(this.tablezastawienieKontaktow.rodzajColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrodzajNull() {
                this[this.tablezastawienieKontaktow.rodzajColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsopisNull() {
                return this.IsNull(this.tablezastawienieKontaktow.opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetopisNull() {
                this[this.tablezastawienieKontaktow.opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerIDNull() {
                return this.IsNull(this.tablezastawienieKontaktow.CustomerIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerIDNull() {
                this[this.tablezastawienieKontaktow.CustomerIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsUserNameNull() {
                return this.IsNull(this.tablezastawienieKontaktow.UserNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetUserNameNull() {
                this[this.tablezastawienieKontaktow.UserNameColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class View_Podsumowanie_Wykonania_PlanuRow : global::System.Data.DataRow {
            
            private View_Podsumowanie_Wykonania_PlanuDataTable tableView_Podsumowanie_Wykonania_Planu;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal View_Podsumowanie_Wykonania_PlanuRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableView_Podsumowanie_Wykonania_Planu = ((View_Podsumowanie_Wykonania_PlanuDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL {
                get {
                    return ((string)(this[this.tableView_Podsumowanie_Wykonania_Planu.SYMBOLColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.SYMBOLColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ROK {
                get {
                    return ((short)(this[this.tableView_Podsumowanie_Wykonania_Planu.ROKColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short MS {
                get {
                    return ((short)(this[this.tableView_Podsumowanie_Wykonania_Planu.MSColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.MSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int BUDZET {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.BUDZETColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.BUDZETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int SPOTKANIA {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.SPOTKANIAColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.SPOTKANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int KONTAKTY {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.KONTAKTYColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.KONTAKTYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int N_KLIENCI {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.N_KLIENCIColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.N_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int KLIENCI {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.KLIENCIColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int REKLAMY {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.REKLAMYColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_BUDZET {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.W_BUDZETColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.W_BUDZETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_SPOTKANIA {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.W_SPOTKANIAColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.W_SPOTKANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int w_kontakty {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.w_kontaktyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'w_kontakty\' in table \'View_Podsumowanie_Wykonania_Planu\' is" +
                                " DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.w_kontaktyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_N_KLIENCI {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.W_N_KLIENCIColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.W_N_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_KLIENCI {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.W_KLIENCIColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.W_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_REKLAMY {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.W_REKLAMYColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.W_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int il_ms {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.il_msColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'il_ms\' in table \'View_Podsumowanie_Wykonania_Planu\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.il_msColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_budzet {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_budzetColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_budzet\' in table \'View_Podsumowanie_Wykonania_Planu\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_budzetColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_spotkania {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_spotkaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_spotkania\' in table \'View_Podsumowanie_Wykonania_Planu\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_spotkaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_kontakty {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_kontaktyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_kontakty\' in table \'View_Podsumowanie_Wykonania_Planu\' is" +
                                " DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_kontaktyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_n_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_n_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_n_klienci\' in table \'View_Podsumowanie_Wykonania_Planu\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_n_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_klienci\' in table \'View_Podsumowanie_Wykonania_Planu\' is " +
                                "DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_reklamy {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_reklamyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_reklamy\' in table \'View_Podsumowanie_Wykonania_Planu\' is " +
                                "DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_reklamyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_budzet {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_budzetColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_budzet\' in table \'View_Podsumowanie_Wykonania_Planu\' is" +
                                " DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_budzetColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_spotkania {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_spotkaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_spotkania\' in table \'View_Podsumowanie_Wykonania_Planu\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_spotkaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_n_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_n_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_n_klienci\' in table \'View_Podsumowanie_Wykonania_Planu\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_n_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_klienci\' in table \'View_Podsumowanie_Wykonania_Planu\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_reklamy {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_reklamyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_reklamy\' in table \'View_Podsumowanie_Wykonania_Planu\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_reklamyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_kontakty {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_kontaktyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_kontakty\' in table \'View_Podsumowanie_Wykonania_Planu\' " +
                                "is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_kontaktyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isw_kontaktyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.w_kontaktyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setw_kontaktyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.w_kontaktyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isil_msNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.il_msColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setil_msNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.il_msColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_budzetNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_budzetColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_budzetNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_budzetColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_spotkaniaNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_spotkaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_spotkaniaNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_spotkaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_kontaktyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_kontaktyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_kontaktyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_kontaktyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_n_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_n_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_n_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_n_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_reklamyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_reklamyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_reklamyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_reklamyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_budzetNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_w_budzetColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_budzetNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_budzetColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_spotkaniaNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_w_spotkaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_spotkaniaNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_spotkaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_n_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_w_n_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_n_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_n_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_w_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_reklamyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_w_reklamyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_reklamyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_reklamyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_kontaktyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu.r_w_kontaktyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_kontaktyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu.r_w_kontaktyColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class View_Podsumowanie_Wykonania_Planu_AgencjaRow : global::System.Data.DataRow {
            
            private View_Podsumowanie_Wykonania_Planu_AgencjaDataTable tableView_Podsumowanie_Wykonania_Planu_Agencja;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal View_Podsumowanie_Wykonania_Planu_AgencjaRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableView_Podsumowanie_Wykonania_Planu_Agencja = ((View_Podsumowanie_Wykonania_Planu_AgencjaDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ROK {
                get {
                    return ((short)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.ROKColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short MS {
                get {
                    return ((short)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.MSColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.MSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string symbol {
                get {
                    return ((string)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.symbolColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.symbolColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int BUDZET {
                get {
                    return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.BUDZETColumn]));
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.BUDZETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int BUDZET_HANDLOWCY {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.BUDZET_HANDLOWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BUDZET_HANDLOWCY\' in table \'View_Podsumowanie_Wykonania_Pla" +
                                "nu_Agencja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.BUDZET_HANDLOWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int SPOTKANIA {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.SPOTKANIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPOTKANIA\' in table \'View_Podsumowanie_Wykonania_Planu_Agen" +
                                "cja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.SPOTKANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int KONTAKTY {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KONTAKTYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KONTAKTY\' in table \'View_Podsumowanie_Wykonania_Planu_Agenc" +
                                "ja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KONTAKTYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int N_KLIENCI {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.N_KLIENCIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'N_KLIENCI\' in table \'View_Podsumowanie_Wykonania_Planu_Agen" +
                                "cja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.N_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int KLIENCI {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KLIENCIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KLIENCI\' in table \'View_Podsumowanie_Wykonania_Planu_Agencj" +
                                "a\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int REKLAMY {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'REKLAMY\' in table \'View_Podsumowanie_Wykonania_Planu_Agencj" +
                                "a\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_BUDZET {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_BUDZETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'W_BUDZET\' in table \'View_Podsumowanie_Wykonania_Planu_Agenc" +
                                "ja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_BUDZETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_SPOTKANIA {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_SPOTKANIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'W_SPOTKANIA\' in table \'View_Podsumowanie_Wykonania_Planu_Ag" +
                                "encja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_SPOTKANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int w_kontakty {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.w_kontaktyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'w_kontakty\' in table \'View_Podsumowanie_Wykonania_Planu_Age" +
                                "ncja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.w_kontaktyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_N_KLIENCI {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_N_KLIENCIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'W_N_KLIENCI\' in table \'View_Podsumowanie_Wykonania_Planu_Ag" +
                                "encja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_N_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_KLIENCI {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_KLIENCIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'W_KLIENCI\' in table \'View_Podsumowanie_Wykonania_Planu_Agen" +
                                "cja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_KLIENCIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int W_REKLAMY {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'W_REKLAMY\' in table \'View_Podsumowanie_Wykonania_Planu_Agen" +
                                "cja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int il_ms {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.il_msColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'il_ms\' in table \'View_Podsumowanie_Wykonania_Planu_Agencja\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.il_msColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_budzet {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_budzetColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_budzet\' in table \'View_Podsumowanie_Wykonania_Planu_Agenc" +
                                "ja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_budzetColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_spotkania {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_spotkaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_spotkania\' in table \'View_Podsumowanie_Wykonania_Planu_Ag" +
                                "encja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_spotkaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_kontakty {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_kontaktyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_kontakty\' in table \'View_Podsumowanie_Wykonania_Planu_Age" +
                                "ncja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_kontaktyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_n_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_n_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_n_klienci\' in table \'View_Podsumowanie_Wykonania_Planu_Ag" +
                                "encja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_n_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_klienci\' in table \'View_Podsumowanie_Wykonania_Planu_Agen" +
                                "cja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_reklamy {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_reklamyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_reklamy\' in table \'View_Podsumowanie_Wykonania_Planu_Agen" +
                                "cja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_reklamyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_budzet {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_budzetColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_budzet\' in table \'View_Podsumowanie_Wykonania_Planu_Age" +
                                "ncja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_budzetColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_spotkania {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_spotkaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_spotkania\' in table \'View_Podsumowanie_Wykonania_Planu_" +
                                "Agencja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_spotkaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_n_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_n_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_n_klienci\' in table \'View_Podsumowanie_Wykonania_Planu_" +
                                "Agencja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_n_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_klienci {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_klienciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_klienci\' in table \'View_Podsumowanie_Wykonania_Planu_Ag" +
                                "encja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_klienciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_reklamy {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_reklamyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_reklamy\' in table \'View_Podsumowanie_Wykonania_Planu_Ag" +
                                "encja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_reklamyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int r_w_kontakty {
                get {
                    try {
                        return ((int)(this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_kontaktyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'r_w_kontakty\' in table \'View_Podsumowanie_Wykonania_Planu_A" +
                                "gencja\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_kontaktyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBUDZET_HANDLOWCYNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.BUDZET_HANDLOWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBUDZET_HANDLOWCYNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.BUDZET_HANDLOWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPOTKANIANull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.SPOTKANIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPOTKANIANull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.SPOTKANIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKONTAKTYNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KONTAKTYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKONTAKTYNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KONTAKTYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsN_KLIENCINull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.N_KLIENCIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetN_KLIENCINull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.N_KLIENCIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKLIENCINull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KLIENCIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKLIENCINull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.KLIENCIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsREKLAMYNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetREKLAMYNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsW_BUDZETNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_BUDZETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetW_BUDZETNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_BUDZETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsW_SPOTKANIANull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_SPOTKANIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetW_SPOTKANIANull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_SPOTKANIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isw_kontaktyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.w_kontaktyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setw_kontaktyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.w_kontaktyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsW_N_KLIENCINull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_N_KLIENCIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetW_N_KLIENCINull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_N_KLIENCIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsW_KLIENCINull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_KLIENCIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetW_KLIENCINull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_KLIENCIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsW_REKLAMYNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetW_REKLAMYNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.W_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isil_msNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.il_msColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setil_msNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.il_msColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_budzetNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_budzetColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_budzetNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_budzetColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_spotkaniaNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_spotkaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_spotkaniaNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_spotkaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_kontaktyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_kontaktyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_kontaktyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_kontaktyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_n_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_n_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_n_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_n_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_reklamyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_reklamyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_reklamyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_reklamyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_budzetNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_budzetColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_budzetNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_budzetColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_spotkaniaNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_spotkaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_spotkaniaNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_spotkaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_n_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_n_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_n_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_n_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_klienciNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_klienciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_klienciNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_klienciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_reklamyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_reklamyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_reklamyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_reklamyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isr_w_kontaktyNull() {
                return this.IsNull(this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_kontaktyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setr_w_kontaktyNull() {
                this[this.tableView_Podsumowanie_Wykonania_Planu_Agencja.r_w_kontaktyColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class LISTA_REKLAM_NA_WYDANIERow : global::System.Data.DataRow {
            
            private LISTA_REKLAM_NA_WYDANIEDataTable tableLISTA_REKLAM_NA_WYDANIE;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal LISTA_REKLAM_NA_WYDANIERow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableLISTA_REKLAM_NA_WYDANIE = ((LISTA_REKLAM_NA_WYDANIEDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaID {
                get {
                    return ((int)(this[this.tableLISTA_REKLAM_NA_WYDANIE.ReklamaIDColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.ReklamaIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUŁ {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.TYTUŁColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUŁ\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.TYTUŁColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SZER {
                get {
                    try {
                        return ((double)(this[this.tableLISTA_REKLAM_NA_WYDANIE.SZERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SZER\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.SZERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double WYS {
                get {
                    try {
                        return ((double)(this[this.tableLISTA_REKLAM_NA_WYDANIE.WYSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WYS\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.WYSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KOLOR {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.KOLORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KOLOR\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.KOLORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NICK_NAME {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.NICK_NAMEColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NICK NAME\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.NICK_NAMEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MOD_TYP {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.MOD_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MOD_TYP\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.MOD_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT {
                get {
                    try {
                        return ((double)(this[this.tableLISTA_REKLAM_NA_WYDANIE.RABATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.RABATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string lokalizacja {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.lokalizacjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'lokalizacja\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.lokalizacjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short NR {
                get {
                    return ((short)(this[this.tableLISTA_REKLAM_NA_WYDANIE.NRColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.NRColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZATWIERDZONO_DO_DRUKU {
                get {
                    try {
                        return ((bool)(this[this.tableLISTA_REKLAM_NA_WYDANIE.ZATWIERDZONO_DO_DRUKUColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZATWIERDZONO DO DRUKU\' in table \'LISTA_REKLAM_NA_WYDANIE\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.ZATWIERDZONO_DO_DRUKUColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int GRZBIET {
                get {
                    try {
                        return ((int)(this[this.tableLISTA_REKLAM_NA_WYDANIE.GRZBIETColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'GRZBIET\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.GRZBIETColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short STRONA {
                get {
                    try {
                        return ((short)(this[this.tableLISTA_REKLAM_NA_WYDANIE.STRONAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STRONA\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agencja {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.agencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.agencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMBOL_AKWIZYTORA {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.SYMBOL_AKWIZYTORAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMBOL AKWIZYTORA\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.SYMBOL_AKWIZYTORAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short KROTNOŚĆ {
                get {
                    try {
                        return ((short)(this[this.tableLISTA_REKLAM_NA_WYDANIE.KROTNOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KROTNOŚĆ\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.KROTNOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NETTO {
                get {
                    try {
                        return ((double)(this[this.tableLISTA_REKLAM_NA_WYDANIE.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nazwaGrzbietu {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.nazwaGrzbietuColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nazwaGrzbietu\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.nazwaGrzbietuColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_AGENTA {
                get {
                    return ((int)(this[this.tableLISTA_REKLAM_NA_WYDANIE.ID_AGENTAColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.ID_AGENTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double CENA_JEDN {
                get {
                    try {
                        return ((double)(this[this.tableLISTA_REKLAM_NA_WYDANIE.CENA_JEDNColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA JEDN\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.CENA_JEDNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT_WARTOŚĆ {
                get {
                    try {
                        return ((double)(this[this.tableLISTA_REKLAM_NA_WYDANIE.RABAT_WARTOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT WARTOŚĆ\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.RABAT_WARTOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYP {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYP\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie {
                get {
                    return ((bool)(this[this.tableLISTA_REKLAM_NA_WYDANIE.wyroznienieColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.wyroznienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie_exported {
                get {
                    return ((bool)(this[this.tableLISTA_REKLAM_NA_WYDANIE.wyroznienie_exportedColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.wyroznienie_exportedColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool logo {
                get {
                    return ((bool)(this[this.tableLISTA_REKLAM_NA_WYDANIE.logoColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.logoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int logoID {
                get {
                    try {
                        return ((int)(this[this.tableLISTA_REKLAM_NA_WYDANIE.logoIDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'logoID\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.logoIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string DZIAŁ_TXT {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.DZIAŁ_TXTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DZIAŁ_TXT\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.DZIAŁ_TXTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ROZDZIAŁ_TXT {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.ROZDZIAŁ_TXTColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ROZDZIAŁ_TXT\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.ROZDZIAŁ_TXTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string STAN {
                get {
                    try {
                        return ((string)(this[this.tableLISTA_REKLAM_NA_WYDANIE.STANColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STAN\' in table \'LISTA_REKLAM_NA_WYDANIE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.STANColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short sTATUS {
                get {
                    return ((short)(this[this.tableLISTA_REKLAM_NA_WYDANIE.sTATUSColumn]));
                }
                set {
                    this[this.tableLISTA_REKLAM_NA_WYDANIE.sTATUSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTUŁNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.TYTUŁColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTUŁNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.TYTUŁColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSZERNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.SZERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSZERNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.SZERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWYSNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.WYSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWYSNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.WYSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKOLORNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.KOLORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKOLORNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.KOLORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNICK_NAMENull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.NICK_NAMEColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNICK_NAMENull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.NICK_NAMEColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMOD_TYPNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.MOD_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMOD_TYPNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.MOD_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABATNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.RABATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABATNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.RABATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IslokalizacjaNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.lokalizacjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetlokalizacjaNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.lokalizacjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZATWIERDZONO_DO_DRUKUNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.ZATWIERDZONO_DO_DRUKUColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZATWIERDZONO_DO_DRUKUNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.ZATWIERDZONO_DO_DRUKUColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsGRZBIETNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.GRZBIETColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetGRZBIETNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.GRZBIETColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTRONANull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.STRONAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTRONANull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.STRONAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagencjaNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.agencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagencjaNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.agencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBOL_AKWIZYTORANull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.SYMBOL_AKWIZYTORAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBOL_AKWIZYTORANull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.SYMBOL_AKWIZYTORAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKROTNOŚĆNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.KROTNOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKROTNOŚĆNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.KROTNOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnazwaGrzbietuNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.nazwaGrzbietuColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnazwaGrzbietuNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.nazwaGrzbietuColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_JEDNNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.CENA_JEDNColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_JEDNNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.CENA_JEDNColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABAT_WARTOŚĆNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.RABAT_WARTOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABAT_WARTOŚĆNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.RABAT_WARTOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYPNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYPNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IslogoIDNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.logoIDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetlogoIDNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.logoIDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDZIAŁ_TXTNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.DZIAŁ_TXTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDZIAŁ_TXTNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.DZIAŁ_TXTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsROZDZIAŁ_TXTNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.ROZDZIAŁ_TXTColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetROZDZIAŁ_TXTNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.ROZDZIAŁ_TXTColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTANNull() {
                return this.IsNull(this.tableLISTA_REKLAM_NA_WYDANIE.STANColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTANNull() {
                this[this.tableLISTA_REKLAM_NA_WYDANIE.STANColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class Reklama_Info_DodRow : global::System.Data.DataRow {
            
            private Reklama_Info_DodDataTable tableReklama_Info_Dod;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Reklama_Info_DodRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableReklama_Info_Dod = ((Reklama_Info_DodDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Reklama_Info_Dod_ID {
                get {
                    return ((int)(this[this.tableReklama_Info_Dod.Reklama_Info_Dod_IDColumn]));
                }
                set {
                    this[this.tableReklama_Info_Dod.Reklama_Info_Dod_IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaId {
                get {
                    return ((int)(this[this.tableReklama_Info_Dod.ReklamaIdColumn]));
                }
                set {
                    this[this.tableReklama_Info_Dod.ReklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableReklama_Info_Dod.DataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'Reklama_Info_Dod\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklama_Info_Dod.DataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Reklama_Info_Dod {
                get {
                    try {
                        return ((string)(this[this.tableReklama_Info_Dod.Reklama_Info_DodColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Reklama_Info_Dod\' in table \'Reklama_Info_Dod\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableReklama_Info_Dod.Reklama_Info_DodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow REKLAMARow {
                get {
                    return ((REKLAMARow)(this.GetParentRow(this.Table.ParentRelations["REKLAMA_Reklama_Info_Dod"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["REKLAMA_Reklama_Info_Dod"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDataNull() {
                return this.IsNull(this.tableReklama_Info_Dod.DataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDataNull() {
                this[this.tableReklama_Info_Dod.DataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsReklama_Info_DodNull() {
                return this.IsNull(this.tableReklama_Info_Dod.Reklama_Info_DodColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetReklama_Info_DodNull() {
                this[this.tableReklama_Info_Dod.Reklama_Info_DodColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KLIENCI_TYTULRow : global::System.Data.DataRow {
            
            private KLIENCI_TYTULDataTable tableKLIENCI_TYTUL;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCI_TYTULRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKLIENCI_TYTUL = ((KLIENCI_TYTULDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_KLIENCI_TYTUL {
                get {
                    return ((int)(this[this.tableKLIENCI_TYTUL.ID_KLIENCI_TYTULColumn]));
                }
                set {
                    this[this.tableKLIENCI_TYTUL.ID_KLIENCI_TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUL {
                get {
                    return ((string)(this[this.tableKLIENCI_TYTUL.TYTULColumn]));
                }
                set {
                    this[this.tableKLIENCI_TYTUL.TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Customerid {
                get {
                    return ((int)(this[this.tableKLIENCI_TYTUL.CustomeridColumn]));
                }
                set {
                    this[this.tableKLIENCI_TYTUL.CustomeridColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string username {
                get {
                    return ((string)(this[this.tableKLIENCI_TYTUL.usernameColumn]));
                }
                set {
                    this[this.tableKLIENCI_TYTUL.usernameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data {
                get {
                    return ((global::System.DateTime)(this[this.tableKLIENCI_TYTUL.dataColumn]));
                }
                set {
                    this[this.tableKLIENCI_TYTUL.dataColumn] = value;
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class KLIENCI_INTERNET_LOGORow : global::System.Data.DataRow {
            
            private KLIENCI_INTERNET_LOGODataTable tableKLIENCI_INTERNET_LOGO;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal KLIENCI_INTERNET_LOGORow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableKLIENCI_INTERNET_LOGO = ((KLIENCI_INTERNET_LOGODataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID {
                get {
                    return ((int)(this[this.tableKLIENCI_INTERNET_LOGO.IDColumn]));
                }
                set {
                    this[this.tableKLIENCI_INTERNET_LOGO.IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int customerID {
                get {
                    return ((int)(this[this.tableKLIENCI_INTERNET_LOGO.customerIDColumn]));
                }
                set {
                    this[this.tableKLIENCI_INTERNET_LOGO.customerIDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nazwa {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_INTERNET_LOGO.nazwaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nazwa\' in table \'KLIENCI_INTERNET_LOGO\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_INTERNET_LOGO.nazwaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string status {
                get {
                    try {
                        return ((string)(this[this.tableKLIENCI_INTERNET_LOGO.statusColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'status\' in table \'KLIENCI_INTERNET_LOGO\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_INTERNET_LOGO.statusColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte[] logo {
                get {
                    try {
                        return ((byte[])(this[this.tableKLIENCI_INTERNET_LOGO.logoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'logo\' in table \'KLIENCI_INTERNET_LOGO\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableKLIENCI_INTERNET_LOGO.logoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow KLIENCIRow {
                get {
                    return ((KLIENCIRow)(this.GetParentRow(this.Table.ParentRelations["FK_KLIENCI_INTERNET_LOGO_KLIENCI"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_KLIENCI_INTERNET_LOGO_KLIENCI"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnazwaNull() {
                return this.IsNull(this.tableKLIENCI_INTERNET_LOGO.nazwaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnazwaNull() {
                this[this.tableKLIENCI_INTERNET_LOGO.nazwaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsstatusNull() {
                return this.IsNull(this.tableKLIENCI_INTERNET_LOGO.statusColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetstatusNull() {
                this[this.tableKLIENCI_INTERNET_LOGO.statusColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IslogoNull() {
                return this.IsNull(this.tableKLIENCI_INTERNET_LOGO.logoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetlogoNull() {
                this[this.tableKLIENCI_INTERNET_LOGO.logoColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class zmianyEmisjiRow : global::System.Data.DataRow {
            
            private zmianyEmisjiDataTable tablezmianyEmisji;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal zmianyEmisjiRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablezmianyEmisji = ((zmianyEmisjiDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int id {
                get {
                    return ((int)(this[this.tablezmianyEmisji.idColumn]));
                }
                set {
                    this[this.tablezmianyEmisji.idColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal idEmisji {
                get {
                    return ((decimal)(this[this.tablezmianyEmisji.idEmisjiColumn]));
                }
                set {
                    this[this.tablezmianyEmisji.idEmisjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short popNrWyd {
                get {
                    return ((short)(this[this.tablezmianyEmisji.popNrWydColumn]));
                }
                set {
                    this[this.tablezmianyEmisji.popNrWydColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short nastNrWyd {
                get {
                    return ((short)(this[this.tablezmianyEmisji.nastNrWydColumn]));
                }
                set {
                    this[this.tablezmianyEmisji.nastNrWydColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataZmiany {
                get {
                    return ((global::System.DateTime)(this[this.tablezmianyEmisji.dataZmianyColumn]));
                }
                set {
                    this[this.tablezmianyEmisji.dataZmianyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow UKAZE_SIE_W_NRRow {
                get {
                    return ((UKAZE_SIE_W_NRRow)(this.GetParentRow(this.Table.ParentRelations["FK_UKAZE_SIE_W_NR_zmianyEmisji"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FK_UKAZE_SIE_W_NR_zmianyEmisji"]);
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class zamowieniaRow : global::System.Data.DataRow {
            
            private zamowieniaDataTable tablezamowienia;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal zamowieniaRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablezamowienia = ((zamowieniaDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    return ((int)(this[this.tablezamowienia.idZamowieniaColumn]));
                }
                set {
                    this[this.tablezamowienia.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idKlienta {
                get {
                    return ((int)(this[this.tablezamowienia.idKlientaColumn]));
                }
                set {
                    this[this.tablezamowienia.idKlientaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short rodzajFakturowania {
                get {
                    try {
                        return ((short)(this[this.tablezamowienia.rodzajFakturowaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rodzajFakturowania\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.rodzajFakturowaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool zafakturowano {
                get {
                    return ((bool)(this[this.tablezamowienia.zafakturowanoColumn]));
                }
                set {
                    this[this.tablezamowienia.zafakturowanoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idKonta {
                get {
                    try {
                        return ((int)(this[this.tablezamowienia.idKontaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idKonta\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.idKontaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int nrZamowienia {
                get {
                    return ((int)(this[this.tablezamowienia.nrZamowieniaColumn]));
                }
                set {
                    this[this.tablezamowienia.nrZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int rokZamowienia {
                get {
                    return ((int)(this[this.tablezamowienia.rokZamowieniaColumn]));
                }
                set {
                    this[this.tablezamowienia.rokZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short sposobZaplaty {
                get {
                    try {
                        return ((short)(this[this.tablezamowienia.sposobZaplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'sposobZaplaty\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.sposobZaplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int czasPlatnosci {
                get {
                    try {
                        return ((int)(this[this.tablezamowienia.czasPlatnosciColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'czasPlatnosci\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.czasPlatnosciColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kodAgenta {
                get {
                    try {
                        return ((string)(this[this.tablezamowienia.kodAgentaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kodAgenta\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.kodAgentaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataOstatniejZafakturowanejEmisji {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tablezamowienia.dataOstatniejZafakturowanejEmisjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'dataOstatniejZafakturowanejEmisji\' in table \'zamowienia\' is" +
                                " DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.dataOstatniejZafakturowanejEmisjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string notatkaZamowienie {
                get {
                    try {
                        return ((string)(this[this.tablezamowienia.notatkaZamowienieColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'notatkaZamowienie\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.notatkaZamowienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string notatkaKierownik {
                get {
                    try {
                        return ((string)(this[this.tablezamowienia.notatkaKierownikColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'notatkaKierownik\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.notatkaKierownikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool zafakturowanoWszystko {
                get {
                    return ((bool)(this[this.tablezamowienia.zafakturowanoWszystkoColumn]));
                }
                set {
                    this[this.tablezamowienia.zafakturowanoWszystkoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double procentProwizji {
                get {
                    try {
                        return ((double)(this[this.tablezamowienia.procentProwizjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'procentProwizji\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.procentProwizjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZP {
                get {
                    try {
                        return ((bool)(this[this.tablezamowienia.ZPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZP\' in table \'zamowienia\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablezamowienia.ZPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrodzajFakturowaniaNull() {
                return this.IsNull(this.tablezamowienia.rodzajFakturowaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrodzajFakturowaniaNull() {
                this[this.tablezamowienia.rodzajFakturowaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidKontaNull() {
                return this.IsNull(this.tablezamowienia.idKontaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidKontaNull() {
                this[this.tablezamowienia.idKontaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IssposobZaplatyNull() {
                return this.IsNull(this.tablezamowienia.sposobZaplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetsposobZaplatyNull() {
                this[this.tablezamowienia.sposobZaplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsczasPlatnosciNull() {
                return this.IsNull(this.tablezamowienia.czasPlatnosciColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetczasPlatnosciNull() {
                this[this.tablezamowienia.czasPlatnosciColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodAgentaNull() {
                return this.IsNull(this.tablezamowienia.kodAgentaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodAgentaNull() {
                this[this.tablezamowienia.kodAgentaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataOstatniejZafakturowanejEmisjiNull() {
                return this.IsNull(this.tablezamowienia.dataOstatniejZafakturowanejEmisjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataOstatniejZafakturowanejEmisjiNull() {
                this[this.tablezamowienia.dataOstatniejZafakturowanejEmisjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnotatkaZamowienieNull() {
                return this.IsNull(this.tablezamowienia.notatkaZamowienieColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnotatkaZamowienieNull() {
                this[this.tablezamowienia.notatkaZamowienieColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnotatkaKierownikNull() {
                return this.IsNull(this.tablezamowienia.notatkaKierownikColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnotatkaKierownikNull() {
                this[this.tablezamowienia.notatkaKierownikColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsprocentProwizjiNull() {
                return this.IsNull(this.tablezamowienia.procentProwizjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetprocentProwizjiNull() {
                this[this.tablezamowienia.procentProwizjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZPNull() {
                return this.IsNull(this.tablezamowienia.ZPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZPNull() {
                this[this.tablezamowienia.ZPColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class DatyWydanRow : global::System.Data.DataRow {
            
            private DatyWydanDataTable tableDatyWydan;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal DatyWydanRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableDatyWydan = ((DatyWydanDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ReklamaId {
                get {
                    return ((int)(this[this.tableDatyWydan.ReklamaIdColumn]));
                }
                set {
                    this[this.tableDatyWydan.ReklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short Nr_Wydania {
                get {
                    return ((short)(this[this.tableDatyWydan.Nr_WydaniaColumn]));
                }
                set {
                    this[this.tableDatyWydan.Nr_WydaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int rok {
                get {
                    try {
                        return ((int)(this[this.tableDatyWydan.rokColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rok\' in table \'DatyWydan\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableDatyWydan.rokColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ms {
                get {
                    try {
                        return ((int)(this[this.tableDatyWydan.msColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ms\' in table \'DatyWydan\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableDatyWydan.msColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_W {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableDatyWydan.DATA_WColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_W\' in table \'DatyWydan\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableDatyWydan.DATA_WColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idTytulu {
                get {
                    try {
                        return ((int)(this[this.tableDatyWydan.idTytuluColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idTytulu\' in table \'DatyWydan\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableDatyWydan.idTytuluColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow UKAZE_SIE_W_NRRowParent {
                get {
                    return ((UKAZE_SIE_W_NRRow)(this.GetParentRow(this.Table.ParentRelations["UKAZE_SIE_W_NR_DatyWydan"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["UKAZE_SIE_W_NR_DatyWydan"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrokNull() {
                return this.IsNull(this.tableDatyWydan.rokColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrokNull() {
                this[this.tableDatyWydan.rokColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsmsNull() {
                return this.IsNull(this.tableDatyWydan.msColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetmsNull() {
                this[this.tableDatyWydan.msColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_WNull() {
                return this.IsNull(this.tableDatyWydan.DATA_WColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_WNull() {
                this[this.tableDatyWydan.DATA_WColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidTytuluNull() {
                return this.IsNull(this.tableDatyWydan.idTytuluColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidTytuluNull() {
                this[this.tableDatyWydan.idTytuluColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow : global::System.Data.DataRow {
            
            private VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE = ((VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    return ((int)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.idZamowieniaColumn]));
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idKlienta {
                get {
                    return ((int)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.idKlientaColumn]));
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.idKlientaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double DoZafakturowania {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.DoZafakturowaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DoZafakturowania\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.DoZafakturowaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kodAgenta {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodAgentaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kodAgenta\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodAgentaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int rokZamowienia {
                get {
                    return ((int)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.rokZamowieniaColumn]));
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.rokZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double wartoscNetto {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.wartoscNettoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wartoscNetto\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is " +
                                "DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.wartoscNettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agencja {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agent {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agentColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agentColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int nrZamowienia {
                get {
                    return ((int)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nrZamowieniaColumn]));
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nrZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nrZamowieniaExt {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nrZamowieniaExtColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nrZamowieniaExt\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' " +
                                "is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nrZamowieniaExtColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int iloscReklam {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.iloscReklamColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'iloscReklam\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.iloscReklamColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double kwotaWalutaBrutto {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kwotaWalutaBruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kwotaWalutaBrutto\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE" +
                                "\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kwotaWalutaBruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data_od {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_odColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'data_od\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_odColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data_od_bez_FK {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_od_bez_FKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'data_od_bez_FK\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_od_bez_FKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double nettoZafakturowane {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nettoZafakturowaneColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nettoZafakturowane\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOW" +
                                "E\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nettoZafakturowaneColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Brutto_Euro_Miano {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Brutto_Euro_MianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro_Miano\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE" +
                                "\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Brutto_Euro_MianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kodKlienta {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodKlientaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kodKlienta\' in table \'VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodKlientaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDoZafakturowaniaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.DoZafakturowaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDoZafakturowaniaNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.DoZafakturowaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodAgentaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodAgentaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodAgentaNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodAgentaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IswartoscNettoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.wartoscNettoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetwartoscNettoNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.wartoscNettoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagencjaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagencjaNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagentNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agentColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagentNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.agentColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnrZamowieniaExtNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nrZamowieniaExtColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnrZamowieniaExtNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nrZamowieniaExtColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsiloscReklamNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.iloscReklamColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetiloscReklamNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.iloscReklamColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskwotaWalutaBruttoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kwotaWalutaBruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkwotaWalutaBruttoNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kwotaWalutaBruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isdata_odNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_odColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setdata_odNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_odColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isdata_od_bez_FKNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_od_bez_FKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setdata_od_bez_FKNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.data_od_bez_FKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnettoZafakturowaneNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nettoZafakturowaneColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnettoZafakturowaneNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.nettoZafakturowaneColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_Euro_MianoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Brutto_Euro_MianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_Euro_MianoNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Brutto_Euro_MianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodKlientaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodKlientaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodKlientaNull() {
                this[this.tableVIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.kodKlientaColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class WplatyRow : global::System.Data.DataRow {
            
            private WplatyDataTable tableWplaty;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal WplatyRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableWplaty = ((WplatyDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idWplaty {
                get {
                    return ((int)(this[this.tableWplaty.idWplatyColumn]));
                }
                set {
                    this[this.tableWplaty.idWplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFaktury {
                get {
                    return ((int)(this[this.tableWplaty.idFakturyColumn]));
                }
                set {
                    this[this.tableWplaty.idFakturyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableWplaty.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataWplaty {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableWplaty.dataWplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'dataWplaty\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.dataWplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string rodzajPotwierdzenia {
                get {
                    try {
                        return ((string)(this[this.tableWplaty.rodzajPotwierdzeniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rodzajPotwierdzenia\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.rodzajPotwierdzeniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string symbolPotwierdzenia {
                get {
                    try {
                        return ((string)(this[this.tableWplaty.symbolPotwierdzeniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'symbolPotwierdzenia\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.symbolPotwierdzeniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableWplaty.bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'brutto\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal waluta_brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableWplaty.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableWplaty.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'Wplaty\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableWplaty.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow FAKTURYRow {
                get {
                    return ((FAKTURYRow)(this.GetParentRow(this.Table.ParentRelations["FAKTURY_Wplaty"])));
                }
                set {
                    this.SetParentRow(value, this.Table.ParentRelations["FAKTURY_Wplaty"]);
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableWplaty.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableWplaty.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataWplatyNull() {
                return this.IsNull(this.tableWplaty.dataWplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataWplatyNull() {
                this[this.tableWplaty.dataWplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrodzajPotwierdzeniaNull() {
                return this.IsNull(this.tableWplaty.rodzajPotwierdzeniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrodzajPotwierdzeniaNull() {
                this[this.tableWplaty.rodzajPotwierdzeniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IssymbolPotwierdzeniaNull() {
                return this.IsNull(this.tableWplaty.symbolPotwierdzeniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetsymbolPotwierdzeniaNull() {
                this[this.tableWplaty.symbolPotwierdzeniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsbruttoNull() {
                return this.IsNull(this.tableWplaty.bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetbruttoNull() {
                this[this.tableWplaty.bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableWplaty.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableWplaty.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableWplaty.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableWplaty.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class PROWIZJERow : global::System.Data.DataRow {
            
            private PROWIZJEDataTable tablePROWIZJE;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal PROWIZJERow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablePROWIZJE = ((PROWIZJEDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idProwizji {
                get {
                    return ((int)(this[this.tablePROWIZJE.idProwizjiColumn]));
                }
                set {
                    this[this.tablePROWIZJE.idProwizjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agencja {
                get {
                    try {
                        return ((string)(this[this.tablePROWIZJE.agencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.agencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agent {
                get {
                    try {
                        return ((string)(this[this.tablePROWIZJE.agentColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.agentColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int rok {
                get {
                    try {
                        return ((int)(this[this.tablePROWIZJE.rokColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rok\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.rokColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ms {
                get {
                    try {
                        return ((int)(this[this.tablePROWIZJE.msColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ms\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.msColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nrFaktury {
                get {
                    try {
                        return ((string)(this[this.tablePROWIZJE.nrFakturyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nrFaktury\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.nrFakturyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal netto {
                get {
                    try {
                        return ((decimal)(this[this.tablePROWIZJE.nettoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.nettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nrFakturyKorygowanej {
                get {
                    try {
                        return ((string)(this[this.tablePROWIZJE.nrFakturyKorygowanejColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nrFakturyKorygowanej\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.nrFakturyKorygowanejColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double procentProwizji {
                get {
                    try {
                        return ((double)(this[this.tablePROWIZJE.procentProwizjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'procentProwizji\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.procentProwizjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZP {
                get {
                    try {
                        return ((bool)(this[this.tablePROWIZJE.ZPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZP\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.ZPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal kwotaProwizji {
                get {
                    try {
                        return ((decimal)(this[this.tablePROWIZJE.kwotaProwizjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kwotaProwizji\' in table \'PROWIZJE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablePROWIZJE.kwotaProwizjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagencjaNull() {
                return this.IsNull(this.tablePROWIZJE.agencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagencjaNull() {
                this[this.tablePROWIZJE.agencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagentNull() {
                return this.IsNull(this.tablePROWIZJE.agentColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagentNull() {
                this[this.tablePROWIZJE.agentColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrokNull() {
                return this.IsNull(this.tablePROWIZJE.rokColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrokNull() {
                this[this.tablePROWIZJE.rokColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsmsNull() {
                return this.IsNull(this.tablePROWIZJE.msColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetmsNull() {
                this[this.tablePROWIZJE.msColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnrFakturyNull() {
                return this.IsNull(this.tablePROWIZJE.nrFakturyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnrFakturyNull() {
                this[this.tablePROWIZJE.nrFakturyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnettoNull() {
                return this.IsNull(this.tablePROWIZJE.nettoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnettoNull() {
                this[this.tablePROWIZJE.nettoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnrFakturyKorygowanejNull() {
                return this.IsNull(this.tablePROWIZJE.nrFakturyKorygowanejColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnrFakturyKorygowanejNull() {
                this[this.tablePROWIZJE.nrFakturyKorygowanejColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsprocentProwizjiNull() {
                return this.IsNull(this.tablePROWIZJE.procentProwizjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetprocentProwizjiNull() {
                this[this.tablePROWIZJE.procentProwizjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZPNull() {
                return this.IsNull(this.tablePROWIZJE.ZPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZPNull() {
                this[this.tablePROWIZJE.ZPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskwotaProwizjiNull() {
                return this.IsNull(this.tablePROWIZJE.kwotaProwizjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkwotaProwizjiNull() {
                this[this.tablePROWIZJE.kwotaProwizjiColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class VIEW_KOREKTYRow : global::System.Data.DataRow {
            
            private VIEW_KOREKTYDataTable tableVIEW_KOREKTY;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal VIEW_KOREKTYRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableVIEW_KOREKTY = ((VIEW_KOREKTYDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    return ((int)(this[this.tableVIEW_KOREKTY.ID_FAKTURYColumn]));
                }
                set {
                    this[this.tableVIEW_KOREKTY.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int CustomerId {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.CustomerIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CustomerId\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.CustomerIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Id_Agencji {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.Id_AgencjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Id_Agencji\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.Id_AgencjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kodKlienta {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.kodKlientaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kodKlienta\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.kodKlientaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.NUMER_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NUMER_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_ROK {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NUMER_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal netto {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.nettoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'netto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.nettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double S_VAT {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_KOREKTY.S_VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'S_VAT\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.S_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal vat {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.vatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.vatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zaplat {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.suma_zaplatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.suma_zaplatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_SPRZEDAZY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime zaplata_data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.zaplata_dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.zaplata_dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zaplata_opis {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.zaplata_opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_opis\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.zaplata_opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyKorekta {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyKorekta\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NR_FAKTURY_KOREKTY {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY_KOREKTY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_F {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NUMER_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ_F {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_ROK_F {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal netto_F {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.netto_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'netto_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.netto_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal brutto_F {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.brutto_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'brutto_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.brutto_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal vat_F {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.vat_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'vat_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.vat_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zapłat_F {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zapłat_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime data_wystawienia_F {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'data_wystawienia_F\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NR_FAKTURY {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal roznica_netto {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_nettoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_netto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.roznica_nettoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal roznica_vat {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_vatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_vat\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.roznica_vatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal roznica_brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_KOREKTY.roznica_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'roznica_brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.roznica_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agencja {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.agencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agencja\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.agencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string agent {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.agentColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'agent\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.agentColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_roznica_brutto {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_roznica_brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int liczbaReklam {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.liczbaReklamColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'liczbaReklam\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.liczbaReklamColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool KOREKTA {
                get {
                    return ((bool)(this[this.tableVIEW_KOREKTY.KOREKTAColumn]));
                }
                set {
                    this[this.tableVIEW_KOREKTY.KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_brutto {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_KOREKTY.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyVAT {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.idFakturyVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyVAT\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.idFakturyVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FK_KOR {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.ID_FK_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FK_KOR\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.ID_FK_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NR_FAKTURY_KORYGOWANEJ_1 {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_KOREKTY.NR_FAKTURY_KORYGOWANEJ_1Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FAKTURY_KORYGOWANEJ_1\' in table \'VIEW_KOREKTY\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.NR_FAKTURY_KORYGOWANEJ_1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int nr_korygowanej {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_KOREKTY.nr_korygowanejColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nr_korygowanej\' in table \'VIEW_KOREKTY\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_KOREKTY.nr_korygowanejColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCustomerIdNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.CustomerIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCustomerIdNull() {
                this[this.tableVIEW_KOREKTY.CustomerIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsId_AgencjiNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.Id_AgencjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetId_AgencjiNull() {
                this[this.tableVIEW_KOREKTY.Id_AgencjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodKlientaNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.kodKlientaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodKlientaNull() {
                this[this.tableVIEW_KOREKTY.kodKlientaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableVIEW_KOREKTY.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZNull() {
                this[this.tableVIEW_KOREKTY.NUMER_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROKNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROKNull() {
                this[this.tableVIEW_KOREKTY.NUMER_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnettoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.nettoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnettoNull() {
                this[this.tableVIEW_KOREKTY.nettoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsS_VATNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.S_VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetS_VATNull() {
                this[this.tableVIEW_KOREKTY.S_VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsvatNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.vatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetvatNull() {
                this[this.tableVIEW_KOREKTY.vatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsbruttoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetbruttoNull() {
                this[this.tableVIEW_KOREKTY.bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zaplatNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.suma_zaplatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zaplatNull() {
                this[this.tableVIEW_KOREKTY.suma_zaplatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_WYSTAWIENIANull() {
                this[this.tableVIEW_KOREKTY.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_SPRZEDAZYNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_SPRZEDAZYNull() {
                this[this.tableVIEW_KOREKTY.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableVIEW_KOREKTY.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_dataNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.zaplata_dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_dataNull() {
                this[this.tableVIEW_KOREKTY.zaplata_dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_opisNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.zaplata_opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_opisNull() {
                this[this.tableVIEW_KOREKTY.zaplata_opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableVIEW_KOREKTY.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyKorektaNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.idFakturyKorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyKorektaNull() {
                this[this.tableVIEW_KOREKTY.idFakturyKorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_FAKTURY_KOREKTYNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_FAKTURY_KOREKTYNull() {
                this[this.tableVIEW_KOREKTY.NR_FAKTURY_KOREKTYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_FNull() {
                this[this.tableVIEW_KOREKTY.NUMER_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZ_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZ_FNull() {
                this[this.tableVIEW_KOREKTY.NUMER_ROZ_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROK_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NUMER_ROK_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROK_FNull() {
                this[this.tableVIEW_KOREKTY.NUMER_ROK_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isnetto_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.netto_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setnetto_FNull() {
                this[this.tableVIEW_KOREKTY.netto_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isbrutto_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.brutto_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setbrutto_FNull() {
                this[this.tableVIEW_KOREKTY.brutto_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isvat_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.vat_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setvat_FNull() {
                this[this.tableVIEW_KOREKTY.vat_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zapłat_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.suma_zapłat_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zapłat_FNull() {
                this[this.tableVIEW_KOREKTY.suma_zapłat_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isdata_wystawienia_FNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.data_wystawienia_FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setdata_wystawienia_FNull() {
                this[this.tableVIEW_KOREKTY.data_wystawienia_FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_FAKTURYNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_FAKTURYNull() {
                this[this.tableVIEW_KOREKTY.NR_FAKTURYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isroznica_nettoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.roznica_nettoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setroznica_nettoNull() {
                this[this.tableVIEW_KOREKTY.roznica_nettoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isroznica_vatNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.roznica_vatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setroznica_vatNull() {
                this[this.tableVIEW_KOREKTY.roznica_vatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isroznica_bruttoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.roznica_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setroznica_bruttoNull() {
                this[this.tableVIEW_KOREKTY.roznica_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagencjaNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.agencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagencjaNull() {
                this[this.tableVIEW_KOREKTY.agencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsagentNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.agentColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetagentNull() {
                this[this.tableVIEW_KOREKTY.agentColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_roznica_bruttoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_roznica_bruttoNull() {
                this[this.tableVIEW_KOREKTY.waluta_roznica_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableVIEW_KOREKTY.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsliczbaReklamNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.liczbaReklamColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetliczbaReklamNull() {
                this[this.tableVIEW_KOREKTY.liczbaReklamColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableVIEW_KOREKTY.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyVATNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.idFakturyVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyVATNull() {
                this[this.tableVIEW_KOREKTY.idFakturyVATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FK_KORNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.ID_FK_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FK_KORNull() {
                this[this.tableVIEW_KOREKTY.ID_FK_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_FAKTURY_KORYGOWANEJ_1Null() {
                return this.IsNull(this.tableVIEW_KOREKTY.NR_FAKTURY_KORYGOWANEJ_1Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_FAKTURY_KORYGOWANEJ_1Null() {
                this[this.tableVIEW_KOREKTY.NR_FAKTURY_KORYGOWANEJ_1Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isnr_korygowanejNull() {
                return this.IsNull(this.tableVIEW_KOREKTY.nr_korygowanejColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setnr_korygowanejNull() {
                this[this.tableVIEW_KOREKTY.nr_korygowanejColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class VIEW_ZESTAWIENIE_FAKTUR_NOWERow : global::System.Data.DataRow {
            
            private VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable tableVIEW_ZESTAWIENIE_FAKTUR_NOWE;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal VIEW_ZESTAWIENIE_FAKTUR_NOWERow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE = ((VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_NABYWCY {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_NABYWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_NABYWCY\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_NABYWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ROK {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int MS {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.MSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MS\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.MSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_SPRZEDAZY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.DATA_SPRZEDAZYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is " +
                                "DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.DATA_SPRZEDAZYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NR_FK {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NR_FKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_FK\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NR_FKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUL {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUL\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal NETTO {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double S_VAT {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.S_VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'S_VAT\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.S_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal VAT {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal BRUTTO {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zaplat {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.suma_zaplatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.suma_zaplatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_FAKTURYColumn]));
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Symbol {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SymbolColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Symbol\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SymbolColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Agencja {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.AgencjaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Agencja\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.AgencjaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPLACONO {
                get {
                    try {
                        return ((bool)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ZAPLACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPLACONO\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ZAPLACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime dataWplaty {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.dataWplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'dataWplaty\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.dataWplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime zaplata_data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.zaplata_dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.zaplata_dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string FirstName {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.FirstNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FirstName\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.FirstNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is " +
                                "DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idWplaty {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idWplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idWplaty\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idWplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal sumaNettoZEmisji {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.sumaNettoZEmisjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'sumaNettoZEmisji\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.sumaNettoZEmisjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_brutto {
                get {
                    try {
                        return ((double)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DB" +
                                "Null.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool KOREKTA {
                get {
                    return ((bool)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.KOREKTAColumn]));
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyKorekta {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idFakturyKorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyKorekta\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idFakturyKorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FK_KOR {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_FK_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FK_KOR\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_FK_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal wplata_brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wplata_brutto\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal wplata_waluta_brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wplata_waluta_brutto\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOW" +
                                "E\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ilPozycji {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilPozycjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ilPozycji\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilPozycjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ilEmisji {
                get {
                    try {
                        return ((int)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilEmisjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ilEmisji\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilEmisjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SposobZaplaty {
                get {
                    try {
                        return ((string)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SposobZaplatyColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SposobZaplaty\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SposobZaplatyColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal waluta_kurs {
                get {
                    try {
                        return ((decimal)(this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_kursColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs\' in table \'VIEW_ZESTAWIENIE_FAKTUR_NOWE\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_kursColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_NABYWCYNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_NABYWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_NABYWCYNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_NABYWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsROKNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetROKNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMSNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.MSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMSNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.MSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_SPRZEDAZYNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.DATA_SPRZEDAZYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_SPRZEDAZYNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_FKNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NR_FKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_FKNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NR_FKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTULNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTULNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsS_VATNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.S_VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetS_VATNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.S_VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zaplatNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.suma_zaplatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zaplatNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.suma_zaplatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSymbolNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SymbolColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSymbolNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SymbolColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAgencjaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.AgencjaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAgencjaNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.AgencjaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPLACONONull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ZAPLACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPLACONONull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ZAPLACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsdataWplatyNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.dataWplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetdataWplatyNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.dataWplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_dataNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.zaplata_dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_dataNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.zaplata_dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFirstNameNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.FirstNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFirstNameNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.FirstNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidWplatyNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idWplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidWplatyNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idWplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IssumaNettoZEmisjiNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.sumaNettoZEmisjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetsumaNettoZEmisjiNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.sumaNettoZEmisjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyKorektaNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idFakturyKorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyKorektaNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.idFakturyKorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FK_KORNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_FK_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FK_KORNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ID_FK_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswplata_bruttoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwplata_bruttoNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswplata_waluta_bruttoNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwplata_waluta_bruttoNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.wplata_waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsilPozycjiNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilPozycjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetilPozycjiNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilPozycjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsilEmisjiNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilEmisjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetilEmisjiNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.ilEmisjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSposobZaplatyNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SposobZaplatyColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSposobZaplatyNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.SposobZaplatyColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kursNull() {
                return this.IsNull(this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_kursColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kursNull() {
                this[this.tableVIEW_ZESTAWIENIE_FAKTUR_NOWE.waluta_kursColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class REKLAMARowChangeEvent : global::System.EventArgs {
            
            private REKLAMARow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARowChangeEvent(REKLAMARow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMARow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class UKAZE_SIE_W_NRRowChangeEvent : global::System.EventArgs {
            
            private UKAZE_SIE_W_NRRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRowChangeEvent(UKAZE_SIE_W_NRRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public UKAZE_SIE_W_NRRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KLIENCIRowChangeEvent : global::System.EventArgs {
            
            private KLIENCIRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRowChangeEvent(KLIENCIRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCIRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class REKLAMA_STRONARowChangeEvent : global::System.EventArgs {
            
            private REKLAMA_STRONARow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARowChangeEvent(REKLAMA_STRONARow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public REKLAMA_STRONARow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent : global::System.EventArgs {
            
            private KLIENCI_OSOBY_DO_KONTAKTURow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURowChangeEvent(KLIENCI_OSOBY_DO_KONTAKTURow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_OSOBY_DO_KONTAKTURow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class PRODUKCJARowChangeEvent : global::System.EventArgs {
            
            private PRODUKCJARow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARowChangeEvent(PRODUKCJARow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PRODUKCJARow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class FAKTURYRowChangeEvent : global::System.EventArgs {
            
            private FAKTURYRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRowChangeEvent(FAKTURYRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURYRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class FAKTURA_DETAILSRowChangeEvent : global::System.EventArgs {
            
            private FAKTURA_DETAILSRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRowChangeEvent(FAKTURA_DETAILSRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILSRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KL_KLIENCIRowChangeEvent : global::System.EventArgs {
            
            private KL_KLIENCIRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRowChangeEvent(KL_KLIENCIRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KL_KLIENCIRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class ReklamyZestawienieRowChangeEvent : global::System.EventArgs {
            
            private ReklamyZestawienieRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieRowChangeEvent(ReklamyZestawienieRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ReklamyZestawienieRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class ListaReklamDoWydaniaNrRowChangeEvent : global::System.EventArgs {
            
            private ListaReklamDoWydaniaNrRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListaReklamDoWydaniaNrRowChangeEvent(ListaReklamDoWydaniaNrRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListaReklamDoWydaniaNrRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KONTAKTYRowChangeEvent : global::System.EventArgs {
            
            private KONTAKTYRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRowChangeEvent(KONTAKTYRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KONTAKTYRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class ZestawienieFakturRowChangeEvent : global::System.EventArgs {
            
            private ZestawienieFakturRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZestawienieFakturRowChangeEvent(ZestawienieFakturRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZestawienieFakturRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class PLANRowChangeEvent : global::System.EventArgs {
            
            private PLANRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANRowChangeEvent(PLANRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PLANRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class ListyRowChangeEvent : global::System.EventArgs {
            
            private ListyRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyRowChangeEvent(ListyRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class ListyPodsumowanieRowChangeEvent : global::System.EventArgs {
            
            private ListyPodsumowanieRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyPodsumowanieRowChangeEvent(ListyPodsumowanieRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ListyPodsumowanieRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class shedulerRowChangeEvent : global::System.EventArgs {
            
            private shedulerRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerRowChangeEvent(shedulerRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public shedulerRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class OFERTY_MAINRowChangeEvent : global::System.EventArgs {
            
            private OFERTY_MAINRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINRowChangeEvent(OFERTY_MAINRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OFERTY_MAINRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class Oferty_WersjeRowChangeEvent : global::System.EventArgs {
            
            private Oferty_WersjeRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeRowChangeEvent(Oferty_WersjeRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Oferty_WersjeRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class zastawienieKontaktowRowChangeEvent : global::System.EventArgs {
            
            private zastawienieKontaktowRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zastawienieKontaktowRowChangeEvent(zastawienieKontaktowRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zastawienieKontaktowRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class View_Podsumowanie_Wykonania_PlanuRowChangeEvent : global::System.EventArgs {
            
            private View_Podsumowanie_Wykonania_PlanuRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_PlanuRowChangeEvent(View_Podsumowanie_Wykonania_PlanuRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_PlanuRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent : global::System.EventArgs {
            
            private View_Podsumowanie_Wykonania_Planu_AgencjaRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_Planu_AgencjaRowChangeEvent(View_Podsumowanie_Wykonania_Planu_AgencjaRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public View_Podsumowanie_Wykonania_Planu_AgencjaRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class LISTA_REKLAM_NA_WYDANIERowChangeEvent : global::System.EventArgs {
            
            private LISTA_REKLAM_NA_WYDANIERow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public LISTA_REKLAM_NA_WYDANIERowChangeEvent(LISTA_REKLAM_NA_WYDANIERow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public LISTA_REKLAM_NA_WYDANIERow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class Reklama_Info_DodRowChangeEvent : global::System.EventArgs {
            
            private Reklama_Info_DodRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRowChangeEvent(Reklama_Info_DodRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Reklama_Info_DodRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KLIENCI_TYTULRowChangeEvent : global::System.EventArgs {
            
            private KLIENCI_TYTULRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_TYTULRowChangeEvent(KLIENCI_TYTULRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_TYTULRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class KLIENCI_INTERNET_LOGORowChangeEvent : global::System.EventArgs {
            
            private KLIENCI_INTERNET_LOGORow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORowChangeEvent(KLIENCI_INTERNET_LOGORow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public KLIENCI_INTERNET_LOGORow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class zmianyEmisjiRowChangeEvent : global::System.EventArgs {
            
            private zmianyEmisjiRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiRowChangeEvent(zmianyEmisjiRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zmianyEmisjiRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class zamowieniaRowChangeEvent : global::System.EventArgs {
            
            private zamowieniaRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaRowChangeEvent(zamowieniaRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public zamowieniaRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class DatyWydanRowChangeEvent : global::System.EventArgs {
            
            private DatyWydanRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanRowChangeEvent(DatyWydanRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public DatyWydanRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent : global::System.EventArgs {
            
            private VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERowChangeEvent(VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWERow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class WplatyRowChangeEvent : global::System.EventArgs {
            
            private WplatyRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRowChangeEvent(WplatyRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public WplatyRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class PROWIZJERowChangeEvent : global::System.EventArgs {
            
            private PROWIZJERow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJERowChangeEvent(PROWIZJERow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public PROWIZJERow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class VIEW_KOREKTYRowChangeEvent : global::System.EventArgs {
            
            private VIEW_KOREKTYRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_KOREKTYRowChangeEvent(VIEW_KOREKTYRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_KOREKTYRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent : global::System.EventArgs {
            
            private VIEW_ZESTAWIENIE_FAKTUR_NOWERow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_FAKTUR_NOWERowChangeEvent(VIEW_ZESTAWIENIE_FAKTUR_NOWERow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public VIEW_ZESTAWIENIE_FAKTUR_NOWERow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace Baza_Reklam.REKLAMADataSetTableAdapters {
    
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class REKLAMATableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public REKLAMATableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "REKLAMA";
            tableMapping.ColumnMappings.Add("ReklamaID", "ReklamaID");
            tableMapping.ColumnMappings.Add("CustomerID", "CustomerID");
            tableMapping.ColumnMappings.Add("SYMBOL AKWIZYTORA", "SYMBOL AKWIZYTORA");
            tableMapping.ColumnMappings.Add("TYTUŁ", "TYTUŁ");
            tableMapping.ColumnMappings.Add("TYP", "TYP");
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            tableMapping.ColumnMappings.Add("NICK NAME", "NICK NAME");
            tableMapping.ColumnMappings.Add("DATA ZAMÓWIENIA", "DATA ZAMÓWIENIA");
            tableMapping.ColumnMappings.Add("SZER", "SZER");
            tableMapping.ColumnMappings.Add("WYS", "WYS");
            tableMapping.ColumnMappings.Add("MOD_TYP", "MOD_TYP");
            tableMapping.ColumnMappings.Add("STRONA", "STRONA");
            tableMapping.ColumnMappings.Add("STR NR WT", "STR NR WT");
            tableMapping.ColumnMappings.Add("STR NR PT", "STR NR PT");
            tableMapping.ColumnMappings.Add("KROTNOŚĆ", "KROTNOŚĆ");
            tableMapping.ColumnMappings.Add("ODSTĘP", "ODSTĘP");
            tableMapping.ColumnMappings.Add("KOLOR", "KOLOR");
            tableMapping.ColumnMappings.Add("WSKAZANIE MIEJSCA", "WSKAZANIE MIEJSCA");
            tableMapping.ColumnMappings.Add("RABAT", "RABAT");
            tableMapping.ColumnMappings.Add("RABAT WARTOŚĆ", "RABAT WARTOŚĆ");
            tableMapping.ColumnMappings.Add("ZAPŁACONO", "ZAPŁACONO");
            tableMapping.ColumnMappings.Add("ZATWIERDZONO DO DRUKU", "ZATWIERDZONO DO DRUKU");
            tableMapping.ColumnMappings.Add("DATA ZAPŁATY", "DATA ZAPŁATY");
            tableMapping.ColumnMappings.Add("SYMBOL POTWIERDZENIA", "SYMBOL POTWIERDZENIA");
            tableMapping.ColumnMappings.Add("RODZAJ POTWIERDZENIA", "RODZAJ POTWIERDZENIA");
            tableMapping.ColumnMappings.Add("CENA JEDN", "CENA JEDN");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("PVAT", "PVAT");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("PROCENT PROWIZJI", "PROCENT PROWIZJI");
            tableMapping.ColumnMappings.Add("PROWIZJA", "PROWIZJA");
            tableMapping.ColumnMappings.Add("INFO", "INFO");
            tableMapping.ColumnMappings.Add("FAKTURA NUMER", "FAKTURA NUMER");
            tableMapping.ColumnMappings.Add("FAKTURA ID KONTA", "FAKTURA ID KONTA");
            tableMapping.ColumnMappings.Add("FAKTURA DATA WYSTAWIENIA", "FAKTURA DATA WYSTAWIENIA");
            tableMapping.ColumnMappings.Add("FAKTURA DATA SPRZEDAŻY", "FAKTURA DATA SPRZEDAŻY");
            tableMapping.ColumnMappings.Add("FAKTURA TERMIN ZAPŁATY", "FAKTURA TERMIN ZAPŁATY");
            tableMapping.ColumnMappings.Add("FAKTURA FORMA PŁATNOŚCI", "FAKTURA FORMA PŁATNOŚCI");
            tableMapping.ColumnMappings.Add("FAKTURA WYSTAWIONO", "FAKTURA WYSTAWIONO");
            tableMapping.ColumnMappings.Add("FAKTURA RODZAJ", "FAKTURA RODZAJ");
            tableMapping.ColumnMappings.Add("USERID", "USERID");
            tableMapping.ColumnMappings.Add("DATA OSTATNIEJ MODYFIKACJI", "DATA OSTATNIEJ MODYFIKACJI");
            tableMapping.ColumnMappings.Add("FK-TR", "FK-TR");
            tableMapping.ColumnMappings.Add("F_NR", "F_NR");
            tableMapping.ColumnMappings.Add("F_NR_ROZ", "F_NR_ROZ");
            tableMapping.ColumnMappings.Add("F_NR_ROK", "F_NR_ROK");
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("PROMOCJA", "PROMOCJA");
            tableMapping.ColumnMappings.Add("GRZBIET", "GRZBIET");
            tableMapping.ColumnMappings.Add("customerId_Sub", "customerId_Sub");
            tableMapping.ColumnMappings.Add("kier_notatka", "kier_notatka");
            tableMapping.ColumnMappings.Add("kier_zatwierdzil", "kier_zatwierdzil");
            tableMapping.ColumnMappings.Add("zam_notatka", "zam_notatka");
            tableMapping.ColumnMappings.Add("zablokuj_prowizje", "zablokuj_prowizje");
            tableMapping.ColumnMappings.Add("Brutto_Euro", "Brutto_Euro");
            tableMapping.ColumnMappings.Add("Zaliczka_Brutto", "Zaliczka_Brutto");
            tableMapping.ColumnMappings.Add("Zaliczka_Data", "Zaliczka_Data");
            tableMapping.ColumnMappings.Add("Brutto_Euro_Miano", "Brutto_Euro_Miano");
            tableMapping.ColumnMappings.Add("waluta_kurs_z_dnia", "waluta_kurs_z_dnia");
            tableMapping.ColumnMappings.Add("waluta_kurs", "waluta_kurs");
            tableMapping.ColumnMappings.Add("waluta_Przelicznik", "waluta_Przelicznik");
            tableMapping.ColumnMappings.Add("waluta_tabela_nr", "waluta_tabela_nr");
            tableMapping.ColumnMappings.Add("wyroznienie_procent", "wyroznienie_procent");
            tableMapping.ColumnMappings.Add("wyroznienie_kwota", "wyroznienie_kwota");
            tableMapping.ColumnMappings.Add("wyroznienie", "wyroznienie");
            tableMapping.ColumnMappings.Add("wyroznienie_exported", "wyroznienie_exported");
            tableMapping.ColumnMappings.Add("logo", "logo");
            tableMapping.ColumnMappings.Add("logoID", "logoID");
            tableMapping.ColumnMappings.Add("ogl_dzial", "ogl_dzial");
            tableMapping.ColumnMappings.Add("ogl_rozdzial", "ogl_rozdzial");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [REKLAMA] WHERE (([ReklamaID] = @Original_ReklamaID))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ReklamaID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [REKLAMA] ([CustomerID], [SYMBOL AKWIZYTORA], [TYTUŁ], [TYP], [ID REK" +
                "LAMY], [NICK NAME], [DATA ZAMÓWIENIA], [SZER], [WYS], [MOD_TYP], [STRONA], [STR " +
                "NR WT], [STR NR PT], [KROTNOŚĆ], [ODSTĘP], [KOLOR], [WSKAZANIE MIEJSCA], [RABAT]" +
                ", [RABAT WARTOŚĆ], [ZAPŁACONO], [ZATWIERDZONO DO DRUKU], [DATA ZAPŁATY], [SYMBOL" +
                " POTWIERDZENIA], [RODZAJ POTWIERDZENIA], [CENA JEDN], [NETTO], [VAT], [PVAT], [B" +
                "RUTTO], [PROCENT PROWIZJI], [PROWIZJA], [INFO], [FAKTURA NUMER], [FAKTURA ID KON" +
                "TA], [FAKTURA DATA WYSTAWIENIA], [FAKTURA DATA SPRZEDAŻY], [FAKTURA TERMIN ZAPŁA" +
                "TY], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA WYSTAWIONO], [FAKTURA RODZAJ], [USERID]" +
                ", [DATA OSTATNIEJ MODYFIKACJI], [FK-TR], [F_NR], [F_NR_ROZ], [F_NR_ROK], [ID_FAK" +
                "TURY], [PROMOCJA], [GRZBIET], [customerId_Sub], [kier_notatka], [kier_zatwierdzi" +
                "l], [zam_notatka], [zablokuj_prowizje], [Brutto_Euro], [Zaliczka_Brutto], [Zalic" +
                "zka_Data], [Brutto_Euro_Miano], [waluta_kurs_z_dnia], [waluta_kurs], [waluta_Prz" +
                "elicznik], [waluta_tabela_nr], [wyroznienie_procent], [wyroznienie_kwota], [wyro" +
                "znienie], [wyroznienie_exported], [logo], [logoID], [ogl_dzial], [ogl_rozdzial]," +
                " [idZamowienia]) VALUES (@CustomerID, @SYMBOL_AKWIZYTORA, @TYTUŁ, @TYP, @ID_REKL" +
                "AMY, @NICK_NAME, @DATA_ZAMÓWIENIA, @SZER, @WYS, @MOD_TYP, @STRONA, @STR_NR_WT, @" +
                "STR_NR_PT, @KROTNOŚĆ, @ODSTĘP, @KOLOR, @WSKAZANIE_MIEJSCA, @RABAT, @RABAT_WARTOŚ" +
                "Ć, @ZAPŁACONO, @ZATWIERDZONO_DO_DRUKU, @DATA_ZAPŁATY, @SYMBOL_POTWIERDZENIA, @RO" +
                "DZAJ_POTWIERDZENIA, @CENA_JEDN, @NETTO, @VAT, @PVAT, @BRUTTO, @PROCENT_PROWIZJI," +
                " @PROWIZJA, @INFO, @FAKTURA_NUMER, @FAKTURA_ID_KONTA, @FAKTURA_DATA_WYSTAWIENIA," +
                " @FAKTURA_DATA_SPRZEDAŻY, @FAKTURA_TERMIN_ZAPŁATY, @FAKTURA_FORMA_PŁATNOŚCI, @FA" +
                "KTURA_WYSTAWIONO, @FAKTURA_RODZAJ, @USERID, @DATA_OSTATNIEJ_MODYFIKACJI, @p1, @F" +
                "_NR, @F_NR_ROZ, @F_NR_ROK, @ID_FAKTURY, @PROMOCJA, @GRZBIET, @customerId_Sub, @k" +
                "ier_notatka, @kier_zatwierdzil, @zam_notatka, @zablokuj_prowizje, @Brutto_Euro, " +
                "@Zaliczka_Brutto, @Zaliczka_Data, @Brutto_Euro_Miano, @waluta_kurs_z_dnia, @walu" +
                "ta_kurs, @waluta_Przelicznik, @waluta_tabela_nr, @wyroznienie_procent, @wyroznie" +
                "nie_kwota, @wyroznienie, @wyroznienie_exported, @logo, @logoID, @ogl_dzial, @ogl" +
                "_rozdzial, @idZamowienia);\r\nSELECT TOP 100 ReklamaID, CustomerID, [SYMBOL AKWIZY" +
                "TORA], TYTUŁ, TYP, [ID REKLAMY], [NICK NAME], [DATA ZAMÓWIENIA], SZER, WYS, MOD_" +
                "TYP, STRONA, [STR NR WT], [STR NR PT], KROTNOŚĆ, ODSTĘP, KOLOR, [WSKAZANIE MIEJS" +
                "CA], RABAT, [RABAT WARTOŚĆ], ZAPŁACONO, [ZATWIERDZONO DO DRUKU], [DATA ZAPŁATY]," +
                " [SYMBOL POTWIERDZENIA], [RODZAJ POTWIERDZENIA], [CENA JEDN], NETTO, VAT, PVAT, " +
                "BRUTTO, [PROCENT PROWIZJI], PROWIZJA, INFO, [FAKTURA NUMER], [FAKTURA ID KONTA]," +
                " [FAKTURA DATA WYSTAWIENIA], [FAKTURA DATA SPRZEDAŻY], [FAKTURA TERMIN ZAPŁATY]," +
                " [FAKTURA FORMA PŁATNOŚCI], [FAKTURA WYSTAWIONO], [FAKTURA RODZAJ], USERID, [DAT" +
                "A OSTATNIEJ MODYFIKACJI], [FK-TR], F_NR, F_NR_ROZ, F_NR_ROK, ID_FAKTURY, PROMOCJ" +
                "A, GRZBIET, customerId_Sub, kier_notatka, kier_zatwierdzil, zam_notatka, zabloku" +
                "j_prowizje, Brutto_Euro, Zaliczka_Brutto, Zaliczka_Data, Brutto_Euro_Miano, walu" +
                "ta_kurs_z_dnia, waluta_kurs, waluta_Przelicznik, waluta_tabela_nr, wyroznienie_p" +
                "rocent, wyroznienie_kwota, wyroznienie, wyroznienie_exported, logo, logoID, ogl_" +
                "dzial, ogl_rozdzial, idZamowienia FROM REKLAMA WHERE (ReklamaID = SCOPE_IDENTITY" +
                "())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL_AKWIZYTORA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL AKWIZYTORA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYTUŁ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUŁ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_REKLAMY", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID REKLAMY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NICK_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NICK NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_ZAMÓWIENIA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA ZAMÓWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SZER", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SZER", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WYS", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MOD_TYP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MOD_TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STRONA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STRONA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STR_NR_WT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STR NR WT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STR_NR_PT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STR NR PT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KROTNOŚĆ", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KROTNOŚĆ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODSTĘP", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODSTĘP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KOLOR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KOLOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSKAZANIE_MIEJSCA", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WSKAZANIE MIEJSCA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RABAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RABAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RABAT_WARTOŚĆ", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RABAT WARTOŚĆ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZAPŁACONO", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZAPŁACONO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZATWIERDZONO_DO_DRUKU", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZATWIERDZONO DO DRUKU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_ZAPŁATY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA ZAPŁATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL_POTWIERDZENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL POTWIERDZENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RODZAJ_POTWIERDZENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RODZAJ POTWIERDZENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CENA_JEDN", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CENA JEDN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NETTO", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PVAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PVAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BRUTTO", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BRUTTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROCENT_PROWIZJI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROCENT PROWIZJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROWIZJA", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROWIZJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INFO", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INFO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_NUMER", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA NUMER", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_ID_KONTA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA ID KONTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_DATA_WYSTAWIENIA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA DATA WYSTAWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_DATA_SPRZEDAŻY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA DATA SPRZEDAŻY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_TERMIN_ZAPŁATY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA TERMIN ZAPŁATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_FORMA_PŁATNOŚCI", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA FORMA PŁATNOŚCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_WYSTAWIONO", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA WYSTAWIONO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_RODZAJ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA RODZAJ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USERID", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USERID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_OSTATNIEJ_MODYFIKACJI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA OSTATNIEJ MODYFIKACJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FK-TR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F_NR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "F_NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F_NR_ROZ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "F_NR_ROZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F_NR_ROK", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "F_NR_ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FAKTURY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROMOCJA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROMOCJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GRZBIET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GRZBIET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId_Sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerId_Sub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kier_notatka", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kier_notatka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kier_zatwierdzil", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kier_zatwierdzil", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zam_notatka", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zam_notatka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zablokuj_prowizje", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zablokuj_prowizje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Brutto_Euro", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Brutto_Euro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Brutto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Brutto_Euro_Miano", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Brutto_Euro_Miano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs_z_dnia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs_z_dnia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_Przelicznik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_Przelicznik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_tabela_nr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_tabela_nr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie_procent", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie_procent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie_kwota", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie_kwota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie_exported", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie_exported", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logoID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ogl_dzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ogl_dzial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ogl_rozdzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ogl_rozdzial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = "UPDATE [REKLAMA] SET [CustomerID] = @CustomerID, [SYMBOL AKWIZYTORA] = @SYMBOL_AK" +
                "WIZYTORA, [TYTUŁ] = @TYTUŁ, [TYP] = @TYP, [ID REKLAMY] = @ID_REKLAMY, [NICK NAME" +
                "] = @NICK_NAME, [DATA ZAMÓWIENIA] = @DATA_ZAMÓWIENIA, [SZER] = @SZER, [WYS] = @W" +
                "YS, [MOD_TYP] = @MOD_TYP, [STRONA] = @STRONA, [STR NR WT] = @STR_NR_WT, [STR NR " +
                "PT] = @STR_NR_PT, [KROTNOŚĆ] = @KROTNOŚĆ, [ODSTĘP] = @ODSTĘP, [KOLOR] = @KOLOR, " +
                "[WSKAZANIE MIEJSCA] = @WSKAZANIE_MIEJSCA, [RABAT] = @RABAT, [RABAT WARTOŚĆ] = @R" +
                "ABAT_WARTOŚĆ, [ZAPŁACONO] = @ZAPŁACONO, [ZATWIERDZONO DO DRUKU] = @ZATWIERDZONO_" +
                "DO_DRUKU, [DATA ZAPŁATY] = @DATA_ZAPŁATY, [SYMBOL POTWIERDZENIA] = @SYMBOL_POTWI" +
                "ERDZENIA, [RODZAJ POTWIERDZENIA] = @RODZAJ_POTWIERDZENIA, [CENA JEDN] = @CENA_JE" +
                "DN, [NETTO] = @NETTO, [VAT] = @VAT, [PVAT] = @PVAT, [BRUTTO] = @BRUTTO, [PROCENT" +
                " PROWIZJI] = @PROCENT_PROWIZJI, [PROWIZJA] = @PROWIZJA, [INFO] = @INFO, [FAKTURA" +
                " NUMER] = @FAKTURA_NUMER, [FAKTURA ID KONTA] = @FAKTURA_ID_KONTA, [FAKTURA DATA " +
                "WYSTAWIENIA] = @FAKTURA_DATA_WYSTAWIENIA, [FAKTURA DATA SPRZEDAŻY] = @FAKTURA_DA" +
                "TA_SPRZEDAŻY, [FAKTURA TERMIN ZAPŁATY] = @FAKTURA_TERMIN_ZAPŁATY, [FAKTURA FORMA" +
                " PŁATNOŚCI] = @FAKTURA_FORMA_PŁATNOŚCI, [FAKTURA WYSTAWIONO] = @FAKTURA_WYSTAWIO" +
                "NO, [FAKTURA RODZAJ] = @FAKTURA_RODZAJ, [USERID] = @USERID, [DATA OSTATNIEJ MODY" +
                "FIKACJI] = @DATA_OSTATNIEJ_MODYFIKACJI, [FK-TR] = @p1, [F_NR] = @F_NR, [F_NR_ROZ" +
                "] = @F_NR_ROZ, [F_NR_ROK] = @F_NR_ROK, [ID_FAKTURY] = @ID_FAKTURY, [PROMOCJA] = " +
                "@PROMOCJA, [GRZBIET] = @GRZBIET, [customerId_Sub] = @customerId_Sub, [kier_notat" +
                "ka] = @kier_notatka, [kier_zatwierdzil] = @kier_zatwierdzil, [zam_notatka] = @za" +
                "m_notatka, [zablokuj_prowizje] = @zablokuj_prowizje, [Brutto_Euro] = @Brutto_Eur" +
                "o, [Zaliczka_Brutto] = @Zaliczka_Brutto, [Zaliczka_Data] = @Zaliczka_Data, [Brut" +
                "to_Euro_Miano] = @Brutto_Euro_Miano, [waluta_kurs_z_dnia] = @waluta_kurs_z_dnia," +
                " [waluta_kurs] = @waluta_kurs, [waluta_Przelicznik] = @waluta_Przelicznik, [walu" +
                "ta_tabela_nr] = @waluta_tabela_nr, [wyroznienie_procent] = @wyroznienie_procent," +
                " [wyroznienie_kwota] = @wyroznienie_kwota, [wyroznienie] = @wyroznienie, [wyrozn" +
                "ienie_exported] = @wyroznienie_exported, [logo] = @logo, [logoID] = @logoID, [og" +
                "l_dzial] = @ogl_dzial, [ogl_rozdzial] = @ogl_rozdzial, [idZamowienia] = @idZamow" +
                "ienia WHERE (([ReklamaID] = @Original_ReklamaID));\r\nSELECT TOP 100 ReklamaID, Cu" +
                "stomerID, [SYMBOL AKWIZYTORA], TYTUŁ, TYP, [ID REKLAMY], [NICK NAME], [DATA ZAMÓ" +
                "WIENIA], SZER, WYS, MOD_TYP, STRONA, [STR NR WT], [STR NR PT], KROTNOŚĆ, ODSTĘP," +
                " KOLOR, [WSKAZANIE MIEJSCA], RABAT, [RABAT WARTOŚĆ], ZAPŁACONO, [ZATWIERDZONO DO" +
                " DRUKU], [DATA ZAPŁATY], [SYMBOL POTWIERDZENIA], [RODZAJ POTWIERDZENIA], [CENA J" +
                "EDN], NETTO, VAT, PVAT, BRUTTO, [PROCENT PROWIZJI], PROWIZJA, INFO, [FAKTURA NUM" +
                "ER], [FAKTURA ID KONTA], [FAKTURA DATA WYSTAWIENIA], [FAKTURA DATA SPRZEDAŻY], [" +
                "FAKTURA TERMIN ZAPŁATY], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA WYSTAWIONO], [FAKTU" +
                "RA RODZAJ], USERID, [DATA OSTATNIEJ MODYFIKACJI], [FK-TR], F_NR, F_NR_ROZ, F_NR_" +
                "ROK, ID_FAKTURY, PROMOCJA, GRZBIET, customerId_Sub, kier_notatka, kier_zatwierdz" +
                "il, zam_notatka, zablokuj_prowizje, Brutto_Euro, Zaliczka_Brutto, Zaliczka_Data," +
                " Brutto_Euro_Miano, waluta_kurs_z_dnia, waluta_kurs, waluta_Przelicznik, waluta_" +
                "tabela_nr, wyroznienie_procent, wyroznienie_kwota, wyroznienie, wyroznienie_expo" +
                "rted, logo, logoID, ogl_dzial, ogl_rozdzial, idZamowienia FROM REKLAMA WHERE (Re" +
                "klamaID = @ReklamaID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL_AKWIZYTORA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL AKWIZYTORA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYTUŁ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUŁ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_REKLAMY", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID REKLAMY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NICK_NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NICK NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_ZAMÓWIENIA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA ZAMÓWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SZER", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SZER", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WYS", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MOD_TYP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MOD_TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STRONA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STRONA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STR_NR_WT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STR NR WT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STR_NR_PT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STR NR PT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KROTNOŚĆ", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KROTNOŚĆ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ODSTĘP", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ODSTĘP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KOLOR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KOLOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSKAZANIE_MIEJSCA", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WSKAZANIE MIEJSCA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RABAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RABAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RABAT_WARTOŚĆ", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RABAT WARTOŚĆ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZAPŁACONO", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZAPŁACONO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZATWIERDZONO_DO_DRUKU", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZATWIERDZONO DO DRUKU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_ZAPŁATY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA ZAPŁATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL_POTWIERDZENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL POTWIERDZENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RODZAJ_POTWIERDZENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RODZAJ POTWIERDZENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CENA_JEDN", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CENA JEDN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NETTO", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PVAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PVAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BRUTTO", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BRUTTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROCENT_PROWIZJI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROCENT PROWIZJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROWIZJA", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROWIZJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INFO", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "INFO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_NUMER", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA NUMER", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_ID_KONTA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA ID KONTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_DATA_WYSTAWIENIA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA DATA WYSTAWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_DATA_SPRZEDAŻY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA DATA SPRZEDAŻY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_TERMIN_ZAPŁATY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA TERMIN ZAPŁATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_FORMA_PŁATNOŚCI", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA FORMA PŁATNOŚCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_WYSTAWIONO", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA WYSTAWIONO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_RODZAJ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA RODZAJ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USERID", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "USERID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_OSTATNIEJ_MODYFIKACJI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA OSTATNIEJ MODYFIKACJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FK-TR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F_NR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "F_NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F_NR_ROZ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "F_NR_ROZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F_NR_ROK", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "F_NR_ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FAKTURY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PROMOCJA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PROMOCJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GRZBIET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GRZBIET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId_Sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerId_Sub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kier_notatka", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kier_notatka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kier_zatwierdzil", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kier_zatwierdzil", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zam_notatka", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zam_notatka", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zablokuj_prowizje", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zablokuj_prowizje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Brutto_Euro", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Brutto_Euro", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Brutto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Brutto_Euro_Miano", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Brutto_Euro_Miano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs_z_dnia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs_z_dnia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_Przelicznik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_Przelicznik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_tabela_nr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_tabela_nr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie_procent", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie_procent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie_kwota", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie_kwota", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie_exported", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie_exported", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logoID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logoID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ogl_dzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ogl_dzial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ogl_rozdzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ogl_rozdzial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ReklamaID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     TOP 100 ReklamaID, CustomerID, [SYMBOL AKWIZYTORA], TYTUŁ, TYP, [ID REKLAMY], [NICK NAME], [DATA ZAMÓWIENIA], SZER, WYS, MOD_TYP, 
                      STRONA, [STR NR WT], [STR NR PT], KROTNOŚĆ, ODSTĘP, KOLOR, [WSKAZANIE MIEJSCA], RABAT, [RABAT WARTOŚĆ], ZAPŁACONO, 
                      [ZATWIERDZONO DO DRUKU], [DATA ZAPŁATY], [SYMBOL POTWIERDZENIA], [RODZAJ POTWIERDZENIA], [CENA JEDN], NETTO, VAT, PVAT, BRUTTO, 
                      [PROCENT PROWIZJI], PROWIZJA, INFO, [FAKTURA NUMER], [FAKTURA ID KONTA], [FAKTURA DATA WYSTAWIENIA], [FAKTURA DATA SPRZEDAŻY], 
                      [FAKTURA TERMIN ZAPŁATY], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA WYSTAWIONO], [FAKTURA RODZAJ], USERID, 
                      [DATA OSTATNIEJ MODYFIKACJI], [FK-TR], F_NR, F_NR_ROZ, F_NR_ROK, ID_FAKTURY, PROMOCJA, GRZBIET, customerId_Sub, kier_notatka, 
                      kier_zatwierdzil, zam_notatka, zablokuj_prowizje, Brutto_Euro, Zaliczka_Brutto, Zaliczka_Data, Brutto_Euro_Miano, waluta_kurs_z_dnia, waluta_kurs, 
                      waluta_Przelicznik, waluta_tabela_nr, wyroznienie_procent, wyroznienie_kwota, wyroznienie, wyroznienie_exported, logo, logoID, ogl_dzial, 
                      ogl_rozdzial, idZamowienia
FROM         REKLAMA";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT TOP (20) BRUTTO, Brutto_Euro, Brutto_Euro_Miano, [CENA JEDN], CustomerID, [DATA OSTATNIEJ MODYFIKACJI], [DATA ZAMÓWIENIA], [DATA ZAPŁATY], [FAKTURA DATA SPRZEDAŻY], [FAKTURA DATA WYSTAWIENIA], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA ID KONTA], [FAKTURA NUMER], [FAKTURA RODZAJ], [FAKTURA TERMIN ZAPŁATY], [FAKTURA WYSTAWIONO], [FK-TR], F_NR, F_NR_ROK, F_NR_ROZ, GRZBIET, [ID REKLAMY], ID_FAKTURY, INFO, KOLOR, KROTNOŚĆ, MOD_TYP, NETTO, [NICK NAME], ODSTĘP, [PROCENT PROWIZJI], PROMOCJA, PROWIZJA, PVAT, RABAT, [RABAT WARTOŚĆ], [RODZAJ POTWIERDZENIA], ReklamaID, [STR NR PT], [STR NR WT], STRONA, [SYMBOL AKWIZYTORA], [SYMBOL POTWIERDZENIA], SZER, TYP, TYTUŁ, USERID, VAT, [WSKAZANIE MIEJSCA], WYS, ZAPŁACONO, [ZATWIERDZONO DO DRUKU], Zaliczka_Brutto, Zaliczka_Data, customerId_Sub, idZamowienia, kier_notatka, kier_zatwierdzil, logo, logoID, ogl_dzial, ogl_rozdzial, waluta_Przelicznik, waluta_kurs, waluta_kurs_z_dnia, waluta_tabela_nr, wyroznienie, wyroznienie_exported, wyroznienie_kwota, wyroznienie_procent, zablokuj_prowizje, zam_notatka FROM REKLAMA WHERE ([SYMBOL AKWIZYTORA] = @param1)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.NVarChar, 25, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL AKWIZYTORA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT BRUTTO, Brutto_Euro, Brutto_Euro_Miano, [CENA JEDN], CustomerID, [DATA OSTATNIEJ MODYFIKACJI], [DATA ZAMÓWIENIA], [DATA ZAPŁATY], [FAKTURA DATA SPRZEDAŻY], [FAKTURA DATA WYSTAWIENIA], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA ID KONTA], [FAKTURA NUMER], [FAKTURA RODZAJ], [FAKTURA TERMIN ZAPŁATY], [FAKTURA WYSTAWIONO], [FK-TR], F_NR, F_NR_ROK, F_NR_ROZ, GRZBIET, [ID REKLAMY], ID_FAKTURY, INFO, KOLOR, KROTNOŚĆ, MOD_TYP, NETTO, [NICK NAME], ODSTĘP, [PROCENT PROWIZJI], PROMOCJA, PROWIZJA, PVAT, RABAT, [RABAT WARTOŚĆ], [RODZAJ POTWIERDZENIA], ReklamaID, [STR NR PT], [STR NR WT], STRONA, [SYMBOL AKWIZYTORA], [SYMBOL POTWIERDZENIA], SZER, TYP, TYTUŁ, USERID, VAT, [WSKAZANIE MIEJSCA], WYS, ZAPŁACONO, [ZATWIERDZONO DO DRUKU], Zaliczka_Brutto, Zaliczka_Data, customerId_Sub, idZamowienia, kier_notatka, kier_zatwierdzil, logo, logoID, ogl_dzial, ogl_rozdzial, waluta_Przelicznik, waluta_kurs, waluta_kurs_z_dnia, waluta_tabela_nr, wyroznienie, wyroznienie_exported, wyroznienie_kwota, wyroznienie_procent, zablokuj_prowizje, zam_notatka FROM REKLAMA WHERE (CustomerID = @param1)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = "SELECT     R.ReklamaID, R.CustomerID, R.[SYMBOL AKWIZYTORA], R.TYTUŁ, R.TYP, R.[I" +
                "D REKLAMY], R.[NICK NAME], R.[DATA ZAMÓWIENIA], R.SZER, R.WYS, \r\n               " +
                "       R.MOD_TYP, R.STRONA, R.[STR NR WT], R.[STR NR PT], R.KROTNOŚĆ, R.ODSTĘP, " +
                "R.KOLOR, R.[WSKAZANIE MIEJSCA], R.RABAT, \r\n                      R.[RABAT WARTOŚ" +
                "Ć], R.ZAPŁACONO, R.[ZATWIERDZONO DO DRUKU], R.[DATA ZAPŁATY], R.[SYMBOL POTWIERD" +
                "ZENIA], \r\n                      R.[RODZAJ POTWIERDZENIA], R.[CENA JEDN], R.NETTO" +
                ", R.VAT, R.PVAT, R.BRUTTO, R.[PROCENT PROWIZJI], R.PROWIZJA, R.INFO, \r\n         " +
                "             R.[FAKTURA NUMER], R.[FAKTURA ID KONTA], R.[FAKTURA DATA WYSTAWIENI" +
                "A], R.[FAKTURA DATA SPRZEDAŻY], R.[FAKTURA TERMIN ZAPŁATY], \r\n                  " +
                "    R.[FAKTURA FORMA PŁATNOŚCI], R.[FAKTURA WYSTAWIONO], R.[FAKTURA RODZAJ], R.U" +
                "SERID, R.[DATA OSTATNIEJ MODYFIKACJI], R.[FK-TR], \r\n                      R.F_NR" +
                ", R.F_NR_ROZ, R.F_NR_ROK, R.ID_FAKTURY, R.PROMOCJA, R.GRZBIET, R.customerId_Sub," +
                " R.kier_notatka, R.kier_zatwierdzil, \r\n                      R.zam_notatka, R.za" +
                "blokuj_prowizje, R.Brutto_Euro, R.Zaliczka_Brutto, R.Zaliczka_Data, R.Brutto_Eur" +
                "o_Miano, R.waluta_kurs_z_dnia, R.waluta_kurs, \r\n                      R.waluta_P" +
                "rzelicznik, R.waluta_tabela_nr, R.wyroznienie_procent, R.wyroznienie_kwota, R.wy" +
                "roznienie, R.wyroznienie_exported, R.logo, R.logoID, \r\n                      R.o" +
                "gl_dzial, R.ogl_rozdzial, R.idZamowienia, E.Data1Emisji\r\nFROM         REKLAMA AS" +
                " R LEFT OUTER JOIN\r\n                          (SELECT     ReklamaId, MIN(DataEmi" +
                "sji) AS Data1Emisji\r\n                            FROM          EmisjeReklamy\r\n  " +
                "                          GROUP BY ReklamaId) AS E ON E.ReklamaId = R.ReklamaID\r" +
                "\nWHERE     (R.CustomerID = @param1) AND (R.idZamowienia IS NULL) AND (R.[FAKTURA" +
                " WYSTAWIONO] = 0) AND (YEAR(R.[DATA ZAMÓWIENIA]) = 2008) AND \r\n                 " +
                "     (R.[ZATWIERDZONO DO DRUKU] = 1) OR\r\n                      (R.CustomerID = @" +
                "param1) AND (R.idZamowienia IS NULL) AND (R.[FAKTURA WYSTAWIONO] = 0) AND (YEAR(" +
                "R.[DATA ZAMÓWIENIA]) >= 2009)";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[4].Connection = this.Connection;
            this._commandCollection[4].CommandText = @"SELECT BRUTTO, Brutto_Euro, Brutto_Euro_Miano, [CENA JEDN], CustomerID, [DATA OSTATNIEJ MODYFIKACJI], [DATA ZAMÓWIENIA], [DATA ZAPŁATY], [FAKTURA DATA SPRZEDAŻY], [FAKTURA DATA WYSTAWIENIA], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA ID KONTA], [FAKTURA NUMER], [FAKTURA RODZAJ], [FAKTURA TERMIN ZAPŁATY], [FAKTURA WYSTAWIONO], [FK-TR], F_NR, F_NR_ROK, F_NR_ROZ, GRZBIET, [ID REKLAMY], ID_FAKTURY, INFO, KOLOR, KROTNOŚĆ, MOD_TYP, NETTO, [NICK NAME], ODSTĘP, [PROCENT PROWIZJI], PROMOCJA, PROWIZJA, PVAT, RABAT, [RABAT WARTOŚĆ], [RODZAJ POTWIERDZENIA], ReklamaID, [STR NR PT], [STR NR WT], STRONA, [SYMBOL AKWIZYTORA], [SYMBOL POTWIERDZENIA], SZER, TYP, TYTUŁ, USERID, VAT, [WSKAZANIE MIEJSCA], WYS, ZAPŁACONO, [ZATWIERDZONO DO DRUKU], Zaliczka_Brutto, Zaliczka_Data, customerId_Sub, idZamowienia, kier_notatka, kier_zatwierdzil, logo, logoID, ogl_dzial, ogl_rozdzial, waluta_Przelicznik, waluta_kurs, waluta_kurs_z_dnia, waluta_tabela_nr, wyroznienie, wyroznienie_exported, wyroznienie_kwota, wyroznienie_procent, zablokuj_prowizje, zam_notatka FROM REKLAMA WHERE (ID_FAKTURY = @param)";
            this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[5].Connection = this.Connection;
            this._commandCollection[5].CommandText = @"SELECT        ReklamaID, CustomerID, [SYMBOL AKWIZYTORA], TYTUŁ, TYP, [ID REKLAMY], [NICK NAME], [DATA ZAMÓWIENIA], SZER, WYS, MOD_TYP, STRONA, 
                         [STR NR WT], [STR NR PT], KROTNOŚĆ, ODSTĘP, KOLOR, [WSKAZANIE MIEJSCA], RABAT, [RABAT WARTOŚĆ], ZAPŁACONO, [ZATWIERDZONO DO DRUKU], 
                         [DATA ZAPŁATY], [SYMBOL POTWIERDZENIA], [RODZAJ POTWIERDZENIA], [CENA JEDN], NETTO, VAT, PVAT, BRUTTO, [PROCENT PROWIZJI], PROWIZJA, 
                         INFO, [FAKTURA NUMER], [FAKTURA ID KONTA], [FAKTURA DATA WYSTAWIENIA], [FAKTURA DATA SPRZEDAŻY], [FAKTURA TERMIN ZAPŁATY], 
                         [FAKTURA FORMA PŁATNOŚCI], [FAKTURA WYSTAWIONO], [FAKTURA RODZAJ], USERID, [DATA OSTATNIEJ MODYFIKACJI], [FK-TR], F_NR, F_NR_ROZ, 
                         F_NR_ROK, ID_FAKTURY, PROMOCJA, GRZBIET, customerId_Sub, kier_notatka, kier_zatwierdzil, zam_notatka, zablokuj_prowizje, Brutto_Euro, 
                         Zaliczka_Brutto, Zaliczka_Data, Brutto_Euro_Miano, waluta_kurs_z_dnia, waluta_kurs, waluta_Przelicznik, waluta_tabela_nr, wyroznienie_procent, 
                         wyroznienie_kwota, wyroznienie, wyroznienie_exported, logo, logoID, ogl_dzial, ogl_rozdzial, idZamowienia
FROM            REKLAMA
WHERE        (idZamowienia = @idZamowienia)";
            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[6].Connection = this.Connection;
            this._commandCollection[6].CommandText = @"SELECT     BRUTTO, Brutto_Euro, Brutto_Euro_Miano, [CENA JEDN], CustomerID, [DATA OSTATNIEJ MODYFIKACJI], [DATA ZAMÓWIENIA], [DATA ZAPŁATY], 
                      [FAKTURA DATA SPRZEDAŻY], [FAKTURA DATA WYSTAWIENIA], [FAKTURA FORMA PŁATNOŚCI], [FAKTURA ID KONTA], [FAKTURA NUMER], 
                      [FAKTURA RODZAJ], [FAKTURA TERMIN ZAPŁATY], [FAKTURA WYSTAWIONO], [FK-TR], F_NR, F_NR_ROK, F_NR_ROZ, GRZBIET, [ID REKLAMY], 
                      ID_FAKTURY, INFO, KOLOR, KROTNOŚĆ, MOD_TYP, NETTO, [NICK NAME], ODSTĘP, [PROCENT PROWIZJI], PROMOCJA, PROWIZJA, PVAT, RABAT, 
                      [RABAT WARTOŚĆ], [RODZAJ POTWIERDZENIA], ReklamaID, [STR NR PT], [STR NR WT], STRONA, [SYMBOL AKWIZYTORA], 
                      [SYMBOL POTWIERDZENIA], SZER, TYP, TYTUŁ, USERID, VAT, [WSKAZANIE MIEJSCA], WYS, ZAPŁACONO, [ZATWIERDZONO DO DRUKU], 
                      Zaliczka_Brutto, Zaliczka_Data, customerId_Sub, idZamowienia, kier_notatka, kier_zatwierdzil, logo, logoID, ogl_dzial, ogl_rozdzial, 
                      waluta_Przelicznik, waluta_kurs, waluta_kurs_z_dnia, waluta_tabela_nr, wyroznienie, wyroznienie_exported, wyroznienie_kwota, 
                      wyroznienie_procent, zablokuj_prowizje, zam_notatka
FROM         REKLAMA
WHERE     (ReklamaID = @param1)";
            this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.REKLAMADataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.REKLAMADataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByAgent(REKLAMADataSet.REKLAMADataTable dataTable, string param1) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param1 == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param1));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMADataTable GetDataByAgent(string param1) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param1 == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param1));
            }
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.REKLAMADataTable dataTable, global::System.Nullable<int> param1) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((param1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMADataTable GetDataByCustomerId(global::System.Nullable<int> param1) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((param1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerIdandIdZamowienia(REKLAMADataSet.REKLAMADataTable dataTable, global::System.Nullable<int> param1) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((param1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMADataTable GetDataByCustomerIdandIdZamowienia(global::System.Nullable<int> param1) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((param1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.REKLAMADataTable dataTable, global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMADataTable GetDataByIdFaktury(global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdZamowienia(REKLAMADataSet.REKLAMADataTable dataTable, global::System.Nullable<int> idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMADataTable GetDataByIdZamowienia(global::System.Nullable<int> idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByReklamaId(REKLAMADataSet.REKLAMADataTable dataTable, int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[6];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMADataTable GetDataByReklamaId(int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[6];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            REKLAMADataSet.REKLAMADataTable dataTable = new REKLAMADataSet.REKLAMADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.REKLAMADataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "REKLAMA");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_ReklamaID) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ReklamaID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    global::System.Nullable<int> CustomerID, 
                    string SYMBOL_AKWIZYTORA, 
                    string TYTUŁ, 
                    string TYP, 
                    string ID_REKLAMY, 
                    string NICK_NAME, 
                    global::System.Nullable<global::System.DateTime> DATA_ZAMÓWIENIA, 
                    global::System.Nullable<double> SZER, 
                    global::System.Nullable<double> WYS, 
                    string MOD_TYP, 
                    string STRONA, 
                    global::System.Nullable<short> STR_NR_WT, 
                    global::System.Nullable<short> STR_NR_PT, 
                    global::System.Nullable<short> KROTNOŚĆ, 
                    global::System.Nullable<byte> ODSTĘP, 
                    string KOLOR, 
                    global::System.Nullable<bool> WSKAZANIE_MIEJSCA, 
                    global::System.Nullable<double> RABAT, 
                    global::System.Nullable<double> RABAT_WARTOŚĆ, 
                    global::System.Nullable<bool> ZAPŁACONO, 
                    global::System.Nullable<bool> ZATWIERDZONO_DO_DRUKU, 
                    global::System.Nullable<global::System.DateTime> DATA_ZAPŁATY, 
                    string SYMBOL_POTWIERDZENIA, 
                    string RODZAJ_POTWIERDZENIA, 
                    global::System.Nullable<double> CENA_JEDN, 
                    global::System.Nullable<double> NETTO, 
                    global::System.Nullable<double> VAT, 
                    global::System.Nullable<double> PVAT, 
                    global::System.Nullable<double> BRUTTO, 
                    global::System.Nullable<double> PROCENT_PROWIZJI, 
                    global::System.Nullable<double> PROWIZJA, 
                    string INFO, 
                    string FAKTURA_NUMER, 
                    global::System.Nullable<int> FAKTURA_ID_KONTA, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_DATA_WYSTAWIENIA, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_DATA_SPRZEDAŻY, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_TERMIN_ZAPŁATY, 
                    global::System.Nullable<byte> FAKTURA_FORMA_PŁATNOŚCI, 
                    global::System.Nullable<bool> FAKTURA_WYSTAWIONO, 
                    string FAKTURA_RODZAJ, 
                    string USERID, 
                    global::System.Nullable<global::System.DateTime> DATA_OSTATNIEJ_MODYFIKACJI, 
                    string p1, 
                    global::System.Nullable<int> F_NR, 
                    string F_NR_ROZ, 
                    global::System.Nullable<int> F_NR_ROK, 
                    global::System.Nullable<int> ID_FAKTURY, 
                    global::System.Nullable<int> PROMOCJA, 
                    global::System.Nullable<int> GRZBIET, 
                    global::System.Nullable<int> customerId_Sub, 
                    string kier_notatka, 
                    global::System.Nullable<bool> kier_zatwierdzil, 
                    string zam_notatka, 
                    bool zablokuj_prowizje, 
                    global::System.Nullable<double> Brutto_Euro, 
                    global::System.Nullable<decimal> Zaliczka_Brutto, 
                    global::System.Nullable<global::System.DateTime> Zaliczka_Data, 
                    string Brutto_Euro_Miano, 
                    global::System.Nullable<global::System.DateTime> waluta_kurs_z_dnia, 
                    global::System.Nullable<double> waluta_kurs, 
                    global::System.Nullable<int> waluta_Przelicznik, 
                    string waluta_tabela_nr, 
                    global::System.Nullable<double> wyroznienie_procent, 
                    global::System.Nullable<double> wyroznienie_kwota, 
                    bool wyroznienie, 
                    bool wyroznienie_exported, 
                    bool logo, 
                    global::System.Nullable<int> logoID, 
                    global::System.Nullable<int> ogl_dzial, 
                    global::System.Nullable<int> ogl_rozdzial, 
                    global::System.Nullable<int> idZamowienia) {
            if ((CustomerID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((int)(CustomerID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((SYMBOL_AKWIZYTORA == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(SYMBOL_AKWIZYTORA));
            }
            if ((TYTUŁ == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(TYTUŁ));
            }
            if ((TYP == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(TYP));
            }
            if ((ID_REKLAMY == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ID_REKLAMY));
            }
            if ((NICK_NAME == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(NICK_NAME));
            }
            if ((DATA_ZAMÓWIENIA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(DATA_ZAMÓWIENIA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((SZER.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((double)(SZER.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((WYS.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[8].Value = ((double)(WYS.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((MOD_TYP == null)) {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = ((string)(MOD_TYP));
            }
            if ((STRONA == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(STRONA));
            }
            if ((STR_NR_WT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[11].Value = ((short)(STR_NR_WT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((STR_NR_PT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[12].Value = ((short)(STR_NR_PT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((KROTNOŚĆ.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((short)(KROTNOŚĆ.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((ODSTĘP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[14].Value = ((byte)(ODSTĘP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((KOLOR == null)) {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = ((string)(KOLOR));
            }
            if ((WSKAZANIE_MIEJSCA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[16].Value = ((bool)(WSKAZANIE_MIEJSCA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((RABAT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[17].Value = ((double)(RABAT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            if ((RABAT_WARTOŚĆ.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[18].Value = ((double)(RABAT_WARTOŚĆ.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((ZAPŁACONO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(ZAPŁACONO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            if ((ZATWIERDZONO_DO_DRUKU.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[20].Value = ((bool)(ZATWIERDZONO_DO_DRUKU.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            if ((DATA_ZAPŁATY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[21].Value = ((System.DateTime)(DATA_ZAPŁATY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            if ((SYMBOL_POTWIERDZENIA == null)) {
                this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = ((string)(SYMBOL_POTWIERDZENIA));
            }
            if ((RODZAJ_POTWIERDZENIA == null)) {
                this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = ((string)(RODZAJ_POTWIERDZENIA));
            }
            if ((CENA_JEDN.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[24].Value = ((double)(CENA_JEDN.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((NETTO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[25].Value = ((double)(NETTO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            if ((VAT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[26].Value = ((double)(VAT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((PVAT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[27].Value = ((double)(PVAT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((BRUTTO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[28].Value = ((double)(BRUTTO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((PROCENT_PROWIZJI.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[29].Value = ((double)(PROCENT_PROWIZJI.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            if ((PROWIZJA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[30].Value = ((double)(PROWIZJA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            if ((INFO == null)) {
                this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[31].Value = ((string)(INFO));
            }
            if ((FAKTURA_NUMER == null)) {
                this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[32].Value = ((string)(FAKTURA_NUMER));
            }
            if ((FAKTURA_ID_KONTA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[33].Value = ((int)(FAKTURA_ID_KONTA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_DATA_WYSTAWIENIA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[34].Value = ((System.DateTime)(FAKTURA_DATA_WYSTAWIENIA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_DATA_SPRZEDAŻY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[35].Value = ((System.DateTime)(FAKTURA_DATA_SPRZEDAŻY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_TERMIN_ZAPŁATY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[36].Value = ((System.DateTime)(FAKTURA_TERMIN_ZAPŁATY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_FORMA_PŁATNOŚCI.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[37].Value = ((byte)(FAKTURA_FORMA_PŁATNOŚCI.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_WYSTAWIONO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[38].Value = ((bool)(FAKTURA_WYSTAWIONO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_RODZAJ == null)) {
                this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[39].Value = ((string)(FAKTURA_RODZAJ));
            }
            if ((USERID == null)) {
                this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[40].Value = ((string)(USERID));
            }
            if ((DATA_OSTATNIEJ_MODYFIKACJI.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[41].Value = ((System.DateTime)(DATA_OSTATNIEJ_MODYFIKACJI.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value;
            }
            if ((p1 == null)) {
                this.Adapter.InsertCommand.Parameters[42].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[42].Value = ((string)(p1));
            }
            if ((F_NR.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[43].Value = ((int)(F_NR.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[43].Value = global::System.DBNull.Value;
            }
            if ((F_NR_ROZ == null)) {
                this.Adapter.InsertCommand.Parameters[44].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[44].Value = ((string)(F_NR_ROZ));
            }
            if ((F_NR_ROK.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[45].Value = ((int)(F_NR_ROK.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[45].Value = global::System.DBNull.Value;
            }
            if ((ID_FAKTURY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[46].Value = ((int)(ID_FAKTURY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[46].Value = global::System.DBNull.Value;
            }
            if ((PROMOCJA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[47].Value = ((int)(PROMOCJA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[47].Value = global::System.DBNull.Value;
            }
            if ((GRZBIET.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[48].Value = ((int)(GRZBIET.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[48].Value = global::System.DBNull.Value;
            }
            if ((customerId_Sub.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[49].Value = ((int)(customerId_Sub.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[49].Value = global::System.DBNull.Value;
            }
            if ((kier_notatka == null)) {
                this.Adapter.InsertCommand.Parameters[50].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[50].Value = ((string)(kier_notatka));
            }
            if ((kier_zatwierdzil.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[51].Value = ((bool)(kier_zatwierdzil.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[51].Value = global::System.DBNull.Value;
            }
            if ((zam_notatka == null)) {
                this.Adapter.InsertCommand.Parameters[52].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[52].Value = ((string)(zam_notatka));
            }
            this.Adapter.InsertCommand.Parameters[53].Value = ((bool)(zablokuj_prowizje));
            if ((Brutto_Euro.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[54].Value = ((double)(Brutto_Euro.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[54].Value = global::System.DBNull.Value;
            }
            if ((Zaliczka_Brutto.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[55].Value = ((decimal)(Zaliczka_Brutto.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[55].Value = global::System.DBNull.Value;
            }
            if ((Zaliczka_Data.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[56].Value = ((System.DateTime)(Zaliczka_Data.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[56].Value = global::System.DBNull.Value;
            }
            if ((Brutto_Euro_Miano == null)) {
                this.Adapter.InsertCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[57].Value = ((string)(Brutto_Euro_Miano));
            }
            if ((waluta_kurs_z_dnia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[58].Value = ((System.DateTime)(waluta_kurs_z_dnia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[58].Value = global::System.DBNull.Value;
            }
            if ((waluta_kurs.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[59].Value = ((double)(waluta_kurs.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[59].Value = global::System.DBNull.Value;
            }
            if ((waluta_Przelicznik.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[60].Value = ((int)(waluta_Przelicznik.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[60].Value = global::System.DBNull.Value;
            }
            if ((waluta_tabela_nr == null)) {
                this.Adapter.InsertCommand.Parameters[61].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[61].Value = ((string)(waluta_tabela_nr));
            }
            if ((wyroznienie_procent.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[62].Value = ((double)(wyroznienie_procent.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[62].Value = global::System.DBNull.Value;
            }
            if ((wyroznienie_kwota.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[63].Value = ((double)(wyroznienie_kwota.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[63].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[64].Value = ((bool)(wyroznienie));
            this.Adapter.InsertCommand.Parameters[65].Value = ((bool)(wyroznienie_exported));
            this.Adapter.InsertCommand.Parameters[66].Value = ((bool)(logo));
            if ((logoID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[67].Value = ((int)(logoID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[67].Value = global::System.DBNull.Value;
            }
            if ((ogl_dzial.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[68].Value = ((int)(ogl_dzial.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[68].Value = global::System.DBNull.Value;
            }
            if ((ogl_rozdzial.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[69].Value = ((int)(ogl_rozdzial.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[69].Value = global::System.DBNull.Value;
            }
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[70].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[70].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> CustomerID, 
                    string SYMBOL_AKWIZYTORA, 
                    string TYTUŁ, 
                    string TYP, 
                    string ID_REKLAMY, 
                    string NICK_NAME, 
                    global::System.Nullable<global::System.DateTime> DATA_ZAMÓWIENIA, 
                    global::System.Nullable<double> SZER, 
                    global::System.Nullable<double> WYS, 
                    string MOD_TYP, 
                    string STRONA, 
                    global::System.Nullable<short> STR_NR_WT, 
                    global::System.Nullable<short> STR_NR_PT, 
                    global::System.Nullable<short> KROTNOŚĆ, 
                    global::System.Nullable<byte> ODSTĘP, 
                    string KOLOR, 
                    global::System.Nullable<bool> WSKAZANIE_MIEJSCA, 
                    global::System.Nullable<double> RABAT, 
                    global::System.Nullable<double> RABAT_WARTOŚĆ, 
                    global::System.Nullable<bool> ZAPŁACONO, 
                    global::System.Nullable<bool> ZATWIERDZONO_DO_DRUKU, 
                    global::System.Nullable<global::System.DateTime> DATA_ZAPŁATY, 
                    string SYMBOL_POTWIERDZENIA, 
                    string RODZAJ_POTWIERDZENIA, 
                    global::System.Nullable<double> CENA_JEDN, 
                    global::System.Nullable<double> NETTO, 
                    global::System.Nullable<double> VAT, 
                    global::System.Nullable<double> PVAT, 
                    global::System.Nullable<double> BRUTTO, 
                    global::System.Nullable<double> PROCENT_PROWIZJI, 
                    global::System.Nullable<double> PROWIZJA, 
                    string INFO, 
                    string FAKTURA_NUMER, 
                    global::System.Nullable<int> FAKTURA_ID_KONTA, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_DATA_WYSTAWIENIA, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_DATA_SPRZEDAŻY, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_TERMIN_ZAPŁATY, 
                    global::System.Nullable<byte> FAKTURA_FORMA_PŁATNOŚCI, 
                    global::System.Nullable<bool> FAKTURA_WYSTAWIONO, 
                    string FAKTURA_RODZAJ, 
                    string USERID, 
                    global::System.Nullable<global::System.DateTime> DATA_OSTATNIEJ_MODYFIKACJI, 
                    string p1, 
                    global::System.Nullable<int> F_NR, 
                    string F_NR_ROZ, 
                    global::System.Nullable<int> F_NR_ROK, 
                    global::System.Nullable<int> ID_FAKTURY, 
                    global::System.Nullable<int> PROMOCJA, 
                    global::System.Nullable<int> GRZBIET, 
                    global::System.Nullable<int> customerId_Sub, 
                    string kier_notatka, 
                    global::System.Nullable<bool> kier_zatwierdzil, 
                    string zam_notatka, 
                    bool zablokuj_prowizje, 
                    global::System.Nullable<double> Brutto_Euro, 
                    global::System.Nullable<decimal> Zaliczka_Brutto, 
                    global::System.Nullable<global::System.DateTime> Zaliczka_Data, 
                    string Brutto_Euro_Miano, 
                    global::System.Nullable<global::System.DateTime> waluta_kurs_z_dnia, 
                    global::System.Nullable<double> waluta_kurs, 
                    global::System.Nullable<int> waluta_Przelicznik, 
                    string waluta_tabela_nr, 
                    global::System.Nullable<double> wyroznienie_procent, 
                    global::System.Nullable<double> wyroznienie_kwota, 
                    bool wyroznienie, 
                    bool wyroznienie_exported, 
                    bool logo, 
                    global::System.Nullable<int> logoID, 
                    global::System.Nullable<int> ogl_dzial, 
                    global::System.Nullable<int> ogl_rozdzial, 
                    global::System.Nullable<int> idZamowienia, 
                    int Original_ReklamaID, 
                    int ReklamaID) {
            if ((CustomerID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(CustomerID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((SYMBOL_AKWIZYTORA == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(SYMBOL_AKWIZYTORA));
            }
            if ((TYTUŁ == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(TYTUŁ));
            }
            if ((TYP == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(TYP));
            }
            if ((ID_REKLAMY == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ID_REKLAMY));
            }
            if ((NICK_NAME == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(NICK_NAME));
            }
            if ((DATA_ZAMÓWIENIA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(DATA_ZAMÓWIENIA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((SZER.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(SZER.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((WYS.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(WYS.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((MOD_TYP == null)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(MOD_TYP));
            }
            if ((STRONA == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(STRONA));
            }
            if ((STR_NR_WT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((short)(STR_NR_WT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((STR_NR_PT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((short)(STR_NR_PT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((KROTNOŚĆ.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((short)(KROTNOŚĆ.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((ODSTĘP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((byte)(ODSTĘP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((KOLOR == null)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(KOLOR));
            }
            if ((WSKAZANIE_MIEJSCA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(WSKAZANIE_MIEJSCA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((RABAT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(RABAT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            if ((RABAT_WARTOŚĆ.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(RABAT_WARTOŚĆ.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((ZAPŁACONO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(ZAPŁACONO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            if ((ZATWIERDZONO_DO_DRUKU.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((bool)(ZATWIERDZONO_DO_DRUKU.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            if ((DATA_ZAPŁATY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(DATA_ZAPŁATY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            if ((SYMBOL_POTWIERDZENIA == null)) {
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(SYMBOL_POTWIERDZENIA));
            }
            if ((RODZAJ_POTWIERDZENIA == null)) {
                this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(RODZAJ_POTWIERDZENIA));
            }
            if ((CENA_JEDN.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((double)(CENA_JEDN.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((NETTO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(NETTO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            if ((VAT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((double)(VAT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((PVAT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((double)(PVAT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((BRUTTO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((double)(BRUTTO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((PROCENT_PROWIZJI.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((double)(PROCENT_PROWIZJI.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            if ((PROWIZJA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((double)(PROWIZJA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            if ((INFO == null)) {
                this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(INFO));
            }
            if ((FAKTURA_NUMER == null)) {
                this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(FAKTURA_NUMER));
            }
            if ((FAKTURA_ID_KONTA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(FAKTURA_ID_KONTA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_DATA_WYSTAWIENIA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(FAKTURA_DATA_WYSTAWIENIA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_DATA_SPRZEDAŻY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[35].Value = ((System.DateTime)(FAKTURA_DATA_SPRZEDAŻY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_TERMIN_ZAPŁATY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(FAKTURA_TERMIN_ZAPŁATY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_FORMA_PŁATNOŚCI.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((byte)(FAKTURA_FORMA_PŁATNOŚCI.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_WYSTAWIONO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[38].Value = ((bool)(FAKTURA_WYSTAWIONO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_RODZAJ == null)) {
                this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(FAKTURA_RODZAJ));
            }
            if ((USERID == null)) {
                this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(USERID));
            }
            if ((DATA_OSTATNIEJ_MODYFIKACJI.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(DATA_OSTATNIEJ_MODYFIKACJI.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
            }
            if ((p1 == null)) {
                this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(p1));
            }
            if ((F_NR.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(F_NR.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
            }
            if ((F_NR_ROZ == null)) {
                this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(F_NR_ROZ));
            }
            if ((F_NR_ROK.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[45].Value = ((int)(F_NR_ROK.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
            }
            if ((ID_FAKTURY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[46].Value = ((int)(ID_FAKTURY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
            }
            if ((PROMOCJA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[47].Value = ((int)(PROMOCJA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
            }
            if ((GRZBIET.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[48].Value = ((int)(GRZBIET.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
            }
            if ((customerId_Sub.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[49].Value = ((int)(customerId_Sub.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
            }
            if ((kier_notatka == null)) {
                this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(kier_notatka));
            }
            if ((kier_zatwierdzil.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[51].Value = ((bool)(kier_zatwierdzil.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
            }
            if ((zam_notatka == null)) {
                this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(zam_notatka));
            }
            this.Adapter.UpdateCommand.Parameters[53].Value = ((bool)(zablokuj_prowizje));
            if ((Brutto_Euro.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[54].Value = ((double)(Brutto_Euro.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
            }
            if ((Zaliczka_Brutto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[55].Value = ((decimal)(Zaliczka_Brutto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
            }
            if ((Zaliczka_Data.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[56].Value = ((System.DateTime)(Zaliczka_Data.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
            }
            if ((Brutto_Euro_Miano == null)) {
                this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Brutto_Euro_Miano));
            }
            if ((waluta_kurs_z_dnia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[58].Value = ((System.DateTime)(waluta_kurs_z_dnia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
            }
            if ((waluta_kurs.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[59].Value = ((double)(waluta_kurs.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
            }
            if ((waluta_Przelicznik.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(waluta_Przelicznik.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
            }
            if ((waluta_tabela_nr == null)) {
                this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(waluta_tabela_nr));
            }
            if ((wyroznienie_procent.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[62].Value = ((double)(wyroznienie_procent.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
            }
            if ((wyroznienie_kwota.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[63].Value = ((double)(wyroznienie_kwota.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[64].Value = ((bool)(wyroznienie));
            this.Adapter.UpdateCommand.Parameters[65].Value = ((bool)(wyroznienie_exported));
            this.Adapter.UpdateCommand.Parameters[66].Value = ((bool)(logo));
            if ((logoID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(logoID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
            }
            if ((ogl_dzial.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(ogl_dzial.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
            }
            if ((ogl_rozdzial.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[69].Value = ((int)(ogl_rozdzial.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
            }
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[70].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(Original_ReklamaID));
            this.Adapter.UpdateCommand.Parameters[72].Value = ((int)(ReklamaID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> CustomerID, 
                    string SYMBOL_AKWIZYTORA, 
                    string TYTUŁ, 
                    string TYP, 
                    string ID_REKLAMY, 
                    string NICK_NAME, 
                    global::System.Nullable<global::System.DateTime> DATA_ZAMÓWIENIA, 
                    global::System.Nullable<double> SZER, 
                    global::System.Nullable<double> WYS, 
                    string MOD_TYP, 
                    string STRONA, 
                    global::System.Nullable<short> STR_NR_WT, 
                    global::System.Nullable<short> STR_NR_PT, 
                    global::System.Nullable<short> KROTNOŚĆ, 
                    global::System.Nullable<byte> ODSTĘP, 
                    string KOLOR, 
                    global::System.Nullable<bool> WSKAZANIE_MIEJSCA, 
                    global::System.Nullable<double> RABAT, 
                    global::System.Nullable<double> RABAT_WARTOŚĆ, 
                    global::System.Nullable<bool> ZAPŁACONO, 
                    global::System.Nullable<bool> ZATWIERDZONO_DO_DRUKU, 
                    global::System.Nullable<global::System.DateTime> DATA_ZAPŁATY, 
                    string SYMBOL_POTWIERDZENIA, 
                    string RODZAJ_POTWIERDZENIA, 
                    global::System.Nullable<double> CENA_JEDN, 
                    global::System.Nullable<double> NETTO, 
                    global::System.Nullable<double> VAT, 
                    global::System.Nullable<double> PVAT, 
                    global::System.Nullable<double> BRUTTO, 
                    global::System.Nullable<double> PROCENT_PROWIZJI, 
                    global::System.Nullable<double> PROWIZJA, 
                    string INFO, 
                    string FAKTURA_NUMER, 
                    global::System.Nullable<int> FAKTURA_ID_KONTA, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_DATA_WYSTAWIENIA, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_DATA_SPRZEDAŻY, 
                    global::System.Nullable<global::System.DateTime> FAKTURA_TERMIN_ZAPŁATY, 
                    global::System.Nullable<byte> FAKTURA_FORMA_PŁATNOŚCI, 
                    global::System.Nullable<bool> FAKTURA_WYSTAWIONO, 
                    string FAKTURA_RODZAJ, 
                    string USERID, 
                    global::System.Nullable<global::System.DateTime> DATA_OSTATNIEJ_MODYFIKACJI, 
                    string p1, 
                    global::System.Nullable<int> F_NR, 
                    string F_NR_ROZ, 
                    global::System.Nullable<int> F_NR_ROK, 
                    global::System.Nullable<int> ID_FAKTURY, 
                    global::System.Nullable<int> PROMOCJA, 
                    global::System.Nullable<int> GRZBIET, 
                    global::System.Nullable<int> customerId_Sub, 
                    string kier_notatka, 
                    global::System.Nullable<bool> kier_zatwierdzil, 
                    string zam_notatka, 
                    bool zablokuj_prowizje, 
                    global::System.Nullable<double> Brutto_Euro, 
                    global::System.Nullable<decimal> Zaliczka_Brutto, 
                    global::System.Nullable<global::System.DateTime> Zaliczka_Data, 
                    string Brutto_Euro_Miano, 
                    global::System.Nullable<global::System.DateTime> waluta_kurs_z_dnia, 
                    global::System.Nullable<double> waluta_kurs, 
                    global::System.Nullable<int> waluta_Przelicznik, 
                    string waluta_tabela_nr, 
                    global::System.Nullable<double> wyroznienie_procent, 
                    global::System.Nullable<double> wyroznienie_kwota, 
                    bool wyroznienie, 
                    bool wyroznienie_exported, 
                    bool logo, 
                    global::System.Nullable<int> logoID, 
                    global::System.Nullable<int> ogl_dzial, 
                    global::System.Nullable<int> ogl_rozdzial, 
                    global::System.Nullable<int> idZamowienia, 
                    int Original_ReklamaID) {
            return this.Update(CustomerID, SYMBOL_AKWIZYTORA, TYTUŁ, TYP, ID_REKLAMY, NICK_NAME, DATA_ZAMÓWIENIA, SZER, WYS, MOD_TYP, STRONA, STR_NR_WT, STR_NR_PT, KROTNOŚĆ, ODSTĘP, KOLOR, WSKAZANIE_MIEJSCA, RABAT, RABAT_WARTOŚĆ, ZAPŁACONO, ZATWIERDZONO_DO_DRUKU, DATA_ZAPŁATY, SYMBOL_POTWIERDZENIA, RODZAJ_POTWIERDZENIA, CENA_JEDN, NETTO, VAT, PVAT, BRUTTO, PROCENT_PROWIZJI, PROWIZJA, INFO, FAKTURA_NUMER, FAKTURA_ID_KONTA, FAKTURA_DATA_WYSTAWIENIA, FAKTURA_DATA_SPRZEDAŻY, FAKTURA_TERMIN_ZAPŁATY, FAKTURA_FORMA_PŁATNOŚCI, FAKTURA_WYSTAWIONO, FAKTURA_RODZAJ, USERID, DATA_OSTATNIEJ_MODYFIKACJI, p1, F_NR, F_NR_ROZ, F_NR_ROK, ID_FAKTURY, PROMOCJA, GRZBIET, customerId_Sub, kier_notatka, kier_zatwierdzil, zam_notatka, zablokuj_prowizje, Brutto_Euro, Zaliczka_Brutto, Zaliczka_Data, Brutto_Euro_Miano, waluta_kurs_z_dnia, waluta_kurs, waluta_Przelicznik, waluta_tabela_nr, wyroznienie_procent, wyroznienie_kwota, wyroznienie, wyroznienie_exported, logo, logoID, ogl_dzial, ogl_rozdzial, idZamowienia, Original_ReklamaID, Original_ReklamaID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class UKAZE_SIE_W_NRTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public UKAZE_SIE_W_NRTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "UKAZE_SIE_W_NR";
            tableMapping.ColumnMappings.Add("ID", "ID");
            tableMapping.ColumnMappings.Add("ReklamaId", "ReklamaId");
            tableMapping.ColumnMappings.Add("Nr Wydania", "Nr Wydania");
            tableMapping.ColumnMappings.Add("status", "status");
            tableMapping.ColumnMappings.Add("zafakturowana", "zafakturowana");
            tableMapping.ColumnMappings.Add("idFaktury", "idFaktury");
            tableMapping.ColumnMappings.Add("dataDodania", "dataDodania");
            tableMapping.ColumnMappings.Add("dataAnulowania", "dataAnulowania");
            tableMapping.ColumnMappings.Add("netto", "netto");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [UKAŻE SIĘ W NR] WHERE (([ID] = @Original_ID))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [UKAŻE SIĘ W NR] ([ReklamaId], [Nr Wydania], [status], [zafakturowana], [idFaktury], [dataDodania], [dataAnulowania], [netto]) VALUES (@ReklamaId, @Nr_Wydania, @status, @zafakturowana, @idFaktury, @dataDodania, @dataAnulowania, @netto);
SELECT ID, ReklamaId, [Nr Wydania], status, zafakturowana, idFaktury, dataDodania, dataAnulowania, netto FROM [UKAŻE SIĘ W NR] WHERE (ID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nr_Wydania", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowana", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowana", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataDodania", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataDodania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataAnulowania", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataAnulowania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@netto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [UKAŻE SIĘ W NR] SET [ReklamaId] = @ReklamaId, [Nr Wydania] = @Nr_Wydania, [status] = @status, [zafakturowana] = @zafakturowana, [idFaktury] = @idFaktury, [dataDodania] = @dataDodania, [dataAnulowania] = @dataAnulowania, [netto] = @netto WHERE (([ID] = @Original_ID));
SELECT ID, ReklamaId, [Nr Wydania], status, zafakturowana, idFaktury, dataDodania, dataAnulowania, netto FROM [UKAŻE SIĘ W NR] WHERE (ID = @ID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nr_Wydania", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowana", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowana", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataDodania", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataDodania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataAnulowania", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataAnulowania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@netto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT     ID, ReklamaId, [Nr Wydania], status, zafakturowana, idFaktury, dataDod" +
                "ania, dataAnulowania, netto\r\nFROM         [UKAŻE SIĘ W NR]";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto" +
                ", status, zafakturowana FROM [UKAŻE SIĘ W NR] WHERE (idFaktury = @idFaktury)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto" +
                ", status, zafakturowana FROM [UKAŻE SIĘ W NR] WHERE (ReklamaId = @param1) AND (z" +
                "afakturowana = 0) ORDER BY [Nr Wydania]";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT EMISJE.ID, EMISJE.[Nr Wydania], EMISJE.ReklamaId, EMISJE.dataAnulowania, EMISJE.dataDodania, EMISJE.idFaktury, EMISJE.netto, EMISJE.status, EMISJE.zafakturowana FROM [UKAŻE SIĘ W NR] AS EMISJE LEFT OUTER JOIN REKLAMA AS R ON R.ReklamaID = EMISJE.ReklamaId LEFT OUTER JOIN NR AS nr ON EMISJE.[Nr Wydania] = nr.NRW AND nr.TYT = R.tytuł WHERE (R.ReklamaID = @rekId) AND (EMISJE.zafakturowana = 0) AND (MONTH(nr.DATA_W) = MONTH(@data)) AND (YEAR(nr.DATA_W) = YEAR(@data))";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rekId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[4].Connection = this.Connection;
            this._commandCollection[4].CommandText = @"SELECT EMISJE.ID, EMISJE.[Nr Wydania], EMISJE.ReklamaId, EMISJE.dataAnulowania, EMISJE.dataDodania, EMISJE.idFaktury, EMISJE.netto, EMISJE.status, EMISJE.zafakturowana FROM [UKAŻE SIĘ W NR] AS EMISJE LEFT OUTER JOIN REKLAMA AS R ON R.ReklamaID = EMISJE.ReklamaId LEFT OUTER JOIN NR AS nr ON EMISJE.[Nr Wydania] = nr.NRW AND nr.TYT = R.tytuł WHERE (EMISJE.zafakturowana = 0) AND (R.ReklamaID = @rekId) AND (MONTH(nr.DATA_W) = MONTH(@data)) AND (YEAR(nr.DATA_W) = YEAR(@data)) OR (EMISJE.zafakturowana = 0) AND (R.ReklamaID = @rekId) AND (MONTH(nr.DATA_W) = MONTH(DATEADD(month, 1, @data))) AND (YEAR(nr.DATA_W) = YEAR(DATEADD(month, 1, @data))) OR (EMISJE.zafakturowana = 0) AND (R.ReklamaID = @rekId) AND (MONTH(nr.DATA_W) = MONTH(DATEADD(month, 2, @data))) AND (YEAR(nr.DATA_W) = YEAR(DATEADD(month, 2, @data)))";
            this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rekId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[5].Connection = this.Connection;
            this._commandCollection[5].CommandText = "SELECT ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto" +
                ", status, zafakturowana FROM [UKAŻE SIĘ W NR] WHERE (ReklamaId = @param1) ORDER " +
                "BY [Nr Wydania]";
            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[6].Connection = this.Connection;
            this._commandCollection[6].CommandText = "SELECT COUNT(U.id) FROM [UKAŻE SIĘ W NR] U left join\r\n\tdbo.REKLAMA R on U.reklama" +
                "Id = R.reklamaID left join\r\n\tdbo.Zamowienia Z on Z.idZamowienia = R.idZamowienia" +
                "\r\n\twhere zafakturowana=0 and Z.idZamowienia=@idZamowienia";
            this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[7].Connection = this.Connection;
            this._commandCollection[7].CommandText = "UPDATE    [UKAŻE SIĘ W NR]\r\nSET              zafakturowana = @zafakturowana, idFa" +
                "ktury = @idFaktury, netto = @netto\r\nWHERE     (ID = @Original_ID)";
            this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowana", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowana", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@netto", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[8].Connection = this.Connection;
            this._commandCollection[8].CommandText = "UPDATE    [UKAŻE SIĘ W NR]\r\nSET              idFaktury = @idFaktury, zafakturowan" +
                "a = 1\r\nWHERE     (ReklamaId = @reklamaID)";
            this._commandCollection[8].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reklamaID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.UKAZE_SIE_W_NRDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable = new REKLAMADataSet.UKAZE_SIE_W_NRDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable, global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((idFaktury.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.UKAZE_SIE_W_NRDataTable GetDataByFaktury(global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((idFaktury.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable = new REKLAMADataSet.UKAZE_SIE_W_NRDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNiezafakturowane(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable, int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.UKAZE_SIE_W_NRDataTable GetDataByNiezafakturowane(int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable = new REKLAMADataSet.UKAZE_SIE_W_NRDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNiezafakturowane1MSrekId(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable, int rekId, System.DateTime data) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(rekId));
            this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(data));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.UKAZE_SIE_W_NRDataTable GetDataByNiezafakturowane1MSrekId(int rekId, System.DateTime data) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(rekId));
            this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(data));
            REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable = new REKLAMADataSet.UKAZE_SIE_W_NRDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNiezafakturowane3MSRekID(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable, int rekId, System.DateTime data) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(rekId));
            this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(data));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.UKAZE_SIE_W_NRDataTable GetDataByNiezafakturowane3MSRekID(int rekId, System.DateTime data) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(rekId));
            this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(data));
            REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable = new REKLAMADataSet.UKAZE_SIE_W_NRDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByReklamaId(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable, int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.UKAZE_SIE_W_NRDataTable GetDataByReklamaId(int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable = new REKLAMADataSet.UKAZE_SIE_W_NRDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.UKAZE_SIE_W_NRDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "UKAZE_SIE_W_NR");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(decimal Original_ID) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((decimal)(Original_ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int ReklamaId, short Nr_Wydania, short status, bool zafakturowana, global::System.Nullable<int> idFaktury, global::System.Nullable<global::System.DateTime> dataDodania, global::System.Nullable<global::System.DateTime> dataAnulowania, global::System.Nullable<decimal> netto) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ReklamaId));
            this.Adapter.InsertCommand.Parameters[1].Value = ((short)(Nr_Wydania));
            this.Adapter.InsertCommand.Parameters[2].Value = ((short)(status));
            this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(zafakturowana));
            if ((idFaktury.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[4].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((dataDodania.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(dataDodania.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((dataAnulowania.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(dataAnulowania.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((netto.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(netto.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ReklamaId, short Nr_Wydania, short status, bool zafakturowana, global::System.Nullable<int> idFaktury, global::System.Nullable<global::System.DateTime> dataDodania, global::System.Nullable<global::System.DateTime> dataAnulowania, global::System.Nullable<decimal> netto, decimal Original_ID, decimal ID) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(ReklamaId));
            this.Adapter.UpdateCommand.Parameters[1].Value = ((short)(Nr_Wydania));
            this.Adapter.UpdateCommand.Parameters[2].Value = ((short)(status));
            this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(zafakturowana));
            if ((idFaktury.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((dataDodania.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(dataDodania.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((dataAnulowania.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(dataAnulowania.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((netto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(netto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(Original_ID));
            this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ReklamaId, short Nr_Wydania, short status, bool zafakturowana, global::System.Nullable<int> idFaktury, global::System.Nullable<global::System.DateTime> dataDodania, global::System.Nullable<global::System.DateTime> dataAnulowania, global::System.Nullable<decimal> netto, decimal Original_ID) {
            return this.Update(ReklamaId, Nr_Wydania, status, zafakturowana, idFaktury, dataDodania, dataAnulowania, netto, Original_ID, Original_ID);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual object iloscNiezafakturowanychEmisjiWZamowieniu(int idZamowienia) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
            command.Parameters[0].Value = ((int)(idZamowienia));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            object returnValue;
            try {
                returnValue = command.ExecuteScalar();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            if (((returnValue == null) 
                        || (returnValue.GetType() == typeof(global::System.DBNull)))) {
                return null;
            }
            else {
                return ((object)(returnValue));
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
        public virtual int UpdatePoUsunieciuFaktury(bool zafakturowana, global::System.Nullable<int> idFaktury, global::System.Nullable<float> netto, decimal Original_ID) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
            command.Parameters[0].Value = ((bool)(zafakturowana));
            if ((idFaktury.HasValue == true)) {
                command.Parameters[1].Value = ((int)(idFaktury.Value));
            }
            else {
                command.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((netto.HasValue == true)) {
                command.Parameters[2].Value = ((float)(netto.Value));
            }
            else {
                command.Parameters[2].Value = global::System.DBNull.Value;
            }
            command.Parameters[3].Value = ((decimal)(Original_ID));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int UpdateQueryIdFaktury(global::System.Nullable<int> idFaktury, int reklamaID) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
            if ((idFaktury.HasValue == true)) {
                command.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                command.Parameters[0].Value = global::System.DBNull.Value;
            }
            command.Parameters[1].Value = ((int)(reklamaID));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KLIENCITableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KLIENCITableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "KLIENCI";
            tableMapping.ColumnMappings.Add("LastName", "LastName");
            tableMapping.ColumnMappings.Add("OrganizationName", "OrganizationName");
            tableMapping.ColumnMappings.Add("Address", "Address");
            tableMapping.ColumnMappings.Add("City", "City");
            tableMapping.ColumnMappings.Add("PostalCode", "PostalCode");
            tableMapping.ColumnMappings.Add("Country", "Country");
            tableMapping.ColumnMappings.Add("Nip", "Nip");
            tableMapping.ColumnMappings.Add("ContactName", "ContactName");
            tableMapping.ColumnMappings.Add("State", "State");
            tableMapping.ColumnMappings.Add("PhoneNumber", "PhoneNumber");
            tableMapping.ColumnMappings.Add("FaxNumber", "FaxNumber");
            tableMapping.ColumnMappings.Add("Note", "Note");
            tableMapping.ColumnMappings.Add("data", "data");
            tableMapping.ColumnMappings.Add("Adres_Fkatura", "Adres_Fkatura");
            tableMapping.ColumnMappings.Add("Adres_Kor", "Adres_Kor");
            tableMapping.ColumnMappings.Add("Email", "Email");
            tableMapping.ColumnMappings.Add("Aktywny", "Aktywny");
            tableMapping.ColumnMappings.Add("Platnik_VAT", "Platnik_VAT");
            tableMapping.ColumnMappings.Add("UserName", "UserName");
            tableMapping.ColumnMappings.Add("http", "http");
            tableMapping.ColumnMappings.Add("regon", "regon");
            tableMapping.ColumnMappings.Add("VIES", "VIES");
            tableMapping.ColumnMappings.Add("krs", "krs");
            tableMapping.ColumnMappings.Add("Modify_User", "Modify_User");
            tableMapping.ColumnMappings.Add("Last_Modify", "Last_Modify");
            tableMapping.ColumnMappings.Add("CustomerID", "CustomerID");
            tableMapping.ColumnMappings.Add("FirstName", "FirstName");
            tableMapping.ColumnMappings.Add("nipKraj", "nipKraj");
            tableMapping.ColumnMappings.Add("kodKlienta", "kodKlienta");
            tableMapping.ColumnMappings.Add("AgentExpo", "AgentExpo");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [KLIENCI] WHERE (([CustomerID] = @Original_CustomerID))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CustomerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [KLIENCI] ([FirstName], [LastName], [OrganizationName], [Address], [City], [State], [PostalCode], [Country], [Nip], [ContactName], [PhoneNumber], [FaxNumber], [Note], [data], [Adres_Fkatura], [Adres_Kor], [Platnik_VAT], [Aktywny], [Email], [UserName], [Last_Modify], [Modify_User], [http], [VIES], [regon], [krs], [nipKraj], [kodKlienta], [AgentExpo]) VALUES (@FirstName, @LastName, @OrganizationName, @Address, @City, @State, @PostalCode, @Country, @Nip, @ContactName, @PhoneNumber, @FaxNumber, @Note, @data, @Adres_Fkatura, @Adres_Kor, @Platnik_VAT, @Aktywny, @Email, @UserName, @Last_Modify, @Modify_User, @http, @VIES, @regon, @krs, @nipKraj, @kodKlienta, @AgentExpo);
SELECT TOP 20 CustomerID, FirstName, LastName, OrganizationName, Address, City, State, PostalCode, Country, Nip, ContactName, PhoneNumber, FaxNumber, Note, data, Adres_Fkatura, Adres_Kor, Platnik_VAT, Aktywny, Email, UserName, Last_Modify, Modify_User, http, VIES, regon, krs, nipKraj, kodKlienta, AgentExpo FROM KLIENCI WHERE (CustomerID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FirstName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FirstName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrganizationName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrganizationName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Address", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Address", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@City", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "City", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@State", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "State", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PostalCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PostalCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Country", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Country", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nip", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nip", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContactName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ContactName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PhoneNumber", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PhoneNumber", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FaxNumber", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FaxNumber", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Adres_Fkatura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Adres_Fkatura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Adres_Kor", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Adres_Kor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Platnik_VAT", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Platnik_VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Aktywny", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Aktywny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Last_Modify", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Last_Modify", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Modify_User", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Modify_User", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@http", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "http", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VIES", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "VIES", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@regon", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "regon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@krs", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "krs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nipKraj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kodKlienta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodKlienta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AgentExpo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AgentExpo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [KLIENCI] SET [FirstName] = @FirstName, [LastName] = @LastName, [OrganizationName] = @OrganizationName, [Address] = @Address, [City] = @City, [State] = @State, [PostalCode] = @PostalCode, [Country] = @Country, [Nip] = @Nip, [ContactName] = @ContactName, [PhoneNumber] = @PhoneNumber, [FaxNumber] = @FaxNumber, [Note] = @Note, [data] = @data, [Adres_Fkatura] = @Adres_Fkatura, [Adres_Kor] = @Adres_Kor, [Platnik_VAT] = @Platnik_VAT, [Aktywny] = @Aktywny, [Email] = @Email, [UserName] = @UserName, [Last_Modify] = @Last_Modify, [Modify_User] = @Modify_User, [http] = @http, [VIES] = @VIES, [regon] = @regon, [krs] = @krs, [nipKraj] = @nipKraj, [kodKlienta] = @kodKlienta, [AgentExpo] = @AgentExpo WHERE (([CustomerID] = @Original_CustomerID));
SELECT TOP 20 CustomerID, FirstName, LastName, OrganizationName, Address, City, State, PostalCode, Country, Nip, ContactName, PhoneNumber, FaxNumber, Note, data, Adres_Fkatura, Adres_Kor, Platnik_VAT, Aktywny, Email, UserName, Last_Modify, Modify_User, http, VIES, regon, krs, nipKraj, kodKlienta, AgentExpo FROM KLIENCI WHERE (CustomerID = @CustomerID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FirstName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FirstName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LastName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrganizationName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrganizationName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Address", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Address", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@City", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "City", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@State", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "State", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PostalCode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PostalCode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Country", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Country", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nip", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nip", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContactName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ContactName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PhoneNumber", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PhoneNumber", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FaxNumber", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FaxNumber", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Adres_Fkatura", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Adres_Fkatura", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Adres_Kor", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Adres_Kor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Platnik_VAT", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Platnik_VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Aktywny", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Aktywny", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Last_Modify", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Last_Modify", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Modify_User", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Modify_User", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@http", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "http", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VIES", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "VIES", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@regon", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "regon", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@krs", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "krs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nipKraj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nipKraj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kodKlienta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodKlienta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AgentExpo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AgentExpo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CustomerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     TOP 20 CustomerID, FirstName, LastName, OrganizationName, Address, City, State, PostalCode, Country, Nip, ContactName, PhoneNumber, 
                      FaxNumber, Note, data, Adres_Fkatura, Adres_Kor, Platnik_VAT, Aktywny, Email, UserName, Last_Modify, Modify_User, http, VIES, regon, krs, nipKraj, 
                      kodKlienta, AgentExpo
FROM         KLIENCI";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT     Address, Adres_Fkatura, Adres_Kor, Aktywny, City, ContactName, Country, CustomerID, Email, FaxNumber, FirstName, LastName, Last_Modify, 
                      Modify_User, Nip, Note, OrganizationName, PhoneNumber, Platnik_VAT, PostalCode, State, UserName, VIES, data, http, krs, nipKraj, regon, 
                      kodKlienta, AgentExpo
FROM         KLIENCI
WHERE     (UserName = @param)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.NVarChar, 25, global::System.Data.ParameterDirection.Input, 0, 0, "UserName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT     Address, Adres_Fkatura, Adres_Kor, Aktywny, City, ContactName, Country, CustomerID, Email, FaxNumber, FirstName, LastName, Last_Modify, 
                      Modify_User, Nip, Note, OrganizationName, PhoneNumber, Platnik_VAT, PostalCode, State, UserName, VIES, data, http, krs, nipKraj, regon, 
                      kodKlienta, AgentExpo
FROM         KLIENCI
WHERE     (CustomerID = @param)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.KLIENCIDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.KLIENCIDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.KLIENCIDataTable dataTable = new REKLAMADataSet.KLIENCIDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByAgent(REKLAMADataSet.KLIENCIDataTable dataTable, string param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KLIENCIDataTable GetDataByAgent(string param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(param));
            }
            REKLAMADataSet.KLIENCIDataTable dataTable = new REKLAMADataSet.KLIENCIDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.KLIENCIDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KLIENCIDataTable GetDataByCustomerId(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.KLIENCIDataTable dataTable = new REKLAMADataSet.KLIENCIDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.KLIENCIDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "KLIENCI");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_CustomerID) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_CustomerID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    string FirstName, 
                    string LastName, 
                    string OrganizationName, 
                    string Address, 
                    string City, 
                    string State, 
                    string PostalCode, 
                    string Country, 
                    string Nip, 
                    string ContactName, 
                    string PhoneNumber, 
                    string FaxNumber, 
                    string Note, 
                    global::System.Nullable<global::System.DateTime> data, 
                    string Adres_Fkatura, 
                    string Adres_Kor, 
                    bool Platnik_VAT, 
                    bool Aktywny, 
                    string Email, 
                    string UserName, 
                    global::System.Nullable<global::System.DateTime> Last_Modify, 
                    string Modify_User, 
                    string http, 
                    global::System.Nullable<short> VIES, 
                    string regon, 
                    string krs, 
                    string nipKraj, 
                    string kodKlienta, 
                    string AgentExpo) {
            if ((FirstName == null)) {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(FirstName));
            }
            if ((LastName == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(LastName));
            }
            if ((OrganizationName == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(OrganizationName));
            }
            if ((Address == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Address));
            }
            if ((City == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(City));
            }
            if ((State == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(State));
            }
            if ((PostalCode == null)) {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(PostalCode));
            }
            if ((Country == null)) {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Country));
            }
            if ((Nip == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Nip));
            }
            if ((ContactName == null)) {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = ((string)(ContactName));
            }
            if ((PhoneNumber == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(PhoneNumber));
            }
            if ((FaxNumber == null)) {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = ((string)(FaxNumber));
            }
            if ((Note == null)) {
                this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Note));
            }
            if ((data.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(data.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((Adres_Fkatura == null)) {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = ((string)(Adres_Fkatura));
            }
            if ((Adres_Kor == null)) {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = ((string)(Adres_Kor));
            }
            this.Adapter.InsertCommand.Parameters[16].Value = ((bool)(Platnik_VAT));
            this.Adapter.InsertCommand.Parameters[17].Value = ((bool)(Aktywny));
            if ((Email == null)) {
                this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = ((string)(Email));
            }
            if ((UserName == null)) {
                this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = ((string)(UserName));
            }
            if ((Last_Modify.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[20].Value = ((System.DateTime)(Last_Modify.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            if ((Modify_User == null)) {
                this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = ((string)(Modify_User));
            }
            if ((http == null)) {
                this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = ((string)(http));
            }
            if ((VIES.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[23].Value = ((short)(VIES.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((regon == null)) {
                this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = ((string)(regon));
            }
            if ((krs == null)) {
                this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[25].Value = ((string)(krs));
            }
            if ((nipKraj == null)) {
                this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[26].Value = ((string)(nipKraj));
            }
            if ((kodKlienta == null)) {
                this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = ((string)(kodKlienta));
            }
            if ((AgentExpo == null)) {
                this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = ((string)(AgentExpo));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string FirstName, 
                    string LastName, 
                    string OrganizationName, 
                    string Address, 
                    string City, 
                    string State, 
                    string PostalCode, 
                    string Country, 
                    string Nip, 
                    string ContactName, 
                    string PhoneNumber, 
                    string FaxNumber, 
                    string Note, 
                    global::System.Nullable<global::System.DateTime> data, 
                    string Adres_Fkatura, 
                    string Adres_Kor, 
                    bool Platnik_VAT, 
                    bool Aktywny, 
                    string Email, 
                    string UserName, 
                    global::System.Nullable<global::System.DateTime> Last_Modify, 
                    string Modify_User, 
                    string http, 
                    global::System.Nullable<short> VIES, 
                    string regon, 
                    string krs, 
                    string nipKraj, 
                    string kodKlienta, 
                    string AgentExpo, 
                    int Original_CustomerID, 
                    int CustomerID) {
            if ((FirstName == null)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(FirstName));
            }
            if ((LastName == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(LastName));
            }
            if ((OrganizationName == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(OrganizationName));
            }
            if ((Address == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Address));
            }
            if ((City == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(City));
            }
            if ((State == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(State));
            }
            if ((PostalCode == null)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(PostalCode));
            }
            if ((Country == null)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Country));
            }
            if ((Nip == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Nip));
            }
            if ((ContactName == null)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(ContactName));
            }
            if ((PhoneNumber == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(PhoneNumber));
            }
            if ((FaxNumber == null)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(FaxNumber));
            }
            if ((Note == null)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Note));
            }
            if ((data.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(data.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((Adres_Fkatura == null)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Adres_Fkatura));
            }
            if ((Adres_Kor == null)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Adres_Kor));
            }
            this.Adapter.UpdateCommand.Parameters[16].Value = ((bool)(Platnik_VAT));
            this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Aktywny));
            if ((Email == null)) {
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Email));
            }
            if ((UserName == null)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(UserName));
            }
            if ((Last_Modify.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(Last_Modify.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            if ((Modify_User == null)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Modify_User));
            }
            if ((http == null)) {
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(http));
            }
            if ((VIES.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((short)(VIES.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((regon == null)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(regon));
            }
            if ((krs == null)) {
                this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(krs));
            }
            if ((nipKraj == null)) {
                this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(nipKraj));
            }
            if ((kodKlienta == null)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(kodKlienta));
            }
            if ((AgentExpo == null)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(AgentExpo));
            }
            this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_CustomerID));
            this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(CustomerID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string FirstName, 
                    string LastName, 
                    string OrganizationName, 
                    string Address, 
                    string City, 
                    string State, 
                    string PostalCode, 
                    string Country, 
                    string Nip, 
                    string ContactName, 
                    string PhoneNumber, 
                    string FaxNumber, 
                    string Note, 
                    global::System.Nullable<global::System.DateTime> data, 
                    string Adres_Fkatura, 
                    string Adres_Kor, 
                    bool Platnik_VAT, 
                    bool Aktywny, 
                    string Email, 
                    string UserName, 
                    global::System.Nullable<global::System.DateTime> Last_Modify, 
                    string Modify_User, 
                    string http, 
                    global::System.Nullable<short> VIES, 
                    string regon, 
                    string krs, 
                    string nipKraj, 
                    string kodKlienta, 
                    string AgentExpo, 
                    int Original_CustomerID) {
            return this.Update(FirstName, LastName, OrganizationName, Address, City, State, PostalCode, Country, Nip, ContactName, PhoneNumber, FaxNumber, Note, data, Adres_Fkatura, Adres_Kor, Platnik_VAT, Aktywny, Email, UserName, Last_Modify, Modify_User, http, VIES, regon, krs, nipKraj, kodKlienta, AgentExpo, Original_CustomerID, Original_CustomerID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class REKLAMA_STRONATableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public REKLAMA_STRONATableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "REKLAMA_STRONA";
            tableMapping.ColumnMappings.Add("ID_REKLAMA_STRONA", "ID_REKLAMA_STRONA");
            tableMapping.ColumnMappings.Add("ReklamaId", "ReklamaId");
            tableMapping.ColumnMappings.Add("NR_WYDANIA", "NR_WYDANIA");
            tableMapping.ColumnMappings.Add("ID_GRZBIETU", "ID_GRZBIETU");
            tableMapping.ColumnMappings.Add("STRONA", "STRONA");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [REKLAMA_STRONA] WHERE (([ID_REKLAMA_STRONA] = @Original_ID_REKLAMA_S" +
                "TRONA))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_REKLAMA_STRONA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_REKLAMA_STRONA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [REKLAMA_STRONA] ([ReklamaId], [NR_WYDANIA], [ID_GRZBIETU], [STRONA]) VALUES (@ReklamaId, @NR_WYDANIA, @ID_GRZBIETU, @STRONA);
SELECT ID_REKLAMA_STRONA, ReklamaId, NR_WYDANIA, ID_GRZBIETU, STRONA FROM REKLAMA_STRONA WHERE (ID_REKLAMA_STRONA = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NR_WYDANIA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NR_WYDANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_GRZBIETU", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_GRZBIETU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STRONA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STRONA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [REKLAMA_STRONA] SET [ReklamaId] = @ReklamaId, [NR_WYDANIA] = @NR_WYDANIA, [ID_GRZBIETU] = @ID_GRZBIETU, [STRONA] = @STRONA WHERE (([ID_REKLAMA_STRONA] = @Original_ID_REKLAMA_STRONA));
SELECT ID_REKLAMA_STRONA, ReklamaId, NR_WYDANIA, ID_GRZBIETU, STRONA FROM REKLAMA_STRONA WHERE (ID_REKLAMA_STRONA = @ID_REKLAMA_STRONA)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NR_WYDANIA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NR_WYDANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_GRZBIETU", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_GRZBIETU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STRONA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STRONA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_REKLAMA_STRONA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_REKLAMA_STRONA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_REKLAMA_STRONA", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_REKLAMA_STRONA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        ID_REKLAMA_STRONA, ReklamaId, NR_WYDANIA, ID_GRZBIETU, STRONA\r\nFROM" +
                "            REKLAMA_STRONA";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT ID_GRZBIETU, ID_REKLAMA_STRONA, NR_WYDANIA, ReklamaId, STRONA FROM REKLAMA" +
                "_STRONA WHERE (ReklamaId = @param1) ORDER BY NR_WYDANIA";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.REKLAMA_STRONADataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.REKLAMA_STRONADataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.REKLAMA_STRONADataTable dataTable = new REKLAMADataSet.REKLAMA_STRONADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByReklamaId(REKLAMADataSet.REKLAMA_STRONADataTable dataTable, int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.REKLAMA_STRONADataTable GetDataByReklamaId(int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            REKLAMADataSet.REKLAMA_STRONADataTable dataTable = new REKLAMADataSet.REKLAMA_STRONADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.REKLAMA_STRONADataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "REKLAMA_STRONA");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_ID_REKLAMA_STRONA) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID_REKLAMA_STRONA));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int ReklamaId, short NR_WYDANIA, int ID_GRZBIETU, short STRONA) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ReklamaId));
            this.Adapter.InsertCommand.Parameters[1].Value = ((short)(NR_WYDANIA));
            this.Adapter.InsertCommand.Parameters[2].Value = ((int)(ID_GRZBIETU));
            this.Adapter.InsertCommand.Parameters[3].Value = ((short)(STRONA));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ReklamaId, short NR_WYDANIA, int ID_GRZBIETU, short STRONA, int Original_ID_REKLAMA_STRONA, int ID_REKLAMA_STRONA) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(ReklamaId));
            this.Adapter.UpdateCommand.Parameters[1].Value = ((short)(NR_WYDANIA));
            this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(ID_GRZBIETU));
            this.Adapter.UpdateCommand.Parameters[3].Value = ((short)(STRONA));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_ID_REKLAMA_STRONA));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(ID_REKLAMA_STRONA));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ReklamaId, short NR_WYDANIA, int ID_GRZBIETU, short STRONA, int Original_ID_REKLAMA_STRONA) {
            return this.Update(ReklamaId, NR_WYDANIA, ID_GRZBIETU, STRONA, Original_ID_REKLAMA_STRONA, Original_ID_REKLAMA_STRONA);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KLIENCI_OSOBY_DO_KONTAKTUTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KLIENCI_OSOBY_DO_KONTAKTUTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "KLIENCI_OSOBY_DO_KONTAKTU";
            tableMapping.ColumnMappings.Add("id_klienci_os_kontakt", "id_klienci_os_kontakt");
            tableMapping.ColumnMappings.Add("customerid", "customerid");
            tableMapping.ColumnMappings.Add("Imie_Nazwisko", "Imie_Nazwisko");
            tableMapping.ColumnMappings.Add("stanowisko", "stanowisko");
            tableMapping.ColumnMappings.Add("Tel", "Tel");
            tableMapping.ColumnMappings.Add("email", "email");
            tableMapping.ColumnMappings.Add("opis", "opis");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [KLIENCI_OSOBY_DO_KONTAKTU] WHERE (([id_klienci_os_kontakt] = @Origin" +
                "al_id_klienci_os_kontakt))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id_klienci_os_kontakt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_klienci_os_kontakt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [KLIENCI_OSOBY_DO_KONTAKTU] ([customerid], [Imie_Nazwisko], [stanowisko], [Tel], [email], [opis]) VALUES (@customerid, @Imie_Nazwisko, @stanowisko, @Tel, @email, @opis);
SELECT id_klienci_os_kontakt, customerid, Imie_Nazwisko, stanowisko, Tel, email, opis FROM KLIENCI_OSOBY_DO_KONTAKTU WHERE (id_klienci_os_kontakt = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Imie_Nazwisko", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Imie_Nazwisko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stanowisko", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stanowisko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [KLIENCI_OSOBY_DO_KONTAKTU] SET [customerid] = @customerid, [Imie_Nazwisko] = @Imie_Nazwisko, [stanowisko] = @stanowisko, [Tel] = @Tel, [email] = @email, [opis] = @opis WHERE (([id_klienci_os_kontakt] = @Original_id_klienci_os_kontakt));
SELECT id_klienci_os_kontakt, customerid, Imie_Nazwisko, stanowisko, Tel, email, opis FROM KLIENCI_OSOBY_DO_KONTAKTU WHERE (id_klienci_os_kontakt = @id_klienci_os_kontakt)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Imie_Nazwisko", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Imie_Nazwisko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stanowisko", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stanowisko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id_klienci_os_kontakt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_klienci_os_kontakt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_klienci_os_kontakt", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "id_klienci_os_kontakt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        id_klienci_os_kontakt, customerid, Imie_Nazwisko, stanowisko, Tel, " +
                "email, opis\r\nFROM            KLIENCI_OSOBY_DO_KONTAKTU";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT Imie_Nazwisko, Tel, customerid, email, id_klienci_os_kontakt, opis, stanow" +
                "isko FROM KLIENCI_OSOBY_DO_KONTAKTU WHERE (customerid = @param1)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable dataTable = new REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable dataTable, int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable GetDataByCustomerId(int param1) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1));
            REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable dataTable = new REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.KLIENCI_OSOBY_DO_KONTAKTUDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "KLIENCI_OSOBY_DO_KONTAKTU");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_id_klienci_os_kontakt) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_id_klienci_os_kontakt));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int customerid, string Imie_Nazwisko, string stanowisko, string Tel, string email, string opis) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(customerid));
            if ((Imie_Nazwisko == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Imie_Nazwisko));
            }
            if ((stanowisko == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(stanowisko));
            }
            if ((Tel == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Tel));
            }
            if ((email == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(email));
            }
            if ((opis == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(opis));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int customerid, string Imie_Nazwisko, string stanowisko, string Tel, string email, string opis, int Original_id_klienci_os_kontakt, int id_klienci_os_kontakt) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(customerid));
            if ((Imie_Nazwisko == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Imie_Nazwisko));
            }
            if ((stanowisko == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(stanowisko));
            }
            if ((Tel == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Tel));
            }
            if ((email == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(email));
            }
            if ((opis == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(opis));
            }
            this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_id_klienci_os_kontakt));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(id_klienci_os_kontakt));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int customerid, string Imie_Nazwisko, string stanowisko, string Tel, string email, string opis, int Original_id_klienci_os_kontakt) {
            return this.Update(customerid, Imie_Nazwisko, stanowisko, Tel, email, opis, Original_id_klienci_os_kontakt, Original_id_klienci_os_kontakt);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class PRODUKCJATableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public PRODUKCJATableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "PRODUKCJA";
            tableMapping.ColumnMappings.Add("ID", "ID");
            tableMapping.ColumnMappings.Add("ReklamaId", "ReklamaId");
            tableMapping.ColumnMappings.Add("TYP_PROJEKTU", "TYP_PROJEKTU");
            tableMapping.ColumnMappings.Add("NAZWA_ZAMOWIENIA", "NAZWA_ZAMOWIENIA");
            tableMapping.ColumnMappings.Add("STAN", "STAN");
            tableMapping.ColumnMappings.Add("AGENT", "AGENT");
            tableMapping.ColumnMappings.Add("DATA_AGENT", "DATA_AGENT");
            tableMapping.ColumnMappings.Add("ZAMAWIAM_NA", "ZAMAWIAM_NA");
            tableMapping.ColumnMappings.Add("PRIORYTET", "PRIORYTET");
            tableMapping.ColumnMappings.Add("PRODUKCJA", "PRODUKCJA");
            tableMapping.ColumnMappings.Add("DATA_PRODUKCJA", "DATA_PRODUKCJA");
            tableMapping.ColumnMappings.Add("DTP", "DTP");
            tableMapping.ColumnMappings.Add("DATA_DTP", "DATA_DTP");
            tableMapping.ColumnMappings.Add("KOREKTA", "KOREKTA");
            tableMapping.ColumnMappings.Add("DATA_KOREKTA", "DATA_KOREKTA");
            tableMapping.ColumnMappings.Add("DTP_PO_KOR", "DTP_PO_KOR");
            tableMapping.ColumnMappings.Add("DATA_DTP_PO_KOR", "DATA_DTP_PO_KOR");
            tableMapping.ColumnMappings.Add("DATA_AKCEPTACJI", "DATA_AKCEPTACJI");
            tableMapping.ColumnMappings.Add("OCENA", "OCENA");
            tableMapping.ColumnMappings.Add("OPIS", "OPIS");
            tableMapping.ColumnMappings.Add("PLIK", "PLIK");
            tableMapping.ColumnMappings.Add("uwagi", "uwagi");
            tableMapping.ColumnMappings.Add("DataEmisji", "DataEmisji");
            tableMapping.ColumnMappings.Add("Moduł", "Moduł");
            tableMapping.ColumnMappings.Add("szer", "szer");
            tableMapping.ColumnMappings.Add("wys", "wys");
            tableMapping.ColumnMappings.Add("lokalizacja", "lokalizacja");
            tableMapping.ColumnMappings.Add("kolor", "kolor");
            tableMapping.ColumnMappings.Add("szkic", "szkic");
            tableMapping.ColumnMappings.Add("kurier", "kurier");
            tableMapping.ColumnMappings.Add("path_to_material", "path_to_material");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [PRODUKCJA] WHERE (([ID] = @Original_ID))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [PRODUKCJA] ([ReklamaId], [TYP_PROJEKTU], [NAZWA_ZAMOWIENIA], [STAN], [AGENT], [DATA_AGENT], [ZAMAWIAM_NA], [PRIORYTET], [PRODUKCJA], [DATA_PRODUKCJA], [DTP], [DATA_DTP], [KOREKTA], [DATA_KOREKTA], [DTP_PO_KOR], [DATA_DTP_PO_KOR], [DATA_AKCEPTACJI], [OCENA], [OPIS], [PLIK], [uwagi], [DataEmisji], [Moduł], [szer], [wys], [lokalizacja], [kolor], [szkic], [kurier], [path_to_material]) VALUES (@ReklamaId, @TYP_PROJEKTU, @NAZWA_ZAMOWIENIA, @STAN, @AGENT, @DATA_AGENT, @ZAMAWIAM_NA, @PRIORYTET, @PRODUKCJA, @DATA_PRODUKCJA, @DTP, @DATA_DTP, @KOREKTA, @DATA_KOREKTA, @DTP_PO_KOR, @DATA_DTP_PO_KOR, @DATA_AKCEPTACJI, @OCENA, @OPIS, @PLIK, @uwagi, @DataEmisji, @Moduł, @szer, @wys, @lokalizacja, @kolor, @szkic, @kurier, @path_to_material);
SELECT ID, ReklamaId, TYP_PROJEKTU, NAZWA_ZAMOWIENIA, STAN, AGENT, DATA_AGENT, ZAMAWIAM_NA, PRIORYTET, PRODUKCJA, DATA_PRODUKCJA, DTP, DATA_DTP, KOREKTA, DATA_KOREKTA, DTP_PO_KOR, DATA_DTP_PO_KOR, DATA_AKCEPTACJI, OCENA, OPIS, PLIK, uwagi, DataEmisji, Moduł, szer, wys, lokalizacja, kolor, szkic, kurier, path_to_material FROM PRODUKCJA WHERE (ID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYP_PROJEKTU", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYP_PROJEKTU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NAZWA_ZAMOWIENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NAZWA_ZAMOWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STAN", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AGENT", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AGENT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_AGENT", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_AGENT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZAMAWIAM_NA", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZAMAWIAM_NA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PRIORYTET", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PRIORYTET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PRODUKCJA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PRODUKCJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_PRODUKCJA", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_PRODUKCJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_DTP", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_DTP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KOREKTA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KOREKTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_KOREKTA", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_KOREKTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTP_PO_KOR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTP_PO_KOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_DTP_PO_KOR", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_DTP_PO_KOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_AKCEPTACJI", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_AKCEPTACJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OCENA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OCENA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OPIS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OPIS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PLIK", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PLIK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uwagi", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uwagi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataEmisji", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataEmisji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Moduł", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Moduł", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@szer", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "szer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wys", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wys", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lokalizacja", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lokalizacja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kolor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kolor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@szkic", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "szkic", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kurier", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kurier", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@path_to_material", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path_to_material", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [PRODUKCJA] SET [ReklamaId] = @ReklamaId, [TYP_PROJEKTU] = @TYP_PROJEKTU, [NAZWA_ZAMOWIENIA] = @NAZWA_ZAMOWIENIA, [STAN] = @STAN, [AGENT] = @AGENT, [DATA_AGENT] = @DATA_AGENT, [ZAMAWIAM_NA] = @ZAMAWIAM_NA, [PRIORYTET] = @PRIORYTET, [PRODUKCJA] = @PRODUKCJA, [DATA_PRODUKCJA] = @DATA_PRODUKCJA, [DTP] = @DTP, [DATA_DTP] = @DATA_DTP, [KOREKTA] = @KOREKTA, [DATA_KOREKTA] = @DATA_KOREKTA, [DTP_PO_KOR] = @DTP_PO_KOR, [DATA_DTP_PO_KOR] = @DATA_DTP_PO_KOR, [DATA_AKCEPTACJI] = @DATA_AKCEPTACJI, [OCENA] = @OCENA, [OPIS] = @OPIS, [PLIK] = @PLIK, [uwagi] = @uwagi, [DataEmisji] = @DataEmisji, [Moduł] = @Moduł, [szer] = @szer, [wys] = @wys, [lokalizacja] = @lokalizacja, [kolor] = @kolor, [szkic] = @szkic, [kurier] = @kurier, [path_to_material] = @path_to_material WHERE (([ID] = @Original_ID));
SELECT ID, ReklamaId, TYP_PROJEKTU, NAZWA_ZAMOWIENIA, STAN, AGENT, DATA_AGENT, ZAMAWIAM_NA, PRIORYTET, PRODUKCJA, DATA_PRODUKCJA, DTP, DATA_DTP, KOREKTA, DATA_KOREKTA, DTP_PO_KOR, DATA_DTP_PO_KOR, DATA_AKCEPTACJI, OCENA, OPIS, PLIK, uwagi, DataEmisji, Moduł, szer, wys, lokalizacja, kolor, szkic, kurier, path_to_material FROM PRODUKCJA WHERE (ID = @ID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYP_PROJEKTU", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYP_PROJEKTU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NAZWA_ZAMOWIENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NAZWA_ZAMOWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@STAN", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "STAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AGENT", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AGENT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_AGENT", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_AGENT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZAMAWIAM_NA", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZAMAWIAM_NA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PRIORYTET", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PRIORYTET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PRODUKCJA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PRODUKCJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_PRODUKCJA", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_PRODUKCJA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_DTP", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_DTP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KOREKTA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KOREKTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_KOREKTA", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_KOREKTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTP_PO_KOR", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTP_PO_KOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_DTP_PO_KOR", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_DTP_PO_KOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_AKCEPTACJI", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_AKCEPTACJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OCENA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OCENA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OPIS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OPIS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PLIK", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PLIK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uwagi", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uwagi", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataEmisji", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataEmisji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Moduł", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Moduł", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@szer", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "szer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wys", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wys", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@lokalizacja", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "lokalizacja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kolor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kolor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@szkic", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "szkic", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kurier", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kurier", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@path_to_material", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path_to_material", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT        ID, ReklamaId, TYP_PROJEKTU, NAZWA_ZAMOWIENIA, STAN, AGENT, DATA_AGENT, ZAMAWIAM_NA, PRIORYTET, PRODUKCJA, DATA_PRODUKCJA, DTP, 
                         DATA_DTP, KOREKTA, DATA_KOREKTA, DTP_PO_KOR, DATA_DTP_PO_KOR, DATA_AKCEPTACJI, OCENA, OPIS, PLIK, uwagi, DataEmisji, Moduł, szer, wys, 
                         lokalizacja, kolor, szkic, kurier, path_to_material
FROM            PRODUKCJA";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT AGENT, DATA_AGENT, DATA_AKCEPTACJI, DATA_DTP, DATA_DTP_PO_KOR, DATA_KOREKTA, DATA_PRODUKCJA, DTP, DTP_PO_KOR, DataEmisji, ID, KOREKTA, Moduł, NAZWA_ZAMOWIENIA, OCENA, OPIS, PLIK, PRIORYTET, PRODUKCJA, ReklamaId, STAN, TYP_PROJEKTU, ZAMAWIAM_NA, kolor, kurier, lokalizacja, path_to_material, szer, szkic, uwagi, wys FROM PRODUKCJA WHERE (ID = @param)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT AGENT, DATA_AGENT, DATA_AKCEPTACJI, DATA_DTP, DATA_DTP_PO_KOR, DATA_KOREKTA, DATA_PRODUKCJA, DTP, DTP_PO_KOR, DataEmisji, ID, KOREKTA, Moduł, NAZWA_ZAMOWIENIA, OCENA, OPIS, PLIK, PRIORYTET, PRODUKCJA, ReklamaId, STAN, TYP_PROJEKTU, ZAMAWIAM_NA, kolor, kurier, lokalizacja, path_to_material, szer, szkic, uwagi, wys FROM PRODUKCJA WHERE (ReklamaId = @param1) ORDER BY ZAMAWIAM_NA";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.PRODUKCJADataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.PRODUKCJADataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.PRODUKCJADataTable dataTable = new REKLAMADataSet.PRODUKCJADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillById(REKLAMADataSet.PRODUKCJADataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.PRODUKCJADataTable GetDataById(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.PRODUKCJADataTable dataTable = new REKLAMADataSet.PRODUKCJADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByReklamaId(REKLAMADataSet.PRODUKCJADataTable dataTable, global::System.Nullable<int> param1) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((param1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.PRODUKCJADataTable GetDataByReklamaId(global::System.Nullable<int> param1) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((param1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.PRODUKCJADataTable dataTable = new REKLAMADataSet.PRODUKCJADataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.PRODUKCJADataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "PRODUKCJA");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_ID) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    global::System.Nullable<int> ReklamaId, 
                    string TYP_PROJEKTU, 
                    string NAZWA_ZAMOWIENIA, 
                    string STAN, 
                    string AGENT, 
                    global::System.Nullable<global::System.DateTime> DATA_AGENT, 
                    global::System.Nullable<global::System.DateTime> ZAMAWIAM_NA, 
                    string PRIORYTET, 
                    string PRODUKCJA, 
                    global::System.Nullable<global::System.DateTime> DATA_PRODUKCJA, 
                    string DTP, 
                    global::System.Nullable<global::System.DateTime> DATA_DTP, 
                    string KOREKTA, 
                    global::System.Nullable<global::System.DateTime> DATA_KOREKTA, 
                    string DTP_PO_KOR, 
                    global::System.Nullable<global::System.DateTime> DATA_DTP_PO_KOR, 
                    global::System.Nullable<global::System.DateTime> DATA_AKCEPTACJI, 
                    short OCENA, 
                    string OPIS, 
                    string PLIK, 
                    string uwagi, 
                    string DataEmisji, 
                    string Moduł, 
                    global::System.Nullable<short> szer, 
                    global::System.Nullable<short> wys, 
                    string lokalizacja, 
                    string kolor, 
                    string szkic, 
                    string kurier, 
                    string path_to_material) {
            if ((ReklamaId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ReklamaId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((TYP_PROJEKTU == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(TYP_PROJEKTU));
            }
            if ((NAZWA_ZAMOWIENIA == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(NAZWA_ZAMOWIENIA));
            }
            if ((STAN == null)) {
                throw new global::System.ArgumentNullException("STAN");
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(STAN));
            }
            if ((AGENT == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(AGENT));
            }
            if ((DATA_AGENT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(DATA_AGENT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((ZAMAWIAM_NA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(ZAMAWIAM_NA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((PRIORYTET == null)) {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = ((string)(PRIORYTET));
            }
            if ((PRODUKCJA == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(PRODUKCJA));
            }
            if ((DATA_PRODUKCJA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(DATA_PRODUKCJA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((DTP == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(DTP));
            }
            if ((DATA_DTP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[11].Value = ((System.DateTime)(DATA_DTP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((KOREKTA == null)) {
                this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = ((string)(KOREKTA));
            }
            if ((DATA_KOREKTA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(DATA_KOREKTA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((DTP_PO_KOR == null)) {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = ((string)(DTP_PO_KOR));
            }
            if ((DATA_DTP_PO_KOR.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(DATA_DTP_PO_KOR.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((DATA_AKCEPTACJI.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(DATA_AKCEPTACJI.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[17].Value = ((short)(OCENA));
            if ((OPIS == null)) {
                this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = ((string)(OPIS));
            }
            if ((PLIK == null)) {
                this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = ((string)(PLIK));
            }
            if ((uwagi == null)) {
                this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = ((string)(uwagi));
            }
            if ((DataEmisji == null)) {
                this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = ((string)(DataEmisji));
            }
            if ((Moduł == null)) {
                this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[22].Value = ((string)(Moduł));
            }
            if ((szer.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[23].Value = ((short)(szer.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((wys.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[24].Value = ((short)(wys.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((lokalizacja == null)) {
                this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[25].Value = ((string)(lokalizacja));
            }
            if ((kolor == null)) {
                this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[26].Value = ((string)(kolor));
            }
            if ((szkic == null)) {
                this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = ((string)(szkic));
            }
            if ((kurier == null)) {
                this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = ((string)(kurier));
            }
            if ((path_to_material == null)) {
                this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[29].Value = ((string)(path_to_material));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> ReklamaId, 
                    string TYP_PROJEKTU, 
                    string NAZWA_ZAMOWIENIA, 
                    string STAN, 
                    string AGENT, 
                    global::System.Nullable<global::System.DateTime> DATA_AGENT, 
                    global::System.Nullable<global::System.DateTime> ZAMAWIAM_NA, 
                    string PRIORYTET, 
                    string PRODUKCJA, 
                    global::System.Nullable<global::System.DateTime> DATA_PRODUKCJA, 
                    string DTP, 
                    global::System.Nullable<global::System.DateTime> DATA_DTP, 
                    string KOREKTA, 
                    global::System.Nullable<global::System.DateTime> DATA_KOREKTA, 
                    string DTP_PO_KOR, 
                    global::System.Nullable<global::System.DateTime> DATA_DTP_PO_KOR, 
                    global::System.Nullable<global::System.DateTime> DATA_AKCEPTACJI, 
                    short OCENA, 
                    string OPIS, 
                    string PLIK, 
                    string uwagi, 
                    string DataEmisji, 
                    string Moduł, 
                    global::System.Nullable<short> szer, 
                    global::System.Nullable<short> wys, 
                    string lokalizacja, 
                    string kolor, 
                    string szkic, 
                    string kurier, 
                    string path_to_material, 
                    int Original_ID, 
                    int ID) {
            if ((ReklamaId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(ReklamaId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((TYP_PROJEKTU == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(TYP_PROJEKTU));
            }
            if ((NAZWA_ZAMOWIENIA == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(NAZWA_ZAMOWIENIA));
            }
            if ((STAN == null)) {
                throw new global::System.ArgumentNullException("STAN");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(STAN));
            }
            if ((AGENT == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(AGENT));
            }
            if ((DATA_AGENT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(DATA_AGENT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((ZAMAWIAM_NA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(ZAMAWIAM_NA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((PRIORYTET == null)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(PRIORYTET));
            }
            if ((PRODUKCJA == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(PRODUKCJA));
            }
            if ((DATA_PRODUKCJA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(DATA_PRODUKCJA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((DTP == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(DTP));
            }
            if ((DATA_DTP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(DATA_DTP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((KOREKTA == null)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(KOREKTA));
            }
            if ((DATA_KOREKTA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(DATA_KOREKTA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((DTP_PO_KOR == null)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(DTP_PO_KOR));
            }
            if ((DATA_DTP_PO_KOR.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(DATA_DTP_PO_KOR.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((DATA_AKCEPTACJI.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(DATA_AKCEPTACJI.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[17].Value = ((short)(OCENA));
            if ((OPIS == null)) {
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(OPIS));
            }
            if ((PLIK == null)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(PLIK));
            }
            if ((uwagi == null)) {
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(uwagi));
            }
            if ((DataEmisji == null)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(DataEmisji));
            }
            if ((Moduł == null)) {
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Moduł));
            }
            if ((szer.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((short)(szer.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((wys.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((short)(wys.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((lokalizacja == null)) {
                this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(lokalizacja));
            }
            if ((kolor == null)) {
                this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(kolor));
            }
            if ((szkic == null)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(szkic));
            }
            if ((kurier == null)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(kurier));
            }
            if ((path_to_material == null)) {
                this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(path_to_material));
            }
            this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_ID));
            this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> ReklamaId, 
                    string TYP_PROJEKTU, 
                    string NAZWA_ZAMOWIENIA, 
                    string STAN, 
                    string AGENT, 
                    global::System.Nullable<global::System.DateTime> DATA_AGENT, 
                    global::System.Nullable<global::System.DateTime> ZAMAWIAM_NA, 
                    string PRIORYTET, 
                    string PRODUKCJA, 
                    global::System.Nullable<global::System.DateTime> DATA_PRODUKCJA, 
                    string DTP, 
                    global::System.Nullable<global::System.DateTime> DATA_DTP, 
                    string KOREKTA, 
                    global::System.Nullable<global::System.DateTime> DATA_KOREKTA, 
                    string DTP_PO_KOR, 
                    global::System.Nullable<global::System.DateTime> DATA_DTP_PO_KOR, 
                    global::System.Nullable<global::System.DateTime> DATA_AKCEPTACJI, 
                    short OCENA, 
                    string OPIS, 
                    string PLIK, 
                    string uwagi, 
                    string DataEmisji, 
                    string Moduł, 
                    global::System.Nullable<short> szer, 
                    global::System.Nullable<short> wys, 
                    string lokalizacja, 
                    string kolor, 
                    string szkic, 
                    string kurier, 
                    string path_to_material, 
                    int Original_ID) {
            return this.Update(ReklamaId, TYP_PROJEKTU, NAZWA_ZAMOWIENIA, STAN, AGENT, DATA_AGENT, ZAMAWIAM_NA, PRIORYTET, PRODUKCJA, DATA_PRODUKCJA, DTP, DATA_DTP, KOREKTA, DATA_KOREKTA, DTP_PO_KOR, DATA_DTP_PO_KOR, DATA_AKCEPTACJI, OCENA, OPIS, PLIK, uwagi, DataEmisji, Moduł, szer, wys, lokalizacja, kolor, szkic, kurier, path_to_material, Original_ID, Original_ID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class FAKTURYTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public FAKTURYTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "FAKTURY";
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("NUMER", "NUMER");
            tableMapping.ColumnMappings.Add("NUMER_ROZ", "NUMER_ROZ");
            tableMapping.ColumnMappings.Add("NUMER_ROK", "NUMER_ROK");
            tableMapping.ColumnMappings.Add("DATA_WYSTAWIENIA", "DATA_WYSTAWIENIA");
            tableMapping.ColumnMappings.Add("MIEJSCOWOSC_WYSTAWIENIA", "MIEJSCOWOSC_WYSTAWIENIA");
            tableMapping.ColumnMappings.Add("ID_SPRZEDAWCY", "ID_SPRZEDAWCY");
            tableMapping.ColumnMappings.Add("ID_NABYWCY", "ID_NABYWCY");
            tableMapping.ColumnMappings.Add("DATA_SPRZEDAZY", "DATA_SPRZEDAZY");
            tableMapping.ColumnMappings.Add("PODPIS_WYSTAWIL", "PODPIS_WYSTAWIL");
            tableMapping.ColumnMappings.Add("PODPIS_ODEBRAL", "PODPIS_ODEBRAL");
            tableMapping.ColumnMappings.Add("opis", "opis");
            tableMapping.ColumnMappings.Add("SPOSOB_ZAPLATY", "SPOSOB_ZAPLATY");
            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
            tableMapping.ColumnMappings.Add("ZAPLACONO", "ZAPLACONO");
            tableMapping.ColumnMappings.Add("BYL_WYDRUK", "BYL_WYDRUK");
            tableMapping.ColumnMappings.Add("NABYWCA_ADRES", "NABYWCA_ADRES");
            tableMapping.ColumnMappings.Add("SPRZEDAWCA_ADRES", "SPRZEDAWCA_ADRES");
            tableMapping.ColumnMappings.Add("SPRZEDAWCA_NIP", "SPRZEDAWCA_NIP");
            tableMapping.ColumnMappings.Add("NABYWCA_NIP", "NABYWCA_NIP");
            tableMapping.ColumnMappings.Add("FAKTURA_TYP", "FAKTURA_TYP");
            tableMapping.ColumnMappings.Add("FAKTURA_PODTYP", "FAKTURA_PODTYP");
            tableMapping.ColumnMappings.Add("ID_KONTA", "ID_KONTA");
            tableMapping.ColumnMappings.Add("EKSPORT", "EKSPORT");
            tableMapping.ColumnMappings.Add("EXPORTED", "EXPORTED");
            tableMapping.ColumnMappings.Add("ID_TYTUL", "ID_TYTUL");
            tableMapping.ColumnMappings.Add("EXPORTED_DATA", "EXPORTED_DATA");
            tableMapping.ColumnMappings.Add("suma_zaplat", "suma_zaplat");
            tableMapping.ColumnMappings.Add("ID_FK_KOR", "ID_FK_KOR");
            tableMapping.ColumnMappings.Add("zaplata_data", "zaplata_data");
            tableMapping.ColumnMappings.Add("zaplata_opis", "zaplata_opis");
            tableMapping.ColumnMappings.Add("Zaliczka_Brutto", "Zaliczka_Brutto");
            tableMapping.ColumnMappings.Add("Zaliczka_Data", "Zaliczka_Data");
            tableMapping.ColumnMappings.Add("waluta_brutto", "waluta_brutto");
            tableMapping.ColumnMappings.Add("waluta_miano", "waluta_miano");
            tableMapping.ColumnMappings.Add("waluta_kurs", "waluta_kurs");
            tableMapping.ColumnMappings.Add("waluta_przelicznik", "waluta_przelicznik");
            tableMapping.ColumnMappings.Add("waluta_kurs_z_dnia", "waluta_kurs_z_dnia");
            tableMapping.ColumnMappings.Add("waluta_tabela_nr", "waluta_tabela_nr");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("idFakturyKorekta", "idFakturyKorekta");
            tableMapping.ColumnMappings.Add("KOREKTA", "KOREKTA");
            tableMapping.ColumnMappings.Add("idFakturyVAT", "idFakturyVAT");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [FAKTURY] WHERE (([ID_FAKTURY] = @Original_ID_FAKTURY))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_FAKTURY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [FAKTURY] ([NUMER], [NUMER_ROZ], [NUMER_ROK], [DATA_WYSTAWIENIA], [MI" +
                "EJSCOWOSC_WYSTAWIENIA], [ID_SPRZEDAWCY], [ID_NABYWCY], [DATA_SPRZEDAZY], [PODPIS" +
                "_WYSTAWIL], [PODPIS_ODEBRAL], [opis], [SPOSOB_ZAPLATY], [TERMIN_ZAPLATY], [ZAPLA" +
                "CONO], [BYL_WYDRUK], [NABYWCA_ADRES], [SPRZEDAWCA_ADRES], [SPRZEDAWCA_NIP], [NAB" +
                "YWCA_NIP], [FAKTURA_TYP], [FAKTURA_PODTYP], [ID_KONTA], [EKSPORT], [EXPORTED], [" +
                "ID_TYTUL], [EXPORTED_DATA], [suma_zaplat], [ID_FK_KOR], [zaplata_data], [zaplata" +
                "_opis], [Zaliczka_Brutto], [Zaliczka_Data], [waluta_brutto], [waluta_miano], [wa" +
                "luta_kurs], [waluta_przelicznik], [waluta_kurs_z_dnia], [waluta_tabela_nr], [idZ" +
                "amowienia], [idFakturyKorekta], [KOREKTA], [idFakturyVAT]) VALUES (@NUMER, @NUME" +
                "R_ROZ, @NUMER_ROK, @DATA_WYSTAWIENIA, @MIEJSCOWOSC_WYSTAWIENIA, @ID_SPRZEDAWCY, " +
                "@ID_NABYWCY, @DATA_SPRZEDAZY, @PODPIS_WYSTAWIL, @PODPIS_ODEBRAL, @opis, @SPOSOB_" +
                "ZAPLATY, @TERMIN_ZAPLATY, @ZAPLACONO, @BYL_WYDRUK, @NABYWCA_ADRES, @SPRZEDAWCA_A" +
                "DRES, @SPRZEDAWCA_NIP, @NABYWCA_NIP, @FAKTURA_TYP, @FAKTURA_PODTYP, @ID_KONTA, @" +
                "EKSPORT, @EXPORTED, @ID_TYTUL, @EXPORTED_DATA, @suma_zaplat, @ID_FK_KOR, @zaplat" +
                "a_data, @zaplata_opis, @Zaliczka_Brutto, @Zaliczka_Data, @waluta_brutto, @waluta" +
                "_miano, @waluta_kurs, @waluta_przelicznik, @waluta_kurs_z_dnia, @waluta_tabela_n" +
                "r, @idZamowienia, @idFakturyKorekta, @KOREKTA, @idFakturyVAT);\r\nSELECT ID_FAKTUR" +
                "Y, NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC_WYSTAWIENIA, ID_SP" +
                "RZEDAWCY, ID_NABYWCY, DATA_SPRZEDAZY, PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPO" +
                "SOB_ZAPLATY, TERMIN_ZAPLATY, ZAPLACONO, BYL_WYDRUK, NABYWCA_ADRES, SPRZEDAWCA_AD" +
                "RES, SPRZEDAWCA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT" +
                ", EXPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, zaplata_data, zapla" +
                "ta_opis, Zaliczka_Brutto, Zaliczka_Data, waluta_brutto, waluta_miano, waluta_kur" +
                "s, waluta_przelicznik, waluta_kurs_z_dnia, waluta_tabela_nr, idZamowienia, idFak" +
                "turyKorekta, KOREKTA, idFakturyVAT FROM FAKTURY WHERE (ID_FAKTURY = SCOPE_IDENTI" +
                "TY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMER", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMER_ROZ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER_ROZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMER_ROK", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER_ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_WYSTAWIENIA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_WYSTAWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MIEJSCOWOSC_WYSTAWIENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MIEJSCOWOSC_WYSTAWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_SPRZEDAWCY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_NABYWCY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_NABYWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_SPRZEDAZY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_SPRZEDAZY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PODPIS_WYSTAWIL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PODPIS_WYSTAWIL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PODPIS_ODEBRAL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PODPIS_ODEBRAL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opis", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPOSOB_ZAPLATY", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPOSOB_ZAPLATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TERMIN_ZAPLATY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TERMIN_ZAPLATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZAPLACONO", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZAPLACONO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BYL_WYDRUK", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BYL_WYDRUK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NABYWCA_ADRES", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NABYWCA_ADRES", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPRZEDAWCA_ADRES", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPRZEDAWCA_ADRES", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPRZEDAWCA_NIP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPRZEDAWCA_NIP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NABYWCA_NIP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NABYWCA_NIP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_TYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA_TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_PODTYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA_PODTYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KONTA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KONTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EKSPORT", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EKSPORT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EXPORTED", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EXPORTED", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_TYTUL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_TYTUL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EXPORTED_DATA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EXPORTED_DATA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@suma_zaplat", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "suma_zaplat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FK_KOR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FK_KOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zaplata_data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zaplata_data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zaplata_opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zaplata_opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Brutto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_brutto", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_miano", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_miano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_przelicznik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_przelicznik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs_z_dnia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs_z_dnia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_tabela_nr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_tabela_nr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFakturyKorekta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFakturyKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KOREKTA", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KOREKTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFakturyVAT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFakturyVAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = "UPDATE [FAKTURY] SET [NUMER] = @NUMER, [NUMER_ROZ] = @NUMER_ROZ, [NUMER_ROK] = @N" +
                "UMER_ROK, [DATA_WYSTAWIENIA] = @DATA_WYSTAWIENIA, [MIEJSCOWOSC_WYSTAWIENIA] = @M" +
                "IEJSCOWOSC_WYSTAWIENIA, [ID_SPRZEDAWCY] = @ID_SPRZEDAWCY, [ID_NABYWCY] = @ID_NAB" +
                "YWCY, [DATA_SPRZEDAZY] = @DATA_SPRZEDAZY, [PODPIS_WYSTAWIL] = @PODPIS_WYSTAWIL, " +
                "[PODPIS_ODEBRAL] = @PODPIS_ODEBRAL, [opis] = @opis, [SPOSOB_ZAPLATY] = @SPOSOB_Z" +
                "APLATY, [TERMIN_ZAPLATY] = @TERMIN_ZAPLATY, [ZAPLACONO] = @ZAPLACONO, [BYL_WYDRU" +
                "K] = @BYL_WYDRUK, [NABYWCA_ADRES] = @NABYWCA_ADRES, [SPRZEDAWCA_ADRES] = @SPRZED" +
                "AWCA_ADRES, [SPRZEDAWCA_NIP] = @SPRZEDAWCA_NIP, [NABYWCA_NIP] = @NABYWCA_NIP, [F" +
                "AKTURA_TYP] = @FAKTURA_TYP, [FAKTURA_PODTYP] = @FAKTURA_PODTYP, [ID_KONTA] = @ID" +
                "_KONTA, [EKSPORT] = @EKSPORT, [EXPORTED] = @EXPORTED, [ID_TYTUL] = @ID_TYTUL, [E" +
                "XPORTED_DATA] = @EXPORTED_DATA, [suma_zaplat] = @suma_zaplat, [ID_FK_KOR] = @ID_" +
                "FK_KOR, [zaplata_data] = @zaplata_data, [zaplata_opis] = @zaplata_opis, [Zaliczk" +
                "a_Brutto] = @Zaliczka_Brutto, [Zaliczka_Data] = @Zaliczka_Data, [waluta_brutto] " +
                "= @waluta_brutto, [waluta_miano] = @waluta_miano, [waluta_kurs] = @waluta_kurs, " +
                "[waluta_przelicznik] = @waluta_przelicznik, [waluta_kurs_z_dnia] = @waluta_kurs_" +
                "z_dnia, [waluta_tabela_nr] = @waluta_tabela_nr, [idZamowienia] = @idZamowienia, " +
                "[idFakturyKorekta] = @idFakturyKorekta, [KOREKTA] = @KOREKTA, [idFakturyVAT] = @" +
                "idFakturyVAT WHERE (([ID_FAKTURY] = @Original_ID_FAKTURY));\r\nSELECT ID_FAKTURY, " +
                "NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC_WYSTAWIENIA, ID_SPRZE" +
                "DAWCY, ID_NABYWCY, DATA_SPRZEDAZY, PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPOSOB" +
                "_ZAPLATY, TERMIN_ZAPLATY, ZAPLACONO, BYL_WYDRUK, NABYWCA_ADRES, SPRZEDAWCA_ADRES" +
                ", SPRZEDAWCA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT, E" +
                "XPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, zaplata_data, zaplata_" +
                "opis, Zaliczka_Brutto, Zaliczka_Data, waluta_brutto, waluta_miano, waluta_kurs, " +
                "waluta_przelicznik, waluta_kurs_z_dnia, waluta_tabela_nr, idZamowienia, idFaktur" +
                "yKorekta, KOREKTA, idFakturyVAT FROM FAKTURY WHERE (ID_FAKTURY = @ID_FAKTURY)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMER", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMER_ROZ", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER_ROZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMER_ROK", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER_ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_WYSTAWIENIA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_WYSTAWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MIEJSCOWOSC_WYSTAWIENIA", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MIEJSCOWOSC_WYSTAWIENIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_SPRZEDAWCY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_NABYWCY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_NABYWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATA_SPRZEDAZY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DATA_SPRZEDAZY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PODPIS_WYSTAWIL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PODPIS_WYSTAWIL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PODPIS_ODEBRAL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PODPIS_ODEBRAL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opis", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPOSOB_ZAPLATY", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPOSOB_ZAPLATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TERMIN_ZAPLATY", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TERMIN_ZAPLATY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZAPLACONO", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZAPLACONO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BYL_WYDRUK", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BYL_WYDRUK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NABYWCA_ADRES", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NABYWCA_ADRES", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPRZEDAWCA_ADRES", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPRZEDAWCA_ADRES", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPRZEDAWCA_NIP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPRZEDAWCA_NIP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NABYWCA_NIP", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NABYWCA_NIP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_TYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA_TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FAKTURA_PODTYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FAKTURA_PODTYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KONTA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KONTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EKSPORT", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EKSPORT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EXPORTED", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EXPORTED", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_TYTUL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_TYTUL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EXPORTED_DATA", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EXPORTED_DATA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@suma_zaplat", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "suma_zaplat", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FK_KOR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FK_KOR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zaplata_data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zaplata_data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zaplata_opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zaplata_opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Brutto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zaliczka_Data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zaliczka_Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_brutto", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_miano", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_miano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_przelicznik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_przelicznik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_kurs_z_dnia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_kurs_z_dnia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_tabela_nr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_tabela_nr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFakturyKorekta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFakturyKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KOREKTA", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KOREKTA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFakturyVAT", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFakturyVAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_FAKTURY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FAKTURY", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     ID_FAKTURY, NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC_WYSTAWIENIA, ID_SPRZEDAWCY, ID_NABYWCY, 
                      DATA_SPRZEDAZY, PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPOSOB_ZAPLATY, TERMIN_ZAPLATY, ZAPLACONO, BYL_WYDRUK, 
                      NABYWCA_ADRES, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT, 
                      EXPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, zaplata_data, zaplata_opis, Zaliczka_Brutto, Zaliczka_Data, waluta_brutto, 
                      waluta_miano, waluta_kurs, waluta_przelicznik, waluta_kurs_z_dnia, waluta_tabela_nr, idZamowienia, idFakturyKorekta, KOREKTA, idFakturyVAT
FROM         FAKTURY";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT     ID_FAKTURY, NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC_WYSTAWIENIA, ID_SPRZEDAWCY, ID_NABYWCY, 
                      DATA_SPRZEDAZY, PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPOSOB_ZAPLATY, TERMIN_ZAPLATY, ZAPLACONO, BYL_WYDRUK, 
                      NABYWCA_ADRES, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT, 
                      EXPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, zaplata_data, zaplata_opis, Zaliczka_Brutto, Zaliczka_Data, waluta_brutto, 
                      waluta_miano, waluta_kurs, waluta_przelicznik, waluta_kurs_z_dnia, waluta_tabela_nr, idZamowienia, idFakturyKorekta, KOREKTA, idFakturyVAT
FROM         FAKTURY
WHERE     (YEAR(DATA_WYSTAWIENIA) = @rok) AND (DATEPART(week, DATA_WYSTAWIENIA) = @nrTygodnia) AND (KOREKTA = 0) AND 
                      (ID_SPRZEDAWCY = @agencja) AND (NUMER_ROZ <> 'POZ') AND (NUMER_ROZ <> 'KAT') AND (MONTH(DATA_WYSTAWIENIA) = @ms) AND 
                      (SPOSOB_ZAPLATY = 'Barter') AND (ID_FAKTURY NOT IN
                          (SELECT     IDPozKat
                            FROM          FakturyPoznanKatowice
                            WHERE      (DATEPART(year, DataWystawieniaPozKat) = @rok) AND (DATEPART(week, DataWystawieniaPozKat) = @nrTygodnia)))";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrTygodnia", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT TOP 1 BYL_WYDRUK, DATA_SPRZEDAZY, DATA_WYSTAWIENIA, EKSPORT, EXPORTED, EXPORTED_DATA, FAKTURA_PODTYP, FAKTURA_TYP, ID_FAKTURY, ID_FK_KOR, ID_KONTA, ID_NABYWCY, ID_SPRZEDAWCY, ID_TYTUL, KOREKTA, MIEJSCOWOSC_WYSTAWIENIA, NABYWCA_ADRES, NABYWCA_NIP, NUMER, NUMER_ROK, NUMER_ROZ, PODPIS_ODEBRAL, PODPIS_WYSTAWIL, SPOSOB_ZAPLATY, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, TERMIN_ZAPLATY, ZAPLACONO, Zaliczka_Brutto, Zaliczka_Data, idFakturyKorekta, idFakturyVAT, idZamowienia, opis, suma_zaplat, waluta_brutto, waluta_kurs, waluta_kurs_z_dnia, waluta_miano, waluta_przelicznik, waluta_tabela_nr, zaplata_data, zaplata_opis FROM FAKTURY WHERE (idFakturyKorekta = @param)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFakturyKorekta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT BYL_WYDRUK, DATA_SPRZEDAZY, DATA_WYSTAWIENIA, EKSPORT, EXPORTED, EXPORTED_DATA, FAKTURA_PODTYP, FAKTURA_TYP, ID_FAKTURY, ID_FK_KOR, ID_KONTA, ID_NABYWCY, ID_SPRZEDAWCY, ID_TYTUL, KOREKTA, MIEJSCOWOSC_WYSTAWIENIA, NABYWCA_ADRES, NABYWCA_NIP, NUMER, NUMER_ROK, NUMER_ROZ, PODPIS_ODEBRAL, PODPIS_WYSTAWIL, SPOSOB_ZAPLATY, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, TERMIN_ZAPLATY, ZAPLACONO, Zaliczka_Brutto, Zaliczka_Data, idFakturyKorekta, idFakturyVAT, idZamowienia, opis, suma_zaplat, waluta_brutto, waluta_kurs, waluta_kurs_z_dnia, waluta_miano, waluta_przelicznik, waluta_tabela_nr, zaplata_data, zaplata_opis FROM FAKTURY WHERE (ID_FAKTURY = @param)";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[4].Connection = this.Connection;
            this._commandCollection[4].CommandText = @"SELECT BYL_WYDRUK, DATA_SPRZEDAZY, DATA_WYSTAWIENIA, EKSPORT, EXPORTED, EXPORTED_DATA, FAKTURA_PODTYP, FAKTURA_TYP, ID_FAKTURY, ID_FK_KOR, ID_KONTA, ID_NABYWCY, ID_SPRZEDAWCY, ID_TYTUL, KOREKTA, MIEJSCOWOSC_WYSTAWIENIA, NABYWCA_ADRES, NABYWCA_NIP, NUMER, NUMER_ROK, NUMER_ROZ, PODPIS_ODEBRAL, PODPIS_WYSTAWIL, SPOSOB_ZAPLATY, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, TERMIN_ZAPLATY, ZAPLACONO, Zaliczka_Brutto, Zaliczka_Data, idFakturyKorekta, idFakturyVAT, idZamowienia, opis, suma_zaplat, waluta_brutto, waluta_kurs, waluta_kurs_z_dnia, waluta_miano, waluta_przelicznik, waluta_tabela_nr, zaplata_data, zaplata_opis FROM FAKTURY WHERE (ID_NABYWCY = @param)";
            this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_NABYWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[5].Connection = this.Connection;
            this._commandCollection[5].CommandText = @"SELECT  BYL_WYDRUK, DATA_SPRZEDAZY, DATA_WYSTAWIENIA, EKSPORT, EXPORTED, EXPORTED_DATA, FAKTURA_PODTYP, FAKTURA_TYP, ID_FAKTURY, ID_FK_KOR, ID_KONTA, ID_NABYWCY, ID_SPRZEDAWCY, ID_TYTUL, KOREKTA, MIEJSCOWOSC_WYSTAWIENIA, NABYWCA_ADRES, NABYWCA_NIP, NUMER, NUMER_ROK, NUMER_ROZ, PODPIS_ODEBRAL, PODPIS_WYSTAWIL, SPOSOB_ZAPLATY, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, TERMIN_ZAPLATY, ZAPLACONO, Zaliczka_Brutto, Zaliczka_Data, idFakturyKorekta, idFakturyVAT, idZamowienia, opis, suma_zaplat, waluta_brutto, waluta_kurs, waluta_kurs_z_dnia, waluta_miano, waluta_przelicznik, waluta_tabela_nr, zaplata_data, zaplata_opis FROM FAKTURY WHERE (idZamowienia = @param)";
            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[6].Connection = this.Connection;
            this._commandCollection[6].CommandText = @"SELECT     ID_FAKTURY, NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC_WYSTAWIENIA, ID_SPRZEDAWCY, ID_NABYWCY, 
                      DATA_SPRZEDAZY, PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPOSOB_ZAPLATY, TERMIN_ZAPLATY, ZAPLACONO, BYL_WYDRUK, 
                      NABYWCA_ADRES, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT, 
                      EXPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, zaplata_data, zaplata_opis, Zaliczka_Brutto, Zaliczka_Data, waluta_brutto, 
                      waluta_miano, waluta_kurs, waluta_przelicznik, waluta_kurs_z_dnia, waluta_tabela_nr, idZamowienia, idFakturyKorekta, KOREKTA, idFakturyVAT
FROM         FAKTURY
WHERE     (YEAR(DATA_WYSTAWIENIA) = @rok) AND (DATEPART(week, DATA_WYSTAWIENIA) = @nrTygodnia) AND (KOREKTA = 0) AND 
                      (ID_SPRZEDAWCY = @agencja) AND (NUMER_ROZ <> 'POZ') AND (NUMER_ROZ <> 'KAT') AND (MONTH(DATA_WYSTAWIENIA) = @ms) AND 
                      (SPOSOB_ZAPLATY <> 'Barter') AND (ID_FAKTURY NOT IN
                          (SELECT     IDPozKat
                            FROM          FakturyPoznanKatowice
                            WHERE      (DATEPART(year, DataWystawieniaPozKat) = @rok) AND (DATEPART(week, DataWystawieniaPozKat) = @nrTygodnia)))";
            this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrTygodnia", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[7].Connection = this.Connection;
            this._commandCollection[7].CommandText = "SELECT     ID_FAKTURY, NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC" +
                "_WYSTAWIENIA, ID_SPRZEDAWCY, ID_NABYWCY, \r\n                      DATA_SPRZEDAZY," +
                " PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPOSOB_ZAPLATY, TERMIN_ZAPLATY, ZAPLACON" +
                "O, BYL_WYDRUK, \r\n                      NABYWCA_ADRES, SPRZEDAWCA_ADRES, SPRZEDAW" +
                "CA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT, \r\n         " +
                "             EXPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, KOREKTA," +
                " zaplata_data, zaplata_opis, Zaliczka_Brutto, Zaliczka_Data, \r\n                 " +
                "     waluta_brutto, waluta_miano, waluta_kurs, waluta_przelicznik, waluta_kurs_z" +
                "_dnia, waluta_tabela_nr, idZamowienia, idFakturyKorekta, \r\n                     " +
                " idFakturyVAT\r\nFROM         FAKTURY\r\nWHERE     (YEAR(DATA_WYSTAWIENIA) = @rok) A" +
                "ND (DATEPART(week, DATA_WYSTAWIENIA) = @nrTygodnia) AND (KOREKTA = 0) AND (ID_FK" +
                "_KOR IS NULL) \r\n                      AND (ID_SPRZEDAWCY = @agencja) AND (NUMER_" +
                "ROZ <> \'POZ\') AND (NUMER_ROZ <> \'KAT\') AND (MONTH(DATA_WYSTAWIENIA) = @ms)\r\nUNIO" +
                "N ALL\r\nSELECT     KOREKTY.ID_FAKTURY, KOREKTY.NUMER, KOREKTY.NUMER_ROZ, KOREKTY." +
                "NUMER_ROK, KOREKTY.DATA_WYSTAWIENIA, \r\n                      KOREKTY.MIEJSCOWOSC" +
                "_WYSTAWIENIA, KOREKTY.ID_SPRZEDAWCY, KOREKTY.ID_NABYWCY, KOREKTY.DATA_SPRZEDAZY," +
                " \r\n                      KOREKTY.PODPIS_WYSTAWIL, KOREKTY.PODPIS_ODEBRAL, KOREKT" +
                "Y.opis, KOREKTY.SPOSOB_ZAPLATY, KOREKTY.TERMIN_ZAPLATY, \r\n                      " +
                "KOREKTY.ZAPLACONO, KOREKTY.BYL_WYDRUK, KOREKTY.NABYWCA_ADRES, KOREKTY.SPRZEDAWCA" +
                "_ADRES, KOREKTY.SPRZEDAWCA_NIP, \r\n                      KOREKTY.NABYWCA_NIP, KOR" +
                "EKTY.FAKTURA_TYP, KOREKTY.FAKTURA_PODTYP, KOREKTY.ID_KONTA, KOREKTY.EKSPORT, \r\n " +
                "                     KOREKTY.EXPORTED, KOREKTY.ID_TYTUL, KOREKTY.EXPORTED_DATA, " +
                "KOREKTY.suma_zaplat, KOREKTY.ID_FK_KOR, KOREKTY.KOREKTA, \r\n                     " +
                " KOREKTY.zaplata_data, KOREKTY.zaplata_opis, KOREKTY.Zaliczka_Brutto, KOREKTY.Za" +
                "liczka_Data, KOREKTY.waluta_brutto, \r\n                      KOREKTY.waluta_miano" +
                ", KOREKTY.waluta_kurs, KOREKTY.waluta_przelicznik, KOREKTY.waluta_kurs_z_dnia, K" +
                "OREKTY.waluta_tabela_nr, \r\n                      KOREKTY.idZamowienia, KOREKTY.i" +
                "dFakturyKorekta, KOREKTY.idFakturyVAT\r\nFROM         FAKTURY AS FAKTURY_1 LEFT OU" +
                "TER JOIN\r\n                      FAKTURY AS KOREKTY ON FAKTURY_1.ID_FK_KOR = KORE" +
                "KTY.ID_FAKTURY\r\nWHERE     (FAKTURY_1.ID_FK_KOR IS NOT NULL) AND (KOREKTY.ID_FAKT" +
                "URY IS NOT NULL) AND (YEAR(FAKTURY_1.DATA_WYSTAWIENIA) = @rok) AND \r\n           " +
                "           (DATEPART(week, FAKTURY_1.DATA_WYSTAWIENIA) = @nrTygodnia) AND (FAKTU" +
                "RY_1.ID_SPRZEDAWCY = @agencja) AND \r\n                      (FAKTURY_1.NUMER_ROZ " +
                "<> \'POZ\') AND (FAKTURY_1.NUMER_ROZ <> \'KAT\') AND (MONTH(FAKTURY_1.DATA_WYSTAWIEN" +
                "IA) = @ms)";
            this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrTygodnia", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[8].Connection = this.Connection;
            this._commandCollection[8].CommandText = @"SELECT DISTINCT 
                      F.NUMER, F.NUMER_ROZ, F.NUMER_ROK, F.DATA_WYSTAWIENIA, F.ZAPLACONO, F.suma_zaplat, F.KOREKTA, F.waluta_miano, F.EKSPORT, 
                      FPK.NrTygodnia, F.ID_FAKTURY
FROM         FAKTURY AS F LEFT OUTER JOIN
                      FakturyPoznanKatowice AS FPK ON FPK.ID = F.ID_FAKTURY
WHERE     F.NUMER_ROZ = @agency AND DATEPART(year,F.DATA_WYSTAWIENIA)=@year AND DATEPART(month,F.DATA_WYSTAWIENIA)=@month";
            this._commandCollection[8].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agency", global::System.Data.SqlDbType.NVarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, "NUMER_ROZ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@year", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@month", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.FAKTURYDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBartersByWeekNumber(REKLAMADataSet.FAKTURYDataTable dataTable, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetBartersByWeekNumber(decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFakturaKorekta(REKLAMADataSet.FAKTURYDataTable dataTable, global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetDataByIdFakturaKorekta(global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.FAKTURYDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetDataByFaktury(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdNabywcy(REKLAMADataSet.FAKTURYDataTable dataTable, global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetDataByIdNabywcy(global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdZamowienia(REKLAMADataSet.FAKTURYDataTable dataTable, global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetDataByIdZamowienia(global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNrTygodniaWRoku(REKLAMADataSet.FAKTURYDataTable dataTable, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[6];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetDataByNrTygodniaWRoku(decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[6];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNrTygodniaWRokuZKorekta(REKLAMADataSet.FAKTURYDataTable dataTable, decimal ms, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[7];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(ms));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetDataByNrTygodniaWRokuZKorekta(decimal ms, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[7];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(ms));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillInvoicesByAgencyYearMonth(REKLAMADataSet.FAKTURYDataTable dataTable, string agency, decimal year, decimal month) {
            this.Adapter.SelectCommand = this.CommandCollection[8];
            if ((agency == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agency));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(year));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(month));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURYDataTable GetInvoicesByAgencyYearMonth(string agency, decimal year, decimal month) {
            this.Adapter.SelectCommand = this.CommandCollection[8];
            if ((agency == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agency));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(year));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(month));
            REKLAMADataSet.FAKTURYDataTable dataTable = new REKLAMADataSet.FAKTURYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.FAKTURYDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "FAKTURY");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_ID_FAKTURY) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID_FAKTURY));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    global::System.Nullable<int> NUMER, 
                    string NUMER_ROZ, 
                    global::System.Nullable<int> NUMER_ROK, 
                    global::System.Nullable<global::System.DateTime> DATA_WYSTAWIENIA, 
                    string MIEJSCOWOSC_WYSTAWIENIA, 
                    global::System.Nullable<int> ID_SPRZEDAWCY, 
                    global::System.Nullable<int> ID_NABYWCY, 
                    global::System.Nullable<global::System.DateTime> DATA_SPRZEDAZY, 
                    string PODPIS_WYSTAWIL, 
                    string PODPIS_ODEBRAL, 
                    string opis, 
                    string SPOSOB_ZAPLATY, 
                    global::System.Nullable<global::System.DateTime> TERMIN_ZAPLATY, 
                    global::System.Nullable<bool> ZAPLACONO, 
                    global::System.Nullable<bool> BYL_WYDRUK, 
                    string NABYWCA_ADRES, 
                    string SPRZEDAWCA_ADRES, 
                    string SPRZEDAWCA_NIP, 
                    string NABYWCA_NIP, 
                    global::System.Nullable<short> FAKTURA_TYP, 
                    global::System.Nullable<short> FAKTURA_PODTYP, 
                    global::System.Nullable<short> ID_KONTA, 
                    bool EKSPORT, 
                    bool EXPORTED, 
                    global::System.Nullable<short> ID_TYTUL, 
                    global::System.Nullable<global::System.DateTime> EXPORTED_DATA, 
                    global::System.Nullable<decimal> suma_zaplat, 
                    global::System.Nullable<int> ID_FK_KOR, 
                    global::System.Nullable<global::System.DateTime> zaplata_data, 
                    string zaplata_opis, 
                    global::System.Nullable<decimal> Zaliczka_Brutto, 
                    global::System.Nullable<global::System.DateTime> Zaliczka_Data, 
                    global::System.Nullable<double> waluta_brutto, 
                    string waluta_miano, 
                    global::System.Nullable<double> waluta_kurs, 
                    global::System.Nullable<int> waluta_przelicznik, 
                    global::System.Nullable<global::System.DateTime> waluta_kurs_z_dnia, 
                    string waluta_tabela_nr, 
                    global::System.Nullable<int> idZamowienia, 
                    global::System.Nullable<int> idFakturyKorekta, 
                    bool KOREKTA, 
                    global::System.Nullable<int> idFakturyVAT) {
            if ((NUMER.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((int)(NUMER.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((NUMER_ROZ == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(NUMER_ROZ));
            }
            if ((NUMER_ROK.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((int)(NUMER_ROK.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((DATA_WYSTAWIENIA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(DATA_WYSTAWIENIA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((MIEJSCOWOSC_WYSTAWIENIA == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(MIEJSCOWOSC_WYSTAWIENIA));
            }
            if ((ID_SPRZEDAWCY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((int)(ID_SPRZEDAWCY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((ID_NABYWCY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((int)(ID_NABYWCY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((DATA_SPRZEDAZY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(DATA_SPRZEDAZY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((PODPIS_WYSTAWIL == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(PODPIS_WYSTAWIL));
            }
            if ((PODPIS_ODEBRAL == null)) {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = ((string)(PODPIS_ODEBRAL));
            }
            if ((opis == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(opis));
            }
            if ((SPOSOB_ZAPLATY == null)) {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = ((string)(SPOSOB_ZAPLATY));
            }
            if ((TERMIN_ZAPLATY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(TERMIN_ZAPLATY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((ZAPLACONO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((bool)(ZAPLACONO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((BYL_WYDRUK.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(BYL_WYDRUK.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((NABYWCA_ADRES == null)) {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = ((string)(NABYWCA_ADRES));
            }
            if ((SPRZEDAWCA_ADRES == null)) {
                this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = ((string)(SPRZEDAWCA_ADRES));
            }
            if ((SPRZEDAWCA_NIP == null)) {
                this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = ((string)(SPRZEDAWCA_NIP));
            }
            if ((NABYWCA_NIP == null)) {
                this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = ((string)(NABYWCA_NIP));
            }
            if ((FAKTURA_TYP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[19].Value = ((short)(FAKTURA_TYP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_PODTYP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[20].Value = ((short)(FAKTURA_PODTYP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            if ((ID_KONTA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[21].Value = ((short)(ID_KONTA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[22].Value = ((bool)(EKSPORT));
            this.Adapter.InsertCommand.Parameters[23].Value = ((bool)(EXPORTED));
            if ((ID_TYTUL.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[24].Value = ((short)(ID_TYTUL.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((EXPORTED_DATA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[25].Value = ((System.DateTime)(EXPORTED_DATA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            if ((suma_zaplat.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[26].Value = ((decimal)(suma_zaplat.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((ID_FK_KOR.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[27].Value = ((int)(ID_FK_KOR.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((zaplata_data.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[28].Value = ((System.DateTime)(zaplata_data.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((zaplata_opis == null)) {
                this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[29].Value = ((string)(zaplata_opis));
            }
            if ((Zaliczka_Brutto.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[30].Value = ((decimal)(Zaliczka_Brutto.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            if ((Zaliczka_Data.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[31].Value = ((System.DateTime)(Zaliczka_Data.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            if ((waluta_brutto.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[32].Value = ((double)(waluta_brutto.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            if ((waluta_miano == null)) {
                this.Adapter.InsertCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[33].Value = ((string)(waluta_miano));
            }
            if ((waluta_kurs.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[34].Value = ((double)(waluta_kurs.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[34].Value = global::System.DBNull.Value;
            }
            if ((waluta_przelicznik.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[35].Value = ((int)(waluta_przelicznik.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            if ((waluta_kurs_z_dnia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[36].Value = ((System.DateTime)(waluta_kurs_z_dnia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value;
            }
            if ((waluta_tabela_nr == null)) {
                this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[37].Value = ((string)(waluta_tabela_nr));
            }
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[38].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            if ((idFakturyKorekta.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[39].Value = ((int)(idFakturyKorekta.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[40].Value = ((bool)(KOREKTA));
            if ((idFakturyVAT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[41].Value = ((int)(idFakturyVAT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> NUMER, 
                    string NUMER_ROZ, 
                    global::System.Nullable<int> NUMER_ROK, 
                    global::System.Nullable<global::System.DateTime> DATA_WYSTAWIENIA, 
                    string MIEJSCOWOSC_WYSTAWIENIA, 
                    global::System.Nullable<int> ID_SPRZEDAWCY, 
                    global::System.Nullable<int> ID_NABYWCY, 
                    global::System.Nullable<global::System.DateTime> DATA_SPRZEDAZY, 
                    string PODPIS_WYSTAWIL, 
                    string PODPIS_ODEBRAL, 
                    string opis, 
                    string SPOSOB_ZAPLATY, 
                    global::System.Nullable<global::System.DateTime> TERMIN_ZAPLATY, 
                    global::System.Nullable<bool> ZAPLACONO, 
                    global::System.Nullable<bool> BYL_WYDRUK, 
                    string NABYWCA_ADRES, 
                    string SPRZEDAWCA_ADRES, 
                    string SPRZEDAWCA_NIP, 
                    string NABYWCA_NIP, 
                    global::System.Nullable<short> FAKTURA_TYP, 
                    global::System.Nullable<short> FAKTURA_PODTYP, 
                    global::System.Nullable<short> ID_KONTA, 
                    bool EKSPORT, 
                    bool EXPORTED, 
                    global::System.Nullable<short> ID_TYTUL, 
                    global::System.Nullable<global::System.DateTime> EXPORTED_DATA, 
                    global::System.Nullable<decimal> suma_zaplat, 
                    global::System.Nullable<int> ID_FK_KOR, 
                    global::System.Nullable<global::System.DateTime> zaplata_data, 
                    string zaplata_opis, 
                    global::System.Nullable<decimal> Zaliczka_Brutto, 
                    global::System.Nullable<global::System.DateTime> Zaliczka_Data, 
                    global::System.Nullable<double> waluta_brutto, 
                    string waluta_miano, 
                    global::System.Nullable<double> waluta_kurs, 
                    global::System.Nullable<int> waluta_przelicznik, 
                    global::System.Nullable<global::System.DateTime> waluta_kurs_z_dnia, 
                    string waluta_tabela_nr, 
                    global::System.Nullable<int> idZamowienia, 
                    global::System.Nullable<int> idFakturyKorekta, 
                    bool KOREKTA, 
                    global::System.Nullable<int> idFakturyVAT, 
                    int Original_ID_FAKTURY, 
                    int ID_FAKTURY) {
            if ((NUMER.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(NUMER.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((NUMER_ROZ == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(NUMER_ROZ));
            }
            if ((NUMER_ROK.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(NUMER_ROK.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((DATA_WYSTAWIENIA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(DATA_WYSTAWIENIA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((MIEJSCOWOSC_WYSTAWIENIA == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(MIEJSCOWOSC_WYSTAWIENIA));
            }
            if ((ID_SPRZEDAWCY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(ID_SPRZEDAWCY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((ID_NABYWCY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(ID_NABYWCY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((DATA_SPRZEDAZY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(DATA_SPRZEDAZY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((PODPIS_WYSTAWIL == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(PODPIS_WYSTAWIL));
            }
            if ((PODPIS_ODEBRAL == null)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(PODPIS_ODEBRAL));
            }
            if ((opis == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(opis));
            }
            if ((SPOSOB_ZAPLATY == null)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(SPOSOB_ZAPLATY));
            }
            if ((TERMIN_ZAPLATY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(TERMIN_ZAPLATY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((ZAPLACONO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(ZAPLACONO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((BYL_WYDRUK.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(BYL_WYDRUK.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((NABYWCA_ADRES == null)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(NABYWCA_ADRES));
            }
            if ((SPRZEDAWCA_ADRES == null)) {
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(SPRZEDAWCA_ADRES));
            }
            if ((SPRZEDAWCA_NIP == null)) {
                this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(SPRZEDAWCA_NIP));
            }
            if ((NABYWCA_NIP == null)) {
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(NABYWCA_NIP));
            }
            if ((FAKTURA_TYP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((short)(FAKTURA_TYP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            if ((FAKTURA_PODTYP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[20].Value = ((short)(FAKTURA_PODTYP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            if ((ID_KONTA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((short)(ID_KONTA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[22].Value = ((bool)(EKSPORT));
            this.Adapter.UpdateCommand.Parameters[23].Value = ((bool)(EXPORTED));
            if ((ID_TYTUL.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((short)(ID_TYTUL.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            if ((EXPORTED_DATA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(EXPORTED_DATA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            if ((suma_zaplat.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((decimal)(suma_zaplat.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((ID_FK_KOR.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(ID_FK_KOR.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((zaplata_data.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((System.DateTime)(zaplata_data.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((zaplata_opis == null)) {
                this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(zaplata_opis));
            }
            if ((Zaliczka_Brutto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Zaliczka_Brutto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            if ((Zaliczka_Data.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[31].Value = ((System.DateTime)(Zaliczka_Data.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            if ((waluta_brutto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((double)(waluta_brutto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
            }
            if ((waluta_miano == null)) {
                this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(waluta_miano));
            }
            if ((waluta_kurs.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[34].Value = ((double)(waluta_kurs.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
            }
            if ((waluta_przelicznik.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(waluta_przelicznik.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            if ((waluta_kurs_z_dnia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(waluta_kurs_z_dnia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
            }
            if ((waluta_tabela_nr == null)) {
                this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(waluta_tabela_nr));
            }
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            if ((idFakturyKorekta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(idFakturyKorekta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[40].Value = ((bool)(KOREKTA));
            if ((idFakturyVAT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(idFakturyVAT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_ID_FAKTURY));
            this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(ID_FAKTURY));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> NUMER, 
                    string NUMER_ROZ, 
                    global::System.Nullable<int> NUMER_ROK, 
                    global::System.Nullable<global::System.DateTime> DATA_WYSTAWIENIA, 
                    string MIEJSCOWOSC_WYSTAWIENIA, 
                    global::System.Nullable<int> ID_SPRZEDAWCY, 
                    global::System.Nullable<int> ID_NABYWCY, 
                    global::System.Nullable<global::System.DateTime> DATA_SPRZEDAZY, 
                    string PODPIS_WYSTAWIL, 
                    string PODPIS_ODEBRAL, 
                    string opis, 
                    string SPOSOB_ZAPLATY, 
                    global::System.Nullable<global::System.DateTime> TERMIN_ZAPLATY, 
                    global::System.Nullable<bool> ZAPLACONO, 
                    global::System.Nullable<bool> BYL_WYDRUK, 
                    string NABYWCA_ADRES, 
                    string SPRZEDAWCA_ADRES, 
                    string SPRZEDAWCA_NIP, 
                    string NABYWCA_NIP, 
                    global::System.Nullable<short> FAKTURA_TYP, 
                    global::System.Nullable<short> FAKTURA_PODTYP, 
                    global::System.Nullable<short> ID_KONTA, 
                    bool EKSPORT, 
                    bool EXPORTED, 
                    global::System.Nullable<short> ID_TYTUL, 
                    global::System.Nullable<global::System.DateTime> EXPORTED_DATA, 
                    global::System.Nullable<decimal> suma_zaplat, 
                    global::System.Nullable<int> ID_FK_KOR, 
                    global::System.Nullable<global::System.DateTime> zaplata_data, 
                    string zaplata_opis, 
                    global::System.Nullable<decimal> Zaliczka_Brutto, 
                    global::System.Nullable<global::System.DateTime> Zaliczka_Data, 
                    global::System.Nullable<double> waluta_brutto, 
                    string waluta_miano, 
                    global::System.Nullable<double> waluta_kurs, 
                    global::System.Nullable<int> waluta_przelicznik, 
                    global::System.Nullable<global::System.DateTime> waluta_kurs_z_dnia, 
                    string waluta_tabela_nr, 
                    global::System.Nullable<int> idZamowienia, 
                    global::System.Nullable<int> idFakturyKorekta, 
                    bool KOREKTA, 
                    global::System.Nullable<int> idFakturyVAT, 
                    int Original_ID_FAKTURY) {
            return this.Update(NUMER, NUMER_ROZ, NUMER_ROK, DATA_WYSTAWIENIA, MIEJSCOWOSC_WYSTAWIENIA, ID_SPRZEDAWCY, ID_NABYWCY, DATA_SPRZEDAZY, PODPIS_WYSTAWIL, PODPIS_ODEBRAL, opis, SPOSOB_ZAPLATY, TERMIN_ZAPLATY, ZAPLACONO, BYL_WYDRUK, NABYWCA_ADRES, SPRZEDAWCA_ADRES, SPRZEDAWCA_NIP, NABYWCA_NIP, FAKTURA_TYP, FAKTURA_PODTYP, ID_KONTA, EKSPORT, EXPORTED, ID_TYTUL, EXPORTED_DATA, suma_zaplat, ID_FK_KOR, zaplata_data, zaplata_opis, Zaliczka_Brutto, Zaliczka_Data, waluta_brutto, waluta_miano, waluta_kurs, waluta_przelicznik, waluta_kurs_z_dnia, waluta_tabela_nr, idZamowienia, idFakturyKorekta, KOREKTA, idFakturyVAT, Original_ID_FAKTURY, Original_ID_FAKTURY);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class FAKTURA_DETAILSTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public FAKTURA_DETAILSTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "FAKTURA_DETAILS";
            tableMapping.ColumnMappings.Add("ID_FAKTURA_DETAILS", "ID_FAKTURA_DETAILS");
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("MIESIAC", "MIESIAC");
            tableMapping.ColumnMappings.Add("NAZWA_USLUGI", "NAZWA_USLUGI");
            tableMapping.ColumnMappings.Add("SYMBOL_SWW", "SYMBOL_SWW");
            tableMapping.ColumnMappings.Add("JM", "JM");
            tableMapping.ColumnMappings.Add("ILOSC", "ILOSC");
            tableMapping.ColumnMappings.Add("CENA_JEDN", "CENA_JEDN");
            tableMapping.ColumnMappings.Add("UPUST_PR", "UPUST_PR");
            tableMapping.ColumnMappings.Add("UPUST_NETTO", "UPUST_NETTO");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("S_VAT", "S_VAT");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("TYTUL", "TYTUL");
            tableMapping.ColumnMappings.Add("NR_WYDANIA", "NR_WYDANIA");
            tableMapping.ColumnMappings.Add("TYP", "TYP");
            tableMapping.ColumnMappings.Add("PODTYP", "PODTYP");
            tableMapping.ColumnMappings.Add("wyroznienie", "wyroznienie");
            tableMapping.ColumnMappings.Add("reklamaId", "reklamaId");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM FAKTURA_DETAILS\r\nWHERE     (ID_FAKTURY = @id_faktury)";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_faktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [FAKTURA_DETAILS] ([ID_FAKTURY], [ROK], [MIESIAC], [NAZWA_USLUGI], [SYMBOL_SWW], [JM], [ILOSC], [CENA_JEDN], [UPUST_PR], [UPUST_NETTO], [NETTO], [S_VAT], [VAT], [BRUTTO], [TYTUL], [NR_WYDANIA], [TYP], [PODTYP], [wyroznienie], [reklamaId]) VALUES (@ID_FAKTURY, @ROK, @MIESIAC, @NAZWA_USLUGI, @SYMBOL_SWW, @JM, @ILOSC, @CENA_JEDN, @UPUST_PR, @UPUST_NETTO, @NETTO, @S_VAT, @VAT, @BRUTTO, @TYTUL, @NR_WYDANIA, @TYP, @PODTYP, @wyroznienie, @reklamaId);
SELECT ID_FAKTURA_DETAILS, ID_FAKTURY, ROK, MIESIAC, NAZWA_USLUGI, SYMBOL_SWW, JM, ILOSC, CENA_JEDN, UPUST_PR, UPUST_NETTO, NETTO, S_VAT, VAT, BRUTTO, TYTUL, NR_WYDANIA, TYP, PODTYP, wyroznienie, reklamaId FROM FAKTURA_DETAILS WHERE (ID_FAKTURA_DETAILS = SCOPE_IDENTITY()) ORDER BY ROK, MIESIAC";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FAKTURY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROK", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MIESIAC", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MIESIAC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NAZWA_USLUGI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NAZWA_USLUGI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL_SWW", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL_SWW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ILOSC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ILOSC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CENA_JEDN", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CENA_JEDN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UPUST_PR", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UPUST_PR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UPUST_NETTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UPUST_NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NETTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@S_VAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "S_VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VAT", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BRUTTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BRUTTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYTUL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NR_WYDANIA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NR_WYDANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PODTYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PODTYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [FAKTURA_DETAILS] SET [ID_FAKTURY] = @ID_FAKTURY, [ROK] = @ROK, [MIESIAC] = @MIESIAC, [NAZWA_USLUGI] = @NAZWA_USLUGI, [SYMBOL_SWW] = @SYMBOL_SWW, [JM] = @JM, [ILOSC] = @ILOSC, [CENA_JEDN] = @CENA_JEDN, [UPUST_PR] = @UPUST_PR, [UPUST_NETTO] = @UPUST_NETTO, [NETTO] = @NETTO, [S_VAT] = @S_VAT, [VAT] = @VAT, [BRUTTO] = @BRUTTO, [TYTUL] = @TYTUL, [NR_WYDANIA] = @NR_WYDANIA, [TYP] = @TYP, [PODTYP] = @PODTYP, [wyroznienie] = @wyroznienie, [reklamaId] = @reklamaId WHERE (([ID_FAKTURA_DETAILS] = @Original_ID_FAKTURA_DETAILS));
SELECT ID_FAKTURA_DETAILS, ID_FAKTURY, ROK, MIESIAC, NAZWA_USLUGI, SYMBOL_SWW, JM, ILOSC, CENA_JEDN, UPUST_PR, UPUST_NETTO, NETTO, S_VAT, VAT, BRUTTO, TYTUL, NR_WYDANIA, TYP, PODTYP, wyroznienie, reklamaId FROM FAKTURA_DETAILS WHERE (ID_FAKTURA_DETAILS = @ID_FAKTURA_DETAILS) ORDER BY ROK, MIESIAC";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FAKTURY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROK", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MIESIAC", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MIESIAC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NAZWA_USLUGI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NAZWA_USLUGI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL_SWW", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL_SWW", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JM", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ILOSC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ILOSC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CENA_JEDN", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CENA_JEDN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UPUST_PR", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UPUST_PR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UPUST_NETTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UPUST_NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NETTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@S_VAT", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "S_VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VAT", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "VAT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BRUTTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BRUTTO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYTUL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NR_WYDANIA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NR_WYDANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PODTYP", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PODTYP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wyroznienie", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wyroznienie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_FAKTURA_DETAILS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURA_DETAILS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_FAKTURA_DETAILS", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURA_DETAILS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     ID_FAKTURA_DETAILS, ID_FAKTURY, ROK, MIESIAC, NAZWA_USLUGI, SYMBOL_SWW, JM, ILOSC, CENA_JEDN, UPUST_PR, UPUST_NETTO, NETTO, 
                      S_VAT, VAT, BRUTTO, TYTUL, NR_WYDANIA, TYP, PODTYP, wyroznienie, reklamaId
FROM         FAKTURA_DETAILS
ORDER BY ROK, MIESIAC";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "DELETE FROM [FAKTURA_DETAILS] WHERE (id_faktury = @id_faktury)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_faktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT     FAKTURA_DETAILS.ID_FAKTURA_DETAILS, FAKTURA_DETAILS.ID_FAKTURY, FAKTURA_DETAILS.ROK, FAKTURA_DETAILS.MIESIAC, 
                      FAKTURA_DETAILS.NAZWA_USLUGI, FAKTURA_DETAILS.SYMBOL_SWW, FAKTURA_DETAILS.JM, FAKTURA_DETAILS.ILOSC, 
                      FAKTURA_DETAILS.CENA_JEDN, FAKTURA_DETAILS.UPUST_PR, FAKTURA_DETAILS.UPUST_NETTO, FAKTURA_DETAILS.NETTO, 
                      FAKTURA_DETAILS.S_VAT, FAKTURA_DETAILS.VAT, FAKTURA_DETAILS.BRUTTO, FAKTURA_DETAILS.TYTUL, FAKTURA_DETAILS.NR_WYDANIA, 
                      FAKTURA_DETAILS.TYP, FAKTURA_DETAILS.PODTYP, FAKTURA_DETAILS.wyroznienie, FAKTURA_DETAILS.reklamaId
FROM         FAKTURA_DETAILS LEFT OUTER JOIN
                      FAKTURY ON FAKTURA_DETAILS.ID_FAKTURY = FAKTURY.ID_FAKTURY
WHERE     (YEAR(FAKTURY.DATA_WYSTAWIENIA) = @rok) AND (DATEPART(week, FAKTURY.DATA_WYSTAWIENIA) = @nrTygodnia) AND (FAKTURY.KOREKTA = 0)
                       AND (FAKTURY.ID_SPRZEDAWCY = @agencja) AND (FAKTURY.NUMER_ROZ <> 'POZ') AND (FAKTURY.NUMER_ROZ <> 'KAT') AND 
                      (MONTH(FAKTURY.DATA_WYSTAWIENIA) = @ms) AND (FAKTURY.SPOSOB_ZAPLATY = 'Barter')
ORDER BY FAKTURA_DETAILS.ROK, FAKTURA_DETAILS.MIESIAC";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrTygodnia", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT     BRUTTO, CENA_JEDN, ID_FAKTURA_DETAILS, ID_FAKTURY, ILOSC, JM, MIESIAC, NAZWA_USLUGI, NETTO, NR_WYDANIA, PODTYP, ROK, 
                      SYMBOL_SWW, S_VAT, TYP, TYTUL, UPUST_NETTO, UPUST_PR, VAT, wyroznienie, reklamaId
FROM         FAKTURA_DETAILS
WHERE     (ID_FAKTURY = @param)
ORDER BY ROK, MIESIAC";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[4].Connection = this.Connection;
            this._commandCollection[4].CommandText = "SELECT     FAKTURA_DETAILS.ID_FAKTURA_DETAILS, FAKTURA_DETAILS.ID_FAKTURY, FAKTUR" +
                "A_DETAILS.ROK, FAKTURA_DETAILS.MIESIAC, \r\n                      FAKTURA_DETAILS." +
                "NAZWA_USLUGI, FAKTURA_DETAILS.SYMBOL_SWW, FAKTURA_DETAILS.JM, FAKTURA_DETAILS.IL" +
                "OSC, \r\n                      FAKTURA_DETAILS.CENA_JEDN, FAKTURA_DETAILS.UPUST_PR" +
                ", FAKTURA_DETAILS.UPUST_NETTO, FAKTURA_DETAILS.NETTO, \r\n                      FA" +
                "KTURA_DETAILS.S_VAT, FAKTURA_DETAILS.VAT, FAKTURA_DETAILS.BRUTTO, FAKTURA_DETAIL" +
                "S.TYTUL, FAKTURA_DETAILS.NR_WYDANIA, \r\n                      FAKTURA_DETAILS.TYP" +
                ", FAKTURA_DETAILS.PODTYP, FAKTURA_DETAILS.wyroznienie, FAKTURA_DETAILS.reklamaId" +
                "\r\nFROM         FAKTURA_DETAILS LEFT OUTER JOIN\r\n                      FAKTURY ON" +
                " FAKTURA_DETAILS.ID_FAKTURY = FAKTURY.ID_FAKTURY\r\nWHERE     (YEAR(FAKTURY.DATA_W" +
                "YSTAWIENIA) = @rok) AND (DATEPART(week, FAKTURY.DATA_WYSTAWIENIA) = @nrTygodnia)" +
                " AND (FAKTURY.KOREKTA = 0)\r\n                       AND (FAKTURY.ID_FK_KOR IS NUL" +
                "L) AND (FAKTURY.ID_SPRZEDAWCY = @agencja) AND (FAKTURY.NUMER_ROZ <> \'POZ\') AND \r" +
                "\n                      (FAKTURY.NUMER_ROZ <> \'KAT\') AND (MONTH(FAKTURY.DATA_WYST" +
                "AWIENIA) = @ms)\r\nUNION ALL\r\nSELECT     FAKTURA_DETAILS_KOREKTY.ID_FAKTURA_DETAIL" +
                "S, FAKTURA_DETAILS_KOREKTY.ID_FAKTURY, FAKTURA_DETAILS_KOREKTY.ROK, \r\n          " +
                "            FAKTURA_DETAILS_KOREKTY.MIESIAC, FAKTURA_DETAILS_KOREKTY.NAZWA_USLUG" +
                "I, FAKTURA_DETAILS_KOREKTY.SYMBOL_SWW, \r\n                      FAKTURA_DETAILS_K" +
                "OREKTY.JM, FAKTURA_DETAILS_KOREKTY.ILOSC, FAKTURA_DETAILS_KOREKTY.CENA_JEDN, \r\n " +
                "                     FAKTURA_DETAILS_KOREKTY.UPUST_PR, FAKTURA_DETAILS_KOREKTY.U" +
                "PUST_NETTO, FAKTURA_DETAILS_KOREKTY.NETTO, \r\n                      FAKTURA_DETAI" +
                "LS_KOREKTY.S_VAT, FAKTURA_DETAILS_KOREKTY.VAT, FAKTURA_DETAILS_KOREKTY.BRUTTO, \r" +
                "\n                      FAKTURA_DETAILS_KOREKTY.TYTUL, FAKTURA_DETAILS_KOREKTY.NR" +
                "_WYDANIA, FAKTURA_DETAILS_KOREKTY.TYP, \r\n                      FAKTURA_DETAILS_K" +
                "OREKTY.PODTYP, FAKTURA_DETAILS_KOREKTY.wyroznienie, FAKTURA_DETAILS_KOREKTY.rekl" +
                "amaId\r\nFROM         FAKTURY AS FAKTURY_1 LEFT OUTER JOIN\r\n                      " +
                "FAKTURY AS KOREKTY ON FAKTURY_1.ID_FK_KOR = KOREKTY.ID_FAKTURY LEFT OUTER JOIN\r\n" +
                "                      FAKTURA_DETAILS AS FAKTURA_DETAILS_KOREKTY ON KOREKTY.ID_F" +
                "AKTURY = FAKTURA_DETAILS_KOREKTY.ID_FAKTURY\r\nWHERE     (KOREKTY.ID_FAKTURY IS NO" +
                "T NULL) AND (FAKTURY_1.ID_FK_KOR IS NOT NULL) AND (YEAR(FAKTURY_1.DATA_WYSTAWIEN" +
                "IA) = @rok) AND \r\n                      (DATEPART(week, FAKTURY_1.DATA_WYSTAWIEN" +
                "IA) = @nrTygodnia) AND (FAKTURY_1.ID_SPRZEDAWCY = @agencja) AND \r\n              " +
                "        (FAKTURY_1.NUMER_ROZ <> \'POZ\') AND (FAKTURY_1.NUMER_ROZ <> \'KAT\') AND (M" +
                "ONTH(FAKTURY_1.DATA_WYSTAWIENIA) = @ms)";
            this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrTygodnia", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[5].Connection = this.Connection;
            this._commandCollection[5].CommandText = @"SELECT     FAKTURA_DETAILS.ID_FAKTURA_DETAILS, FAKTURA_DETAILS.ID_FAKTURY, FAKTURA_DETAILS.ROK, FAKTURA_DETAILS.MIESIAC, 
                      FAKTURA_DETAILS.NAZWA_USLUGI, FAKTURA_DETAILS.SYMBOL_SWW, FAKTURA_DETAILS.JM, FAKTURA_DETAILS.ILOSC, 
                      FAKTURA_DETAILS.CENA_JEDN, FAKTURA_DETAILS.UPUST_PR, FAKTURA_DETAILS.UPUST_NETTO, FAKTURA_DETAILS.NETTO, 
                      FAKTURA_DETAILS.S_VAT, FAKTURA_DETAILS.VAT, FAKTURA_DETAILS.BRUTTO, FAKTURA_DETAILS.TYTUL, FAKTURA_DETAILS.NR_WYDANIA, 
                      FAKTURA_DETAILS.TYP, FAKTURA_DETAILS.PODTYP, FAKTURA_DETAILS.wyroznienie, FAKTURA_DETAILS.reklamaId
FROM         FAKTURA_DETAILS LEFT OUTER JOIN
                      FAKTURY ON FAKTURA_DETAILS.ID_FAKTURY = FAKTURY.ID_FAKTURY
WHERE     (YEAR(FAKTURY.DATA_WYSTAWIENIA) = @rok) AND (DATEPART(week, FAKTURY.DATA_WYSTAWIENIA) = @nrTygodnia) AND (FAKTURY.KOREKTA = 0)
                       AND (FAKTURY.ID_SPRZEDAWCY = @agencja) AND (FAKTURY.NUMER_ROZ <> 'POZ') AND (FAKTURY.NUMER_ROZ <> 'KAT') AND 
                      (MONTH(FAKTURY.DATA_WYSTAWIENIA) = @ms) AND (FAKTURY.SPOSOB_ZAPLATY <> 'Barter')
ORDER BY FAKTURA_DETAILS.ROK, FAKTURA_DETAILS.MIESIAC";
            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrTygodnia", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_SPRZEDAWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.FAKTURA_DETAILSDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable = new REKLAMADataSet.FAKTURA_DETAILSDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBarterByWeekNumber(REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURA_DETAILSDataTable GetBartersByWeekNumber(decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable = new REKLAMADataSet.FAKTURA_DETAILSDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIDFaktury(REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable, global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURA_DETAILSDataTable GetDataByIDFaktury(global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable = new REKLAMADataSet.FAKTURA_DETAILSDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNrTygodniaRokZKorekta(REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable, decimal ms, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(ms));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURA_DETAILSDataTable GetDataByNrTygodniaRokZKorekta(decimal ms, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(ms));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable = new REKLAMADataSet.FAKTURA_DETAILSDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByNrTygodniaWRoku(REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable, decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.FAKTURA_DETAILSDataTable GetDataByNrTygodniaWRoku(decimal rok, decimal nrTygodnia, global::System.Nullable<int> agencja, decimal ms) {
            this.Adapter.SelectCommand = this.CommandCollection[5];
            this.Adapter.SelectCommand.Parameters[0].Value = ((decimal)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((decimal)(nrTygodnia));
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(ms));
            REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable = new REKLAMADataSet.FAKTURA_DETAILSDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.FAKTURA_DETAILSDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "FAKTURA_DETAILS");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(global::System.Nullable<int> id_faktury) {
            if ((id_faktury.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(id_faktury.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    global::System.Nullable<int> ID_FAKTURY, 
                    global::System.Nullable<int> ROK, 
                    global::System.Nullable<short> MIESIAC, 
                    string NAZWA_USLUGI, 
                    string SYMBOL_SWW, 
                    string JM, 
                    global::System.Nullable<int> ILOSC, 
                    global::System.Nullable<decimal> CENA_JEDN, 
                    global::System.Nullable<double> UPUST_PR, 
                    global::System.Nullable<decimal> UPUST_NETTO, 
                    global::System.Nullable<decimal> NETTO, 
                    global::System.Nullable<double> S_VAT, 
                    global::System.Nullable<decimal> VAT, 
                    global::System.Nullable<decimal> BRUTTO, 
                    global::System.Nullable<short> TYTUL, 
                    global::System.Nullable<short> NR_WYDANIA, 
                    global::System.Nullable<short> TYP, 
                    global::System.Nullable<short> PODTYP, 
                    global::System.Nullable<bool> wyroznienie, 
                    global::System.Nullable<int> reklamaId) {
            if ((ID_FAKTURY.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ID_FAKTURY.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((ROK.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((int)(ROK.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((MIESIAC.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((short)(MIESIAC.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((NAZWA_USLUGI == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(NAZWA_USLUGI));
            }
            if ((SYMBOL_SWW == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(SYMBOL_SWW));
            }
            if ((JM == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(JM));
            }
            if ((ILOSC.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((int)(ILOSC.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((CENA_JEDN.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(CENA_JEDN.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((UPUST_PR.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[8].Value = ((double)(UPUST_PR.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((UPUST_NETTO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(UPUST_NETTO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((NETTO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(NETTO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((S_VAT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[11].Value = ((double)(S_VAT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((VAT.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(VAT.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((BRUTTO.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(BRUTTO.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((TYTUL.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[14].Value = ((short)(TYTUL.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((NR_WYDANIA.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[15].Value = ((short)(NR_WYDANIA.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((TYP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[16].Value = ((short)(TYP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((PODTYP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[17].Value = ((short)(PODTYP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            if ((wyroznienie.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[18].Value = ((bool)(wyroznienie.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((reklamaId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[19].Value = ((int)(reklamaId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> ID_FAKTURY, 
                    global::System.Nullable<int> ROK, 
                    global::System.Nullable<short> MIESIAC, 
                    string NAZWA_USLUGI, 
                    string SYMBOL_SWW, 
                    string JM, 
                    global::System.Nullable<int> ILOSC, 
                    global::System.Nullable<decimal> CENA_JEDN, 
                    global::System.Nullable<double> UPUST_PR, 
                    global::System.Nullable<decimal> UPUST_NETTO, 
                    global::System.Nullable<decimal> NETTO, 
                    global::System.Nullable<double> S_VAT, 
                    global::System.Nullable<decimal> VAT, 
                    global::System.Nullable<decimal> BRUTTO, 
                    global::System.Nullable<short> TYTUL, 
                    global::System.Nullable<short> NR_WYDANIA, 
                    global::System.Nullable<short> TYP, 
                    global::System.Nullable<short> PODTYP, 
                    global::System.Nullable<bool> wyroznienie, 
                    global::System.Nullable<int> reklamaId, 
                    int Original_ID_FAKTURA_DETAILS, 
                    int ID_FAKTURA_DETAILS) {
            if ((ID_FAKTURY.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(ID_FAKTURY.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((ROK.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(ROK.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((MIESIAC.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((short)(MIESIAC.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((NAZWA_USLUGI == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(NAZWA_USLUGI));
            }
            if ((SYMBOL_SWW == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(SYMBOL_SWW));
            }
            if ((JM == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(JM));
            }
            if ((ILOSC.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(ILOSC.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((CENA_JEDN.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(CENA_JEDN.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((UPUST_PR.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((double)(UPUST_PR.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((UPUST_NETTO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(UPUST_NETTO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((NETTO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(NETTO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((S_VAT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(S_VAT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((VAT.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(VAT.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((BRUTTO.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(BRUTTO.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((TYTUL.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((short)(TYTUL.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            if ((NR_WYDANIA.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((short)(NR_WYDANIA.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
            }
            if ((TYP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[16].Value = ((short)(TYP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((PODTYP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((short)(PODTYP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
            }
            if ((wyroznienie.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[18].Value = ((bool)(wyroznienie.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((reklamaId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(reklamaId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_ID_FAKTURA_DETAILS));
            this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(ID_FAKTURA_DETAILS));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    global::System.Nullable<int> ID_FAKTURY, 
                    global::System.Nullable<int> ROK, 
                    global::System.Nullable<short> MIESIAC, 
                    string NAZWA_USLUGI, 
                    string SYMBOL_SWW, 
                    string JM, 
                    global::System.Nullable<int> ILOSC, 
                    global::System.Nullable<decimal> CENA_JEDN, 
                    global::System.Nullable<double> UPUST_PR, 
                    global::System.Nullable<decimal> UPUST_NETTO, 
                    global::System.Nullable<decimal> NETTO, 
                    global::System.Nullable<double> S_VAT, 
                    global::System.Nullable<decimal> VAT, 
                    global::System.Nullable<decimal> BRUTTO, 
                    global::System.Nullable<short> TYTUL, 
                    global::System.Nullable<short> NR_WYDANIA, 
                    global::System.Nullable<short> TYP, 
                    global::System.Nullable<short> PODTYP, 
                    global::System.Nullable<bool> wyroznienie, 
                    global::System.Nullable<int> reklamaId, 
                    int Original_ID_FAKTURA_DETAILS) {
            return this.Update(ID_FAKTURY, ROK, MIESIAC, NAZWA_USLUGI, SYMBOL_SWW, JM, ILOSC, CENA_JEDN, UPUST_PR, UPUST_NETTO, NETTO, S_VAT, VAT, BRUTTO, TYTUL, NR_WYDANIA, TYP, PODTYP, wyroznienie, reklamaId, Original_ID_FAKTURA_DETAILS, Original_ID_FAKTURA_DETAILS);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
        public virtual int DeleteByIdFaktury(global::System.Nullable<int> id_faktury) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
            if ((id_faktury.HasValue == true)) {
                command.Parameters[0].Value = ((int)(id_faktury.Value));
            }
            else {
                command.Parameters[0].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KL_KLIENCITableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KL_KLIENCITableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "KL_KLIENCI";
            tableMapping.ColumnMappings.Add("ID_KL_KLIENCI", "ID_KL_KLIENCI");
            tableMapping.ColumnMappings.Add("ID_KL_1", "ID_KL_1");
            tableMapping.ColumnMappings.Add("ID_KL_2", "ID_KL_2");
            tableMapping.ColumnMappings.Add("ID_KL_3", "ID_KL_3");
            tableMapping.ColumnMappings.Add("Customerid", "Customerid");
            tableMapping.ColumnMappings.Add("username", "username");
            tableMapping.ColumnMappings.Add("data", "data");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM KL_KLIENCI\r\nWHERE        (ID_KL_KLIENCI = @param)";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [KL_KLIENCI] ([ID_KL_1], [ID_KL_2], [ID_KL_3], [Customerid], [username], [data]) VALUES (@ID_KL_1, @ID_KL_2, @ID_KL_3, @Customerid, @username, @data);
SELECT ID_KL_KLIENCI, ID_KL_1, ID_KL_2, ID_KL_3, Customerid, username, data FROM KL_KLIENCI WHERE (ID_KL_KLIENCI = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Customerid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE       KL_KLIENCI
SET                ID_KL_1 = @ID_KL_1, ID_KL_2 = @ID_KL_2, ID_KL_3 = @ID_KL_3, Customerid = @Customerid, username = @username, data = @data
WHERE        (ID_KL_KLIENCI = @Original_ID_KL_KLIENCI);  
SELECT ID_KL_KLIENCI, ID_KL_1, ID_KL_2, ID_KL_3, Customerid, username, data FROM KL_KLIENCI WHERE (ID_KL_KLIENCI = @ID_KL_KLIENCI)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_2", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_3", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Customerid", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_KL_KLIENCI", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_KL_KLIENCI", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KL_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        ID_KL_KLIENCI, ID_KL_1, ID_KL_2, ID_KL_3, Customerid, username, dat" +
                "a\r\nFROM            KL_KLIENCI";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT        ID_KL_KLIENCI, ID_KL_1, ID_KL_2, ID_KL_3, Customerid, username, dat" +
                "a\r\nFROM            KL_KLIENCI Where (Customerid=@param)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.KL_KLIENCIDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.KL_KLIENCIDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.KL_KLIENCIDataTable dataTable = new REKLAMADataSet.KL_KLIENCIDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.KL_KLIENCIDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KL_KLIENCIDataTable GetDataByCustomerId(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.KL_KLIENCIDataTable dataTable = new REKLAMADataSet.KL_KLIENCIDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.KL_KLIENCIDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "KL_KLIENCI");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int param) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(param));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int ID_KL_1, int ID_KL_2, int ID_KL_3, int Customerid, string username, System.DateTime data) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ID_KL_1));
            this.Adapter.InsertCommand.Parameters[1].Value = ((int)(ID_KL_2));
            this.Adapter.InsertCommand.Parameters[2].Value = ((int)(ID_KL_3));
            this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Customerid));
            if ((username == null)) {
                throw new global::System.ArgumentNullException("username");
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(username));
            }
            this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(data));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ID_KL_1, int ID_KL_2, int ID_KL_3, int Customerid, string username, System.DateTime data, int Original_ID_KL_KLIENCI, int ID_KL_KLIENCI) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(ID_KL_1));
            this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(ID_KL_2));
            this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(ID_KL_3));
            this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Customerid));
            if ((username == null)) {
                throw new global::System.ArgumentNullException("username");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(username));
            }
            this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(data));
            this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_ID_KL_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(ID_KL_KLIENCI));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class ReklamyZestawienieTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public ReklamyZestawienieTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "ReklamyZestawienie";
            tableMapping.ColumnMappings.Add("ReklamaID", "ReklamaID");
            tableMapping.ColumnMappings.Add("CustomerID", "CustomerID");
            tableMapping.ColumnMappings.Add("SYMBOL AKWIZYTORA", "SYMBOL AKWIZYTORA");
            tableMapping.ColumnMappings.Add("TYTUŁ", "TYTUŁ");
            tableMapping.ColumnMappings.Add("TYP", "TYP");
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            tableMapping.ColumnMappings.Add("NICK NAME", "NICK NAME");
            tableMapping.ColumnMappings.Add("DATA ZAMÓWIENIA", "DATA ZAMÓWIENIA");
            tableMapping.ColumnMappings.Add("SZER", "SZER");
            tableMapping.ColumnMappings.Add("WYS", "WYS");
            tableMapping.ColumnMappings.Add("MOD_TYP", "MOD_TYP");
            tableMapping.ColumnMappings.Add("STRONA", "STRONA");
            tableMapping.ColumnMappings.Add("STR NR WT", "STR NR WT");
            tableMapping.ColumnMappings.Add("STR NR PT", "STR NR PT");
            tableMapping.ColumnMappings.Add("KROTNOŚĆ", "KROTNOŚĆ");
            tableMapping.ColumnMappings.Add("ODSTĘP", "ODSTĘP");
            tableMapping.ColumnMappings.Add("KOLOR", "KOLOR");
            tableMapping.ColumnMappings.Add("WSKAZANIE MIEJSCA", "WSKAZANIE MIEJSCA");
            tableMapping.ColumnMappings.Add("RABAT", "RABAT");
            tableMapping.ColumnMappings.Add("RABAT WARTOŚĆ", "RABAT WARTOŚĆ");
            tableMapping.ColumnMappings.Add("ZAPŁACONO", "ZAPŁACONO");
            tableMapping.ColumnMappings.Add("ZATWIERDZONO DO DRUKU", "ZATWIERDZONO DO DRUKU");
            tableMapping.ColumnMappings.Add("DATA ZAPŁATY", "DATA ZAPŁATY");
            tableMapping.ColumnMappings.Add("SYMBOL POTWIERDZENIA", "SYMBOL POTWIERDZENIA");
            tableMapping.ColumnMappings.Add("RODZAJ POTWIERDZENIA", "RODZAJ POTWIERDZENIA");
            tableMapping.ColumnMappings.Add("CENA JEDN", "CENA JEDN");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("PVAT", "PVAT");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("PROCENT PROWIZJI", "PROCENT PROWIZJI");
            tableMapping.ColumnMappings.Add("PROWIZJA", "PROWIZJA");
            tableMapping.ColumnMappings.Add("INFO", "INFO");
            tableMapping.ColumnMappings.Add("FAKTURA NUMER", "FAKTURA NUMER");
            tableMapping.ColumnMappings.Add("FAKTURA ID KONTA", "FAKTURA ID KONTA");
            tableMapping.ColumnMappings.Add("FAKTURA DATA WYSTAWIENIA", "FAKTURA DATA WYSTAWIENIA");
            tableMapping.ColumnMappings.Add("FAKTURA DATA SPRZEDAŻY", "FAKTURA DATA SPRZEDAŻY");
            tableMapping.ColumnMappings.Add("FAKTURA TERMIN ZAPŁATY", "FAKTURA TERMIN ZAPŁATY");
            tableMapping.ColumnMappings.Add("FAKTURA FORMA PŁATNOŚCI", "FAKTURA FORMA PŁATNOŚCI");
            tableMapping.ColumnMappings.Add("FAKTURA WYSTAWIONO", "FAKTURA WYSTAWIONO");
            tableMapping.ColumnMappings.Add("FAKTURA RODZAJ", "FAKTURA RODZAJ");
            tableMapping.ColumnMappings.Add("USERID", "USERID");
            tableMapping.ColumnMappings.Add("DATA OSTATNIEJ MODYFIKACJI", "DATA OSTATNIEJ MODYFIKACJI");
            tableMapping.ColumnMappings.Add("FK-TR", "FK-TR");
            tableMapping.ColumnMappings.Add("F_NR", "F_NR");
            tableMapping.ColumnMappings.Add("F_NR_ROZ", "F_NR_ROZ");
            tableMapping.ColumnMappings.Add("F_NR_ROK", "F_NR_ROK");
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("PROMOCJA", "PROMOCJA");
            tableMapping.ColumnMappings.Add("GRZBIET", "GRZBIET");
            tableMapping.ColumnMappings.Add("customerId_Sub", "customerId_Sub");
            tableMapping.ColumnMappings.Add("kier_notatka", "kier_notatka");
            tableMapping.ColumnMappings.Add("kier_zatwierdzil", "kier_zatwierdzil");
            tableMapping.ColumnMappings.Add("zam_notatka", "zam_notatka");
            tableMapping.ColumnMappings.Add("zablokuj_prowizje", "zablokuj_prowizje");
            tableMapping.ColumnMappings.Add("Brutto_Euro", "Brutto_Euro");
            tableMapping.ColumnMappings.Add("Zaliczka_Brutto", "Zaliczka_Brutto");
            tableMapping.ColumnMappings.Add("Zaliczka_Data", "Zaliczka_Data");
            tableMapping.ColumnMappings.Add("Brutto_Euro_Miano", "Brutto_Euro_Miano");
            tableMapping.ColumnMappings.Add("waluta_kurs_z_dnia", "waluta_kurs_z_dnia");
            tableMapping.ColumnMappings.Add("waluta_kurs", "waluta_kurs");
            tableMapping.ColumnMappings.Add("waluta_Przelicznik", "waluta_Przelicznik");
            tableMapping.ColumnMappings.Add("waluta_tabela_nr", "waluta_tabela_nr");
            tableMapping.ColumnMappings.Add("OD", "OD");
            tableMapping.ColumnMappings.Add("DO", "DO");
            tableMapping.ColumnMappings.Add("rok", "rok");
            tableMapping.ColumnMappings.Add("miesiac", "miesiac");
            tableMapping.ColumnMappings.Add("1emisja", "1emisja");
            tableMapping.ColumnMappings.Add("agencja", "agencja");
            tableMapping.ColumnMappings.Add("CENA MODUŁU", "CENA MODUŁU");
            tableMapping.ColumnMappings.Add("CENA_MIN", "CENA_MIN");
            tableMapping.ColumnMappings.Add("CENA", "CENA");
            tableMapping.ColumnMappings.Add("FirstName", "FirstName");
            tableMapping.ColumnMappings.Add("wyroznienie", "wyroznienie");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT     TOP 100 R.ReklamaID, R.CustomerID, R.[SYMBOL AKWIZYTORA], R.TYTUŁ, R.T" +
                "YP, R.[ID REKLAMY], R.[NICK NAME], R.[DATA ZAMÓWIENIA], R.SZER,\r\n               " +
                "        R.WYS, R.MOD_TYP, R.STRONA, R.[STR NR WT], R.[STR NR PT], R.KROTNOŚĆ, R." +
                "ODSTĘP, R.KOLOR, R.[WSKAZANIE MIEJSCA], R.RABAT, \r\n                      R.[RABA" +
                "T WARTOŚĆ], R.ZAPŁACONO, R.[ZATWIERDZONO DO DRUKU], R.[DATA ZAPŁATY], R.[SYMBOL " +
                "POTWIERDZENIA], \r\n                      R.[RODZAJ POTWIERDZENIA], R.[CENA JEDN]," +
                " R.NETTO, R.VAT, R.PVAT, R.BRUTTO, R.[PROCENT PROWIZJI], R.PROWIZJA, R.INFO, \r\n " +
                "                     R.[FAKTURA NUMER], R.[FAKTURA ID KONTA], R.[FAKTURA DATA WY" +
                "STAWIENIA], R.[FAKTURA DATA SPRZEDAŻY], R.[FAKTURA TERMIN ZAPŁATY], \r\n          " +
                "            R.[FAKTURA FORMA PŁATNOŚCI], R.[FAKTURA WYSTAWIONO], R.[FAKTURA RODZ" +
                "AJ], R.USERID, R.[DATA OSTATNIEJ MODYFIKACJI], R.[FK-TR], \r\n                    " +
                "  R.F_NR, R.F_NR_ROZ, R.F_NR_ROK, R.ID_FAKTURY, R.PROMOCJA, R.GRZBIET, R.custome" +
                "rId_Sub, R.kier_notatka, R.kier_zatwierdzil, \r\n                      R.zam_notat" +
                "ka, R.zablokuj_prowizje, R.Brutto_Euro, R.Zaliczka_Brutto, R.Zaliczka_Data, R.Br" +
                "utto_Euro_Miano, R.waluta_kurs_z_dnia, R.waluta_kurs, \r\n                      R." +
                "waluta_Przelicznik, R.waluta_tabela_nr, O.OD, O.DO, DATEPART(year, NR.DATA_W) AS" +
                " \'rok\', DATEPART(month, NR.DATA_W) AS \'miesiac\', \r\n                      NR.DATA" +
                "_W AS \'1emisja\', A.Symbol AS agencja, (R.[CENA JEDN] - R.[RABAT WARTOŚĆ]) / R.SZ" +
                "ER * R.WYS AS [CENA MODUŁU], NM.CENA_MIN, \r\n                      NM.CENA, K.Fir" +
                "stName, R.wyroznienie, R.idZamowienia\r\nFROM         AGENCI AS A2 INNER JOIN\r\n   " +
                "                   AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI RIGHT OUTER JOIN" +
                "\r\n                      REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] LEFT O" +
                "UTER JOIN\r\n                      VIEW_REKLAMA_OD_DO AS O ON R.ReklamaID = O.Rekl" +
                "amaID LEFT OUTER JOIN\r\n                      NR ON R.TYTUŁ = NR.TYT AND O.OD = N" +
                "R.NRW LEFT OUTER JOIN\r\n                      [NAZWY MODUŁÓW] AS NM ON R.MOD_TYP " +
                "= NM.MOD_TYP LEFT OUTER JOIN\r\n                      KLIENCI AS K ON R.CustomerID" +
                " = K.CustomerID\r\nORDER BY R.[DATA ZAMÓWIENIA] DESC";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT     TOP 100 R.ReklamaID, R.CustomerID, R.[SYMBOL AKWIZYTORA], R.TYTUŁ, R.T" +
                "YP, R.[ID REKLAMY], R.[NICK NAME], R.[DATA ZAMÓWIENIA], R.SZER,\r\n               " +
                "        R.WYS, R.MOD_TYP, R.STRONA, R.[STR NR WT], R.[STR NR PT], R.KROTNOŚĆ, R." +
                "ODSTĘP, R.KOLOR, R.[WSKAZANIE MIEJSCA], R.RABAT, \r\n                      R.[RABA" +
                "T WARTOŚĆ], R.ZAPŁACONO, R.[ZATWIERDZONO DO DRUKU], R.[DATA ZAPŁATY], R.[SYMBOL " +
                "POTWIERDZENIA], \r\n                      R.[RODZAJ POTWIERDZENIA], R.[CENA JEDN]," +
                " R.NETTO, R.VAT, R.PVAT, R.BRUTTO, R.[PROCENT PROWIZJI], R.PROWIZJA, R.INFO, \r\n " +
                "                     R.[FAKTURA NUMER], R.[FAKTURA ID KONTA], R.[FAKTURA DATA WY" +
                "STAWIENIA], R.[FAKTURA DATA SPRZEDAŻY], R.[FAKTURA TERMIN ZAPŁATY], \r\n          " +
                "            R.[FAKTURA FORMA PŁATNOŚCI], R.[FAKTURA WYSTAWIONO], R.[FAKTURA RODZ" +
                "AJ], R.USERID, R.[DATA OSTATNIEJ MODYFIKACJI], R.[FK-TR], \r\n                    " +
                "  R.F_NR, R.F_NR_ROZ, R.F_NR_ROK, R.ID_FAKTURY, R.PROMOCJA, R.GRZBIET, R.custome" +
                "rId_Sub, R.kier_notatka, R.kier_zatwierdzil, \r\n                      R.zam_notat" +
                "ka, R.zablokuj_prowizje, R.Brutto_Euro, R.Zaliczka_Brutto, R.Zaliczka_Data, R.Br" +
                "utto_Euro_Miano, R.waluta_kurs_z_dnia, R.waluta_kurs, \r\n                      R." +
                "waluta_Przelicznik, R.waluta_tabela_nr, O.OD, O.DO, DATEPART(year, E.data1) AS \'" +
                "rok\', DATEPART(month, E.data1) AS \'miesiac\', \r\n                      E.data1 AS " +
                "\'1emisja\', A.Symbol AS agencja, (R.[CENA JEDN] - R.[RABAT WARTOŚĆ]) / R.SZER * R" +
                ".WYS AS [CENA MODUŁU], NM.CENA_MIN, NM.CENA, \r\n                      K.FirstName" +
                ", R.wyroznienie\r\nFROM         AGENCI AS A2 INNER JOIN\r\n                      AGE" +
                "NCJE AS A ON A.Id_agencji = A2.ID_AGENCJI RIGHT OUTER JOIN\r\n                    " +
                "  REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] LEFT OUTER JOIN\r\n           " +
                "           VIEW_REKLAMA_OD_DO AS O ON R.ReklamaID = O.ReklamaID LEFT OUTER JOIN\r" +
                "\n                      ZAMOWIENIA_1EMISJA_bezFK AS E ON R.idZamowienia = E.idZam" +
                "owienia LEFT OUTER JOIN\r\n                      [NAZWY MODUŁÓW] AS NM ON R.MOD_TY" +
                "P = NM.MOD_TYP LEFT OUTER JOIN\r\n                      KLIENCI AS K ON R.Customer" +
                "ID = K.CustomerID\r\nWHERE     (R.idZamowienia = @idZamowienia)\r\nORDER BY R.[DATA " +
                "ZAMÓWIENIA] DESC";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.ReklamyZestawienieDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.ReklamyZestawienieDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.ReklamyZestawienieDataTable dataTable = new REKLAMADataSet.ReklamyZestawienieDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdZamowienia(REKLAMADataSet.ReklamyZestawienieDataTable dataTable, global::System.Nullable<int> idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.ReklamyZestawienieDataTable GetDataByZamowienia(global::System.Nullable<int> idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.ReklamyZestawienieDataTable dataTable = new REKLAMADataSet.ReklamyZestawienieDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class ListaReklamDoWydaniaNrTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public ListaReklamDoWydaniaNrTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "ListaReklamDoWydaniaNr";
            tableMapping.ColumnMappings.Add("ReklamaID", "ReklamaID");
            tableMapping.ColumnMappings.Add("TYTUŁ", "TYTUŁ");
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            tableMapping.ColumnMappings.Add("NICK NAME", "NICK NAME");
            tableMapping.ColumnMappings.Add("NR", "NR");
            tableMapping.ColumnMappings.Add("ZATWIERDZONO DO DRUKU", "ZATWIERDZONO DO DRUKU");
            tableMapping.ColumnMappings.Add("agencja", "agencja");
            tableMapping.ColumnMappings.Add("SYMBOL AKWIZYTORA", "SYMBOL AKWIZYTORA");
            tableMapping.ColumnMappings.Add("GRZBIET", "GRZBIET");
            tableMapping.ColumnMappings.Add("miasto", "miasto");
            tableMapping.ColumnMappings.Add("jestEPS", "jestEPS");
            tableMapping.ColumnMappings.Add("jestCDR", "jestCDR");
            tableMapping.ColumnMappings.Add("jestJPG", "jestJPG");
            tableMapping.ColumnMappings.Add("datyOK", "datyOK");
            tableMapping.ColumnMappings.Add("strona_zlecenie", "strona_zlecenie");
            tableMapping.ColumnMappings.Add("CustomerID", "CustomerID");
            tableMapping.ColumnMappings.Add("strona", "strona");
            tableMapping.ColumnMappings.Add("ID", "ID");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT        R.ReklamaID, R.TYTUŁ, R.[ID REKLAMY], R.[NICK NAME], [UKAŻE SIĘ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], R.GRZBIET, 
                         A.Symbol AS agencja, A.miasto, R.[SYMBOL AKWIZYTORA], CONVERT(smallint, 0) AS strona, CONVERT(bit, 0) AS jestCDR, CONVERT(bit, 0) AS jestEPS, 
                         CONVERT(bit, 0) AS jestJPG, CONVERT(bit, 0) AS datyOK, REKLAMA_STRONA.STRONA AS strona_zlecenie, R.CustomerID, [UKAŻE SIĘ W NR].ID
FROM            AGENCI AS A2 LEFT OUTER JOIN
                         AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN
                         REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] INNER JOIN
                         [UKAŻE SIĘ W NR] ON R.ReklamaID = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN
                         REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA
WHERE        (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = @tytul) AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nr) AND (REKLAMA_STRONA.STRONA IS NOT NULL)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tytul", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUŁ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nr", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT     R.ReklamaID, R.TYTUŁ, R.[ID REKLAMY], R.[NICK NAME], [UKAŻE SIĘ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], R.GRZBIET, 
                      A.Symbol AS agencja, A.miasto, R.[SYMBOL AKWIZYTORA], CONVERT(smallint, 0) AS strona, CONVERT(bit, 0) AS jestCDR, CONVERT(bit, 0) AS jestEPS, 
                      CONVERT(bit, 0) AS jestJPG, CONVERT(bit, 0) AS datyOK, REKLAMA_STRONA.STRONA AS strona_zlecenie, R.CustomerID, [UKAŻE SIĘ W NR].ID
FROM         AGENCI AS A2 LEFT OUTER JOIN
                      AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN
                      REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] INNER JOIN
                      [UKAŻE SIĘ W NR] ON R.ReklamaID = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN
                      REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND 
                      [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA
WHERE     (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = @tytul) AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nr) AND ([UKAŻE SIĘ W NR].status <> 2)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tytul", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUŁ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nr", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT        [UKAŻE SIĘ W NR].ID, R.ReklamaID, R.TYTUŁ, R.[ID REKLAMY], R.[NICK NAME], [UKAŻE SIĘ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], 
                         R.GRZBIET, A.Symbol AS agencja, A.miasto, R.[SYMBOL AKWIZYTORA], CONVERT(smallint, 0) AS strona, CONVERT(bit, 0) AS jestCDR, CONVERT(bit, 0) 
                         AS jestEPS, CONVERT(bit, 0) AS jestJPG, CONVERT(bit, 0) AS datyOK, REKLAMA_STRONA.STRONA AS strona_zlecenie, R.CustomerID
FROM            AGENCI AS A2 LEFT OUTER JOIN
                         AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN
                         REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] INNER JOIN
                         [UKAŻE SIĘ W NR] ON R.ReklamaID = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN
                         REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA
WHERE        (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.CustomerID = @customerId) AND (R.TYTUŁ = @tytul) AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nr) AND 
                         (REKLAMA_STRONA.STRONA IS NOT NULL) AND (R.GRZBIET <> 9)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tytul", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUŁ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nr", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT        [UKAŻE SIĘ W NR].ID, R.ReklamaID, R.TYTUŁ, R.[ID REKLAMY], R.[NICK NAME], [UKAŻE SIĘ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], 
                         R.GRZBIET, A.Symbol AS agencja, A.miasto, R.[SYMBOL AKWIZYTORA], CONVERT(smallint, 0) AS strona, CONVERT(bit, 0) AS jestCDR, CONVERT(bit, 0) 
                         AS jestEPS, CONVERT(bit, 0) AS jestJPG, CONVERT(bit, 0) AS datyOK, REKLAMA_STRONA.STRONA AS strona_zlecenie, R.CustomerID
FROM            AGENCI AS A2 LEFT OUTER JOIN
                         AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN
                         REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] INNER JOIN
                         [UKAŻE SIĘ W NR] ON R.ReklamaID = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN
                         REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA
WHERE        (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = 'AMT') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nrAMT) AND (R.CustomerID = @customerId) OR
                         (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = 'GS') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nrGS1) AND (R.CustomerID = @customerId) OR
                         (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = 'GS') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nrGS2) AND (R.CustomerID = @customerId)";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrAMT", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrGS1", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrGS2", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "NR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable, string tytul, short nr) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((tytul == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(tytul));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(nr));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.ListaReklamDoWydaniaNrDataTable GetData(string tytul, short nr) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((tytul == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(tytul));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(nr));
            REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable = new REKLAMADataSet.ListaReklamDoWydaniaNrDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int Fill2Produkcja(REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable, string tytul, int nr) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((tytul == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(tytul));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nr));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.ListaReklamDoWydaniaNrDataTable Get2Produkcja(string tytul, int nr) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((tytul == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(tytul));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nr));
            REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable = new REKLAMADataSet.ListaReklamDoWydaniaNrDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable, global::System.Nullable<int> customerId, string tytul, short nr) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((customerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(customerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((tytul == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(tytul));
            }
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(nr));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.ListaReklamDoWydaniaNrDataTable GetDataByCustomerId(global::System.Nullable<int> customerId, string tytul, short nr) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((customerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(customerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((tytul == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(tytul));
            }
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(nr));
            REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable = new REKLAMADataSet.ListaReklamDoWydaniaNrDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId2(REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable, short nrAMT, global::System.Nullable<int> customerId, short nrGS1, short nrGS2) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((short)(nrAMT));
            if ((customerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[1].Value = ((int)(customerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(nrGS1));
            this.Adapter.SelectCommand.Parameters[3].Value = ((short)(nrGS2));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.ListaReklamDoWydaniaNrDataTable GetDataByCustomerId2(short nrAMT, global::System.Nullable<int> customerId, short nrGS1, short nrGS2) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((short)(nrAMT));
            if ((customerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[1].Value = ((int)(customerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(nrGS1));
            this.Adapter.SelectCommand.Parameters[3].Value = ((short)(nrGS2));
            REKLAMADataSet.ListaReklamDoWydaniaNrDataTable dataTable = new REKLAMADataSet.ListaReklamDoWydaniaNrDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KONTAKTYTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KONTAKTYTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "KONTAKTY";
            tableMapping.ColumnMappings.Add("Id_kontaktu", "Id_kontaktu");
            tableMapping.ColumnMappings.Add("customerId", "customerId");
            tableMapping.ColumnMappings.Add("symbol_agenta", "symbol_agenta");
            tableMapping.ColumnMappings.Add("data", "data");
            tableMapping.ColumnMappings.Add("rodzaj", "rodzaj");
            tableMapping.ColumnMappings.Add("opis", "opis");
            tableMapping.ColumnMappings.Add("KontaktTypId", "KontaktTypId");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [KONTAKTY] WHERE (([Id_kontaktu] = @Original_Id_kontaktu))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Id_kontaktu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id_kontaktu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [KONTAKTY] ([customerId], [symbol_agenta], [data], [rodzaj], [opis], [KontaktTypId]) VALUES (@customerId, @symbol_agenta, @data, @rodzaj, @opis, @KontaktTypId);
SELECT Id_kontaktu, customerId, symbol_agenta, data, rodzaj, opis, KontaktTypId FROM KONTAKTY WHERE (Id_kontaktu = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@symbol_agenta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "symbol_agenta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rodzaj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzaj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KontaktTypId", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KontaktTypId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [KONTAKTY] SET [customerId] = @customerId, [symbol_agenta] = @symbol_agenta, [data] = @data, [rodzaj] = @rodzaj, [opis] = @opis, [KontaktTypId] = @KontaktTypId WHERE (([Id_kontaktu] = @Original_Id_kontaktu));
SELECT Id_kontaktu, customerId, symbol_agenta, data, rodzaj, opis, KontaktTypId FROM KONTAKTY WHERE (Id_kontaktu = @Id_kontaktu)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@symbol_agenta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "symbol_agenta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rodzaj", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzaj", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KontaktTypId", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KontaktTypId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Id_kontaktu", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id_kontaktu", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id_kontaktu", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Id_kontaktu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.Baza_ReklamConnectionString;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT     Id_kontaktu, customerId, symbol_agenta, data, rodzaj, opis, KontaktTyp" +
                "Id\r\nFROM         KONTAKTY";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT Id_kontaktu, KontaktTypId, customerId, data, opis, rodzaj, symbol_agenta F" +
                "ROM KONTAKTY WHERE (customerId = @param) ORDER BY data DESC";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "customerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT Id_kontaktu, KontaktTypId, customerId, data, opis, rodzaj, symbol_agenta F" +
                "ROM KONTAKTY WHERE (customerId = @customerId) AND (KontaktTypId = @kontaktTypId)" +
                " ORDER BY data DESC";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "customerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kontaktTypId", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "KontaktTypId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.KONTAKTYDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.KONTAKTYDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.KONTAKTYDataTable dataTable = new REKLAMADataSet.KONTAKTYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.KONTAKTYDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KONTAKTYDataTable GetDataByCustomerId(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.KONTAKTYDataTable dataTable = new REKLAMADataSet.KONTAKTYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByKontaktTyp(REKLAMADataSet.KONTAKTYDataTable dataTable, int customerId, global::System.Nullable<int> kontaktTypId) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(customerId));
            if ((kontaktTypId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[1].Value = ((int)(kontaktTypId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KONTAKTYDataTable GetDataByKontaktTyp(int customerId, global::System.Nullable<int> kontaktTypId) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(customerId));
            if ((kontaktTypId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[1].Value = ((int)(kontaktTypId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.KONTAKTYDataTable dataTable = new REKLAMADataSet.KONTAKTYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.KONTAKTYDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "KONTAKTY");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_Id_kontaktu) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Id_kontaktu));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int customerId, string symbol_agenta, System.DateTime data, string rodzaj, string opis, global::System.Nullable<byte> KontaktTypId) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(customerId));
            if ((symbol_agenta == null)) {
                throw new global::System.ArgumentNullException("symbol_agenta");
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(symbol_agenta));
            }
            this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(data));
            if ((rodzaj == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(rodzaj));
            }
            if ((opis == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(opis));
            }
            if ((KontaktTypId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((byte)(KontaktTypId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int customerId, string symbol_agenta, System.DateTime data, string rodzaj, string opis, global::System.Nullable<byte> KontaktTypId, int Original_Id_kontaktu, int Id_kontaktu) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(customerId));
            if ((symbol_agenta == null)) {
                throw new global::System.ArgumentNullException("symbol_agenta");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(symbol_agenta));
            }
            this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(data));
            if ((rodzaj == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(rodzaj));
            }
            if ((opis == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(opis));
            }
            if ((KontaktTypId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((byte)(KontaktTypId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_Id_kontaktu));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Id_kontaktu));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int customerId, string symbol_agenta, System.DateTime data, string rodzaj, string opis, global::System.Nullable<byte> KontaktTypId, int Original_Id_kontaktu) {
            return this.Update(customerId, symbol_agenta, data, rodzaj, opis, KontaktTypId, Original_Id_kontaktu, Original_Id_kontaktu);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class ZestawienieFakturTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public ZestawienieFakturTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "ZestawienieFaktur";
            tableMapping.ColumnMappings.Add("ID_NABYWCY", "ID_NABYWCY");
            tableMapping.ColumnMappings.Add("NUMER", "NUMER");
            tableMapping.ColumnMappings.Add("NUMER_ROZ", "NUMER_ROZ");
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("MS", "MS");
            tableMapping.ColumnMappings.Add("DATA_SPRZEDAZY", "DATA_SPRZEDAZY");
            tableMapping.ColumnMappings.Add("NR_FK", "NR_FK");
            tableMapping.ColumnMappings.Add("TYTUL", "TYTUL");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("S_VAT", "S_VAT");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("waluta_brutto", "waluta_brutto");
            tableMapping.ColumnMappings.Add("waluta_miano", "waluta_miano");
            tableMapping.ColumnMappings.Add("suma_zaplat", "suma_zaplat");
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("Symbol", "Symbol");
            tableMapping.ColumnMappings.Add("Agencja", "Agencja");
            tableMapping.ColumnMappings.Add("ZAPLACONO", "ZAPLACONO");
            tableMapping.ColumnMappings.Add("ZAPŁACONO", "ZAPŁACONO");
            tableMapping.ColumnMappings.Add("DATA ZAPŁATY", "DATA ZAPŁATY");
            tableMapping.ColumnMappings.Add("zaplata_data", "zaplata_data");
            tableMapping.ColumnMappings.Add("reklamaId", "reklamaId");
            tableMapping.ColumnMappings.Add("firstname", "firstname");
            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
            tableMapping.ColumnMappings.Add("GRZBIET", "GRZBIET");
            tableMapping.ColumnMappings.Add("ID_TYTUL", "ID_TYTUL");
            tableMapping.ColumnMappings.Add("dataWplaty", "dataWplaty");
            tableMapping.ColumnMappings.Add("wplata_brutto", "wplata_brutto");
            tableMapping.ColumnMappings.Add("wplata_waluta_brutto", "wplata_waluta_brutto");
            tableMapping.ColumnMappings.Add("wplata_waluta_miano", "wplata_waluta_miano");
            tableMapping.ColumnMappings.Add("idWplaty", "idWplaty");
            tableMapping.ColumnMappings.Add("Korekta", "Korekta");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT     TOP 2000 VIEW_ZESTAWIENIE_FAKTUR_STARE.*\r\nFROM         VIEW_ZESTAWIENI" +
                "E_FAKTUR_STARE";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT     TOP 2000 *\r\nFROM         VIEW_ZESTAWIENIE_FAKTUR_STARE\r\nWHERE     (ID_" +
                "NABYWCY = @param)\r\nORDER BY DATA_SPRZEDAZY DESC";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_NABYWCY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT     TOP 2000 *\r\nFROM         VIEW_ZESTAWIENIE_FAKTUR_STARE\r\nWHERE     (ID_" +
                "FAKTURY = @idFAktury)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFAktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.ZestawienieFakturDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.ZestawienieFakturDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.ZestawienieFakturDataTable dataTable = new REKLAMADataSet.ZestawienieFakturDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerID(REKLAMADataSet.ZestawienieFakturDataTable dataTable, global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.ZestawienieFakturDataTable GetDataByCustomerID(global::System.Nullable<int> param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((param.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.ZestawienieFakturDataTable dataTable = new REKLAMADataSet.ZestawienieFakturDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.ZestawienieFakturDataTable dataTable, int idFAktury) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFAktury));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.ZestawienieFakturDataTable GetDataByIdFaktury(int idFAktury) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFAktury));
            REKLAMADataSet.ZestawienieFakturDataTable dataTable = new REKLAMADataSet.ZestawienieFakturDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class PLANTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public PLANTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "PLAN";
            tableMapping.ColumnMappings.Add("ID", "ID");
            tableMapping.ColumnMappings.Add("SYMBOL", "SYMBOL");
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("MS", "MS");
            tableMapping.ColumnMappings.Add("BUDZET", "BUDZET");
            tableMapping.ColumnMappings.Add("SPOTKANIA", "SPOTKANIA");
            tableMapping.ColumnMappings.Add("KONTAKTY", "KONTAKTY");
            tableMapping.ColumnMappings.Add("N_KLIENCI", "N_KLIENCI");
            tableMapping.ColumnMappings.Add("KLIENCI", "KLIENCI");
            tableMapping.ColumnMappings.Add("REKLAMY", "REKLAMY");
            tableMapping.ColumnMappings.Add("WIEDZA_O_FIRMIE", "WIEDZA_O_FIRMIE");
            tableMapping.ColumnMappings.Add("WIEDZA_O_PRODUKCIE", "WIEDZA_O_PRODUKCIE");
            tableMapping.ColumnMappings.Add("WIEDZA_O_RYNKU", "WIEDZA_O_RYNKU");
            tableMapping.ColumnMappings.Add("WIEDZA_OGOLNO_HANDLOWA", "WIEDZA_OGOLNO_HANDLOWA");
            tableMapping.ColumnMappings.Add("JAKOSC_ROZMOWY_TEL", "JAKOSC_ROZMOWY_TEL");
            tableMapping.ColumnMappings.Add("JAKOSC_SPOTKAN", "JAKOSC_SPOTKAN");
            tableMapping.ColumnMappings.Add("JAKOSC_KORESPONDENCJI", "JAKOSC_KORESPONDENCJI");
            tableMapping.ColumnMappings.Add("JAKOSC_OFERT", "JAKOSC_OFERT");
            tableMapping.ColumnMappings.Add("W_BUDZET", "W_BUDZET");
            tableMapping.ColumnMappings.Add("W_SPOTKANIA", "W_SPOTKANIA");
            tableMapping.ColumnMappings.Add("W_TEL", "W_TEL");
            tableMapping.ColumnMappings.Add("W_EMAIL", "W_EMAIL");
            tableMapping.ColumnMappings.Add("W_LIST", "W_LIST");
            tableMapping.ColumnMappings.Add("W_FAX", "W_FAX");
            tableMapping.ColumnMappings.Add("W_N_KLIENCI", "W_N_KLIENCI");
            tableMapping.ColumnMappings.Add("W_KLIENCI", "W_KLIENCI");
            tableMapping.ColumnMappings.Add("W_REKLAMY", "W_REKLAMY");
            tableMapping.ColumnMappings.Add("EP", "EP");
            tableMapping.ColumnMappings.Add("ESP", "ESP");
            tableMapping.ColumnMappings.Add("EPR", "EPR");
            tableMapping.ColumnMappings.Add("EPK", "EPK");
            tableMapping.ColumnMappings.Add("ECP", "ECP");
            tableMapping.ColumnMappings.Add("ELK", "ELK");
            tableMapping.ColumnMappings.Add("QO", "QO");
            tableMapping.ColumnMappings.Add("WH", "WH");
            tableMapping.ColumnMappings.Add("OCENA", "OCENA");
            tableMapping.ColumnMappings.Add("PR_PROWIZJI", "PR_PROWIZJI");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = @"DELETE FROM [PLAN] WHERE (([ID] = @Original_ID) AND ([SYMBOL] = @Original_SYMBOL) AND ([ROK] = @Original_ROK) AND ([MS] = @Original_MS) AND ([BUDZET] = @Original_BUDZET) AND ([SPOTKANIA] = @Original_SPOTKANIA) AND ([KONTAKTY] = @Original_KONTAKTY) AND ([N_KLIENCI] = @Original_N_KLIENCI) AND ([KLIENCI] = @Original_KLIENCI) AND ([REKLAMY] = @Original_REKLAMY) AND ([WIEDZA_O_FIRMIE] = @Original_WIEDZA_O_FIRMIE) AND ([WIEDZA_O_PRODUKCIE] = @Original_WIEDZA_O_PRODUKCIE) AND ([WIEDZA_O_RYNKU] = @Original_WIEDZA_O_RYNKU) AND ([WIEDZA_OGOLNO_HANDLOWA] = @Original_WIEDZA_OGOLNO_HANDLOWA) AND ([JAKOSC_ROZMOWY_TEL] = @Original_JAKOSC_ROZMOWY_TEL) AND ([JAKOSC_SPOTKAN] = @Original_JAKOSC_SPOTKAN) AND ([JAKOSC_KORESPONDENCJI] = @Original_JAKOSC_KORESPONDENCJI) AND ([JAKOSC_OFERT] = @Original_JAKOSC_OFERT) AND ([W_BUDZET] = @Original_W_BUDZET) AND ([W_SPOTKANIA] = @Original_W_SPOTKANIA) AND ([W_TEL] = @Original_W_TEL) AND ([W_EMAIL] = @Original_W_EMAIL) AND ([W_LIST] = @Original_W_LIST) AND ([W_FAX] = @Original_W_FAX) AND ([W_N_KLIENCI] = @Original_W_N_KLIENCI) AND ([W_KLIENCI] = @Original_W_KLIENCI) AND ([W_REKLAMY] = @Original_W_REKLAMY) AND ([EP] = @Original_EP) AND ([ESP] = @Original_ESP) AND ([EPR] = @Original_EPR) AND ([EPK] = @Original_EPK) AND ([ECP] = @Original_ECP) AND ([ELK] = @Original_ELK) AND ([QO] = @Original_QO) AND ([WH] = @Original_WH) AND ([OCENA] = @Original_OCENA) AND ([PR_PROWIZJI] = @Original_PR_PROWIZJI))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SYMBOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ROK", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MS", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BUDZET", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPOTKANIA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KONTAKTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KONTAKTY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "N_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "REKLAMY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_O_FIRMIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_FIRMIE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_O_PRODUKCIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_PRODUKCIE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_O_RYNKU", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_RYNKU", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_OGOLNO_HANDLOWA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_OGOLNO_HANDLOWA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_ROZMOWY_TEL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_ROZMOWY_TEL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_SPOTKAN", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_SPOTKAN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_KORESPONDENCJI", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_KORESPONDENCJI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_OFERT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_OFERT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_BUDZET", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_SPOTKANIA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_TEL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_TEL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_EMAIL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_LIST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_LIST", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_FAX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_FAX", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_N_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_REKLAMY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ESP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ESP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EPR", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EPK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPK", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ELK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ELK", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QO", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QO", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WH", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WH", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OCENA", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OCENA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PR_PROWIZJI", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PR_PROWIZJI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [PLAN] ([SYMBOL], [ROK], [MS], [BUDZET], [SPOTKANIA], [KONTAKTY], [N_KLIENCI], [KLIENCI], [REKLAMY], [WIEDZA_O_FIRMIE], [WIEDZA_O_PRODUKCIE], [WIEDZA_O_RYNKU], [WIEDZA_OGOLNO_HANDLOWA], [JAKOSC_ROZMOWY_TEL], [JAKOSC_SPOTKAN], [JAKOSC_KORESPONDENCJI], [JAKOSC_OFERT], [W_BUDZET], [W_SPOTKANIA], [W_TEL], [W_EMAIL], [W_LIST], [W_FAX], [W_N_KLIENCI], [W_KLIENCI], [W_REKLAMY], [EP], [ESP], [EPR], [EPK], [ECP], [ELK], [QO], [WH], [OCENA], [PR_PROWIZJI]) VALUES (@SYMBOL, @ROK, @MS, @BUDZET, @SPOTKANIA, @KONTAKTY, @N_KLIENCI, @KLIENCI, @REKLAMY, @WIEDZA_O_FIRMIE, @WIEDZA_O_PRODUKCIE, @WIEDZA_O_RYNKU, @WIEDZA_OGOLNO_HANDLOWA, @JAKOSC_ROZMOWY_TEL, @JAKOSC_SPOTKAN, @JAKOSC_KORESPONDENCJI, @JAKOSC_OFERT, @W_BUDZET, @W_SPOTKANIA, @W_TEL, @W_EMAIL, @W_LIST, @W_FAX, @W_N_KLIENCI, @W_KLIENCI, @W_REKLAMY, @EP, @ESP, @EPR, @EPK, @ECP, @ELK, @QO, @WH, @OCENA, @PR_PROWIZJI);
SELECT ID, SYMBOL, ROK, MS, BUDZET, SPOTKANIA, KONTAKTY, N_KLIENCI, KLIENCI, REKLAMY, WIEDZA_O_FIRMIE, WIEDZA_O_PRODUKCIE, WIEDZA_O_RYNKU, WIEDZA_OGOLNO_HANDLOWA, JAKOSC_ROZMOWY_TEL, JAKOSC_SPOTKAN, JAKOSC_KORESPONDENCJI, JAKOSC_OFERT, W_BUDZET, W_SPOTKANIA, W_TEL, W_EMAIL, W_LIST, W_FAX, W_N_KLIENCI, W_KLIENCI, W_REKLAMY, EP, ESP, EPR, EPK, ECP, ELK, QO, WH, OCENA, PR_PROWIZJI FROM [PLAN] WHERE (ID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROK", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MS", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BUDZET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPOTKANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KONTAKTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KONTAKTY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "N_KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "REKLAMY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_O_FIRMIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_FIRMIE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_O_PRODUKCIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_PRODUKCIE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_O_RYNKU", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_RYNKU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_OGOLNO_HANDLOWA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_OGOLNO_HANDLOWA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_ROZMOWY_TEL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_ROZMOWY_TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_SPOTKAN", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_SPOTKAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_KORESPONDENCJI", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_KORESPONDENCJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_OFERT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_OFERT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_BUDZET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_SPOTKANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_TEL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_EMAIL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_LIST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_LIST", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_FAX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_FAX", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_N_KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_REKLAMY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ESP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ESP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EPR", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EPK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ELK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ELK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QO", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WH", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WH", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OCENA", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OCENA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PR_PROWIZJI", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PR_PROWIZJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = "UPDATE [PLAN] SET [SYMBOL] = @SYMBOL, [ROK] = @ROK, [MS] = @MS, [BUDZET] = @BUDZE" +
                "T, [SPOTKANIA] = @SPOTKANIA, [KONTAKTY] = @KONTAKTY, [N_KLIENCI] = @N_KLIENCI, [" +
                "KLIENCI] = @KLIENCI, [REKLAMY] = @REKLAMY, [WIEDZA_O_FIRMIE] = @WIEDZA_O_FIRMIE," +
                " [WIEDZA_O_PRODUKCIE] = @WIEDZA_O_PRODUKCIE, [WIEDZA_O_RYNKU] = @WIEDZA_O_RYNKU," +
                " [WIEDZA_OGOLNO_HANDLOWA] = @WIEDZA_OGOLNO_HANDLOWA, [JAKOSC_ROZMOWY_TEL] = @JAK" +
                "OSC_ROZMOWY_TEL, [JAKOSC_SPOTKAN] = @JAKOSC_SPOTKAN, [JAKOSC_KORESPONDENCJI] = @" +
                "JAKOSC_KORESPONDENCJI, [JAKOSC_OFERT] = @JAKOSC_OFERT, [W_BUDZET] = @W_BUDZET, [" +
                "W_SPOTKANIA] = @W_SPOTKANIA, [W_TEL] = @W_TEL, [W_EMAIL] = @W_EMAIL, [W_LIST] = " +
                "@W_LIST, [W_FAX] = @W_FAX, [W_N_KLIENCI] = @W_N_KLIENCI, [W_KLIENCI] = @W_KLIENC" +
                "I, [W_REKLAMY] = @W_REKLAMY, [EP] = @EP, [ESP] = @ESP, [EPR] = @EPR, [EPK] = @EP" +
                "K, [ECP] = @ECP, [ELK] = @ELK, [QO] = @QO, [WH] = @WH, [OCENA] = @OCENA, [PR_PRO" +
                "WIZJI] = @PR_PROWIZJI WHERE (([ID] = @Original_ID) AND ([SYMBOL] = @Original_SYM" +
                "BOL) AND ([ROK] = @Original_ROK) AND ([MS] = @Original_MS) AND ([BUDZET] = @Orig" +
                "inal_BUDZET) AND ([SPOTKANIA] = @Original_SPOTKANIA) AND ([KONTAKTY] = @Original" +
                "_KONTAKTY) AND ([N_KLIENCI] = @Original_N_KLIENCI) AND ([KLIENCI] = @Original_KL" +
                "IENCI) AND ([REKLAMY] = @Original_REKLAMY) AND ([WIEDZA_O_FIRMIE] = @Original_WI" +
                "EDZA_O_FIRMIE) AND ([WIEDZA_O_PRODUKCIE] = @Original_WIEDZA_O_PRODUKCIE) AND ([W" +
                "IEDZA_O_RYNKU] = @Original_WIEDZA_O_RYNKU) AND ([WIEDZA_OGOLNO_HANDLOWA] = @Orig" +
                "inal_WIEDZA_OGOLNO_HANDLOWA) AND ([JAKOSC_ROZMOWY_TEL] = @Original_JAKOSC_ROZMOW" +
                "Y_TEL) AND ([JAKOSC_SPOTKAN] = @Original_JAKOSC_SPOTKAN) AND ([JAKOSC_KORESPONDE" +
                "NCJI] = @Original_JAKOSC_KORESPONDENCJI) AND ([JAKOSC_OFERT] = @Original_JAKOSC_" +
                "OFERT) AND ([W_BUDZET] = @Original_W_BUDZET) AND ([W_SPOTKANIA] = @Original_W_SP" +
                "OTKANIA) AND ([W_TEL] = @Original_W_TEL) AND ([W_EMAIL] = @Original_W_EMAIL) AND" +
                " ([W_LIST] = @Original_W_LIST) AND ([W_FAX] = @Original_W_FAX) AND ([W_N_KLIENCI" +
                "] = @Original_W_N_KLIENCI) AND ([W_KLIENCI] = @Original_W_KLIENCI) AND ([W_REKLA" +
                "MY] = @Original_W_REKLAMY) AND ([EP] = @Original_EP) AND ([ESP] = @Original_ESP)" +
                " AND ([EPR] = @Original_EPR) AND ([EPK] = @Original_EPK) AND ([ECP] = @Original_" +
                "ECP) AND ([ELK] = @Original_ELK) AND ([QO] = @Original_QO) AND ([WH] = @Original" +
                "_WH) AND ([OCENA] = @Original_OCENA) AND ([PR_PROWIZJI] = @Original_PR_PROWIZJI)" +
                ");\r\nSELECT ID, SYMBOL, ROK, MS, BUDZET, SPOTKANIA, KONTAKTY, N_KLIENCI, KLIENCI," +
                " REKLAMY, WIEDZA_O_FIRMIE, WIEDZA_O_PRODUKCIE, WIEDZA_O_RYNKU, WIEDZA_OGOLNO_HAN" +
                "DLOWA, JAKOSC_ROZMOWY_TEL, JAKOSC_SPOTKAN, JAKOSC_KORESPONDENCJI, JAKOSC_OFERT, " +
                "W_BUDZET, W_SPOTKANIA, W_TEL, W_EMAIL, W_LIST, W_FAX, W_N_KLIENCI, W_KLIENCI, W_" +
                "REKLAMY, EP, ESP, EPR, EPK, ECP, ELK, QO, WH, OCENA, PR_PROWIZJI FROM [PLAN] WHE" +
                "RE (ID = @ID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SYMBOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROK", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MS", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BUDZET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPOTKANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KONTAKTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KONTAKTY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "N_KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "REKLAMY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_O_FIRMIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_FIRMIE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_O_PRODUKCIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_PRODUKCIE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_O_RYNKU", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_RYNKU", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WIEDZA_OGOLNO_HANDLOWA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_OGOLNO_HANDLOWA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_ROZMOWY_TEL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_ROZMOWY_TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_SPOTKAN", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_SPOTKAN", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_KORESPONDENCJI", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_KORESPONDENCJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JAKOSC_OFERT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_OFERT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_BUDZET", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_SPOTKANIA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_TEL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_EMAIL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_LIST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_LIST", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_FAX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_FAX", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_N_KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_KLIENCI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@W_REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_REKLAMY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ESP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ESP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EPR", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EPK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ECP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ELK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ELK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QO", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QO", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WH", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WH", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OCENA", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OCENA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PR_PROWIZJI", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PR_PROWIZJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SYMBOL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ROK", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MS", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BUDZET", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SPOTKANIA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KONTAKTY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KONTAKTY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "N_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "REKLAMY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_O_FIRMIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_FIRMIE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_O_PRODUKCIE", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_PRODUKCIE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_O_RYNKU", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_O_RYNKU", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WIEDZA_OGOLNO_HANDLOWA", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WIEDZA_OGOLNO_HANDLOWA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_ROZMOWY_TEL", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_ROZMOWY_TEL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_SPOTKAN", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_SPOTKAN", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_KORESPONDENCJI", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_KORESPONDENCJI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JAKOSC_OFERT", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JAKOSC_OFERT", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_BUDZET", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_BUDZET", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_SPOTKANIA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_SPOTKANIA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_TEL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_TEL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_EMAIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_EMAIL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_LIST", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_LIST", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_FAX", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_FAX", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_N_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_N_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_KLIENCI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_KLIENCI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_W_REKLAMY", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "W_REKLAMY", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ESP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ESP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EPR", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EPK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EPK", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ECP", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ECP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ELK", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ELK", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QO", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QO", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WH", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WH", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OCENA", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OCENA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PR_PROWIZJI", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PR_PROWIZJI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        [PLAN].*\r\nFROM            [PLAN]";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT        [PLAN].ID, [PLAN].SYMBOL, [PLAN].ROK, [PLAN].MS, [PLAN].BUDZET, [PLAN].SPOTKANIA, [PLAN].KONTAKTY, [PLAN].N_KLIENCI, [PLAN].KLIENCI, 
                         [PLAN].REKLAMY, [PLAN].WIEDZA_O_FIRMIE, [PLAN].WIEDZA_O_PRODUKCIE, [PLAN].WIEDZA_O_RYNKU, [PLAN].WIEDZA_OGOLNO_HANDLOWA, 
                         [PLAN].JAKOSC_ROZMOWY_TEL, [PLAN].JAKOSC_SPOTKAN, [PLAN].JAKOSC_KORESPONDENCJI, [PLAN].JAKOSC_OFERT, [PLAN].W_BUDZET, 
                         [PLAN].W_SPOTKANIA, [PLAN].W_TEL, [PLAN].W_EMAIL, [PLAN].W_LIST, [PLAN].W_FAX, [PLAN].W_N_KLIENCI, [PLAN].W_KLIENCI, [PLAN].W_REKLAMY, 
                         [PLAN].EP, [PLAN].ESP, [PLAN].EPR, [PLAN].EPK, [PLAN].ECP, [PLAN].ELK, [PLAN].QO, [PLAN].WH, [PLAN].OCENA, [PLAN].PR_PROWIZJI
FROM            AGENCJE INNER JOIN
                         AGENCI ON AGENCJE.Id_agencji = AGENCI.ID_AGENCJI INNER JOIN
                         [PLAN] ON AGENCI.Symbol = [PLAN].SYMBOL
WHERE        ([PLAN].ROK = @rok) AND ([PLAN].MS = @ms) AND (AGENCJE.Id_agencji = @agencja)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Id_agencji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.PLANDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.PLANDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.PLANDataTable dataTable = new REKLAMADataSet.PLANDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByAgencja(REKLAMADataSet.PLANDataTable dataTable, short rok, short ms, int agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((short)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(ms));
            this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.PLANDataTable GetDataByAgencja(short rok, short ms, int agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((short)(rok));
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(ms));
            this.Adapter.SelectCommand.Parameters[2].Value = ((int)(agencja));
            REKLAMADataSet.PLANDataTable dataTable = new REKLAMADataSet.PLANDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.PLANDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "PLAN");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(
                    int Original_ID, 
                    string Original_SYMBOL, 
                    short Original_ROK, 
                    short Original_MS, 
                    int Original_BUDZET, 
                    int Original_SPOTKANIA, 
                    int Original_KONTAKTY, 
                    int Original_N_KLIENCI, 
                    int Original_KLIENCI, 
                    int Original_REKLAMY, 
                    short Original_WIEDZA_O_FIRMIE, 
                    short Original_WIEDZA_O_PRODUKCIE, 
                    short Original_WIEDZA_O_RYNKU, 
                    short Original_WIEDZA_OGOLNO_HANDLOWA, 
                    short Original_JAKOSC_ROZMOWY_TEL, 
                    short Original_JAKOSC_SPOTKAN, 
                    short Original_JAKOSC_KORESPONDENCJI, 
                    short Original_JAKOSC_OFERT, 
                    int Original_W_BUDZET, 
                    int Original_W_SPOTKANIA, 
                    int Original_W_TEL, 
                    int Original_W_EMAIL, 
                    int Original_W_LIST, 
                    int Original_W_FAX, 
                    int Original_W_N_KLIENCI, 
                    int Original_W_KLIENCI, 
                    int Original_W_REKLAMY, 
                    float Original_EP, 
                    float Original_ESP, 
                    float Original_EPR, 
                    float Original_EPK, 
                    float Original_ECP, 
                    float Original_ELK, 
                    float Original_QO, 
                    float Original_WH, 
                    float Original_OCENA, 
                    float Original_PR_PROWIZJI) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID));
            if ((Original_SYMBOL == null)) {
                throw new global::System.ArgumentNullException("Original_SYMBOL");
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_SYMBOL));
            }
            this.Adapter.DeleteCommand.Parameters[2].Value = ((short)(Original_ROK));
            this.Adapter.DeleteCommand.Parameters[3].Value = ((short)(Original_MS));
            this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_BUDZET));
            this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_SPOTKANIA));
            this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_KONTAKTY));
            this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_N_KLIENCI));
            this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_KLIENCI));
            this.Adapter.DeleteCommand.Parameters[9].Value = ((int)(Original_REKLAMY));
            this.Adapter.DeleteCommand.Parameters[10].Value = ((short)(Original_WIEDZA_O_FIRMIE));
            this.Adapter.DeleteCommand.Parameters[11].Value = ((short)(Original_WIEDZA_O_PRODUKCIE));
            this.Adapter.DeleteCommand.Parameters[12].Value = ((short)(Original_WIEDZA_O_RYNKU));
            this.Adapter.DeleteCommand.Parameters[13].Value = ((short)(Original_WIEDZA_OGOLNO_HANDLOWA));
            this.Adapter.DeleteCommand.Parameters[14].Value = ((short)(Original_JAKOSC_ROZMOWY_TEL));
            this.Adapter.DeleteCommand.Parameters[15].Value = ((short)(Original_JAKOSC_SPOTKAN));
            this.Adapter.DeleteCommand.Parameters[16].Value = ((short)(Original_JAKOSC_KORESPONDENCJI));
            this.Adapter.DeleteCommand.Parameters[17].Value = ((short)(Original_JAKOSC_OFERT));
            this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_W_BUDZET));
            this.Adapter.DeleteCommand.Parameters[19].Value = ((int)(Original_W_SPOTKANIA));
            this.Adapter.DeleteCommand.Parameters[20].Value = ((int)(Original_W_TEL));
            this.Adapter.DeleteCommand.Parameters[21].Value = ((int)(Original_W_EMAIL));
            this.Adapter.DeleteCommand.Parameters[22].Value = ((int)(Original_W_LIST));
            this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_W_FAX));
            this.Adapter.DeleteCommand.Parameters[24].Value = ((int)(Original_W_N_KLIENCI));
            this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_W_KLIENCI));
            this.Adapter.DeleteCommand.Parameters[26].Value = ((int)(Original_W_REKLAMY));
            this.Adapter.DeleteCommand.Parameters[27].Value = ((float)(Original_EP));
            this.Adapter.DeleteCommand.Parameters[28].Value = ((float)(Original_ESP));
            this.Adapter.DeleteCommand.Parameters[29].Value = ((float)(Original_EPR));
            this.Adapter.DeleteCommand.Parameters[30].Value = ((float)(Original_EPK));
            this.Adapter.DeleteCommand.Parameters[31].Value = ((float)(Original_ECP));
            this.Adapter.DeleteCommand.Parameters[32].Value = ((float)(Original_ELK));
            this.Adapter.DeleteCommand.Parameters[33].Value = ((float)(Original_QO));
            this.Adapter.DeleteCommand.Parameters[34].Value = ((float)(Original_WH));
            this.Adapter.DeleteCommand.Parameters[35].Value = ((float)(Original_OCENA));
            this.Adapter.DeleteCommand.Parameters[36].Value = ((float)(Original_PR_PROWIZJI));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(
                    string SYMBOL, 
                    short ROK, 
                    short MS, 
                    int BUDZET, 
                    int SPOTKANIA, 
                    int KONTAKTY, 
                    int N_KLIENCI, 
                    int KLIENCI, 
                    int REKLAMY, 
                    short WIEDZA_O_FIRMIE, 
                    short WIEDZA_O_PRODUKCIE, 
                    short WIEDZA_O_RYNKU, 
                    short WIEDZA_OGOLNO_HANDLOWA, 
                    short JAKOSC_ROZMOWY_TEL, 
                    short JAKOSC_SPOTKAN, 
                    short JAKOSC_KORESPONDENCJI, 
                    short JAKOSC_OFERT, 
                    int W_BUDZET, 
                    int W_SPOTKANIA, 
                    int W_TEL, 
                    int W_EMAIL, 
                    int W_LIST, 
                    int W_FAX, 
                    int W_N_KLIENCI, 
                    int W_KLIENCI, 
                    int W_REKLAMY, 
                    float EP, 
                    float ESP, 
                    float EPR, 
                    float EPK, 
                    float ECP, 
                    float ELK, 
                    float QO, 
                    float WH, 
                    float OCENA, 
                    float PR_PROWIZJI) {
            if ((SYMBOL == null)) {
                throw new global::System.ArgumentNullException("SYMBOL");
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(SYMBOL));
            }
            this.Adapter.InsertCommand.Parameters[1].Value = ((short)(ROK));
            this.Adapter.InsertCommand.Parameters[2].Value = ((short)(MS));
            this.Adapter.InsertCommand.Parameters[3].Value = ((int)(BUDZET));
            this.Adapter.InsertCommand.Parameters[4].Value = ((int)(SPOTKANIA));
            this.Adapter.InsertCommand.Parameters[5].Value = ((int)(KONTAKTY));
            this.Adapter.InsertCommand.Parameters[6].Value = ((int)(N_KLIENCI));
            this.Adapter.InsertCommand.Parameters[7].Value = ((int)(KLIENCI));
            this.Adapter.InsertCommand.Parameters[8].Value = ((int)(REKLAMY));
            this.Adapter.InsertCommand.Parameters[9].Value = ((short)(WIEDZA_O_FIRMIE));
            this.Adapter.InsertCommand.Parameters[10].Value = ((short)(WIEDZA_O_PRODUKCIE));
            this.Adapter.InsertCommand.Parameters[11].Value = ((short)(WIEDZA_O_RYNKU));
            this.Adapter.InsertCommand.Parameters[12].Value = ((short)(WIEDZA_OGOLNO_HANDLOWA));
            this.Adapter.InsertCommand.Parameters[13].Value = ((short)(JAKOSC_ROZMOWY_TEL));
            this.Adapter.InsertCommand.Parameters[14].Value = ((short)(JAKOSC_SPOTKAN));
            this.Adapter.InsertCommand.Parameters[15].Value = ((short)(JAKOSC_KORESPONDENCJI));
            this.Adapter.InsertCommand.Parameters[16].Value = ((short)(JAKOSC_OFERT));
            this.Adapter.InsertCommand.Parameters[17].Value = ((int)(W_BUDZET));
            this.Adapter.InsertCommand.Parameters[18].Value = ((int)(W_SPOTKANIA));
            this.Adapter.InsertCommand.Parameters[19].Value = ((int)(W_TEL));
            this.Adapter.InsertCommand.Parameters[20].Value = ((int)(W_EMAIL));
            this.Adapter.InsertCommand.Parameters[21].Value = ((int)(W_LIST));
            this.Adapter.InsertCommand.Parameters[22].Value = ((int)(W_FAX));
            this.Adapter.InsertCommand.Parameters[23].Value = ((int)(W_N_KLIENCI));
            this.Adapter.InsertCommand.Parameters[24].Value = ((int)(W_KLIENCI));
            this.Adapter.InsertCommand.Parameters[25].Value = ((int)(W_REKLAMY));
            this.Adapter.InsertCommand.Parameters[26].Value = ((float)(EP));
            this.Adapter.InsertCommand.Parameters[27].Value = ((float)(ESP));
            this.Adapter.InsertCommand.Parameters[28].Value = ((float)(EPR));
            this.Adapter.InsertCommand.Parameters[29].Value = ((float)(EPK));
            this.Adapter.InsertCommand.Parameters[30].Value = ((float)(ECP));
            this.Adapter.InsertCommand.Parameters[31].Value = ((float)(ELK));
            this.Adapter.InsertCommand.Parameters[32].Value = ((float)(QO));
            this.Adapter.InsertCommand.Parameters[33].Value = ((float)(WH));
            this.Adapter.InsertCommand.Parameters[34].Value = ((float)(OCENA));
            this.Adapter.InsertCommand.Parameters[35].Value = ((float)(PR_PROWIZJI));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string SYMBOL, 
                    short ROK, 
                    short MS, 
                    int BUDZET, 
                    int SPOTKANIA, 
                    int KONTAKTY, 
                    int N_KLIENCI, 
                    int KLIENCI, 
                    int REKLAMY, 
                    short WIEDZA_O_FIRMIE, 
                    short WIEDZA_O_PRODUKCIE, 
                    short WIEDZA_O_RYNKU, 
                    short WIEDZA_OGOLNO_HANDLOWA, 
                    short JAKOSC_ROZMOWY_TEL, 
                    short JAKOSC_SPOTKAN, 
                    short JAKOSC_KORESPONDENCJI, 
                    short JAKOSC_OFERT, 
                    int W_BUDZET, 
                    int W_SPOTKANIA, 
                    int W_TEL, 
                    int W_EMAIL, 
                    int W_LIST, 
                    int W_FAX, 
                    int W_N_KLIENCI, 
                    int W_KLIENCI, 
                    int W_REKLAMY, 
                    float EP, 
                    float ESP, 
                    float EPR, 
                    float EPK, 
                    float ECP, 
                    float ELK, 
                    float QO, 
                    float WH, 
                    float OCENA, 
                    float PR_PROWIZJI, 
                    int Original_ID, 
                    string Original_SYMBOL, 
                    short Original_ROK, 
                    short Original_MS, 
                    int Original_BUDZET, 
                    int Original_SPOTKANIA, 
                    int Original_KONTAKTY, 
                    int Original_N_KLIENCI, 
                    int Original_KLIENCI, 
                    int Original_REKLAMY, 
                    short Original_WIEDZA_O_FIRMIE, 
                    short Original_WIEDZA_O_PRODUKCIE, 
                    short Original_WIEDZA_O_RYNKU, 
                    short Original_WIEDZA_OGOLNO_HANDLOWA, 
                    short Original_JAKOSC_ROZMOWY_TEL, 
                    short Original_JAKOSC_SPOTKAN, 
                    short Original_JAKOSC_KORESPONDENCJI, 
                    short Original_JAKOSC_OFERT, 
                    int Original_W_BUDZET, 
                    int Original_W_SPOTKANIA, 
                    int Original_W_TEL, 
                    int Original_W_EMAIL, 
                    int Original_W_LIST, 
                    int Original_W_FAX, 
                    int Original_W_N_KLIENCI, 
                    int Original_W_KLIENCI, 
                    int Original_W_REKLAMY, 
                    float Original_EP, 
                    float Original_ESP, 
                    float Original_EPR, 
                    float Original_EPK, 
                    float Original_ECP, 
                    float Original_ELK, 
                    float Original_QO, 
                    float Original_WH, 
                    float Original_OCENA, 
                    float Original_PR_PROWIZJI, 
                    int ID) {
            if ((SYMBOL == null)) {
                throw new global::System.ArgumentNullException("SYMBOL");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(SYMBOL));
            }
            this.Adapter.UpdateCommand.Parameters[1].Value = ((short)(ROK));
            this.Adapter.UpdateCommand.Parameters[2].Value = ((short)(MS));
            this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(BUDZET));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(SPOTKANIA));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(KONTAKTY));
            this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(N_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(KLIENCI));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(REKLAMY));
            this.Adapter.UpdateCommand.Parameters[9].Value = ((short)(WIEDZA_O_FIRMIE));
            this.Adapter.UpdateCommand.Parameters[10].Value = ((short)(WIEDZA_O_PRODUKCIE));
            this.Adapter.UpdateCommand.Parameters[11].Value = ((short)(WIEDZA_O_RYNKU));
            this.Adapter.UpdateCommand.Parameters[12].Value = ((short)(WIEDZA_OGOLNO_HANDLOWA));
            this.Adapter.UpdateCommand.Parameters[13].Value = ((short)(JAKOSC_ROZMOWY_TEL));
            this.Adapter.UpdateCommand.Parameters[14].Value = ((short)(JAKOSC_SPOTKAN));
            this.Adapter.UpdateCommand.Parameters[15].Value = ((short)(JAKOSC_KORESPONDENCJI));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((short)(JAKOSC_OFERT));
            this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(W_BUDZET));
            this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(W_SPOTKANIA));
            this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(W_TEL));
            this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(W_EMAIL));
            this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(W_LIST));
            this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(W_FAX));
            this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(W_N_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(W_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(W_REKLAMY));
            this.Adapter.UpdateCommand.Parameters[26].Value = ((float)(EP));
            this.Adapter.UpdateCommand.Parameters[27].Value = ((float)(ESP));
            this.Adapter.UpdateCommand.Parameters[28].Value = ((float)(EPR));
            this.Adapter.UpdateCommand.Parameters[29].Value = ((float)(EPK));
            this.Adapter.UpdateCommand.Parameters[30].Value = ((float)(ECP));
            this.Adapter.UpdateCommand.Parameters[31].Value = ((float)(ELK));
            this.Adapter.UpdateCommand.Parameters[32].Value = ((float)(QO));
            this.Adapter.UpdateCommand.Parameters[33].Value = ((float)(WH));
            this.Adapter.UpdateCommand.Parameters[34].Value = ((float)(OCENA));
            this.Adapter.UpdateCommand.Parameters[35].Value = ((float)(PR_PROWIZJI));
            this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_ID));
            if ((Original_SYMBOL == null)) {
                throw new global::System.ArgumentNullException("Original_SYMBOL");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_SYMBOL));
            }
            this.Adapter.UpdateCommand.Parameters[38].Value = ((short)(Original_ROK));
            this.Adapter.UpdateCommand.Parameters[39].Value = ((short)(Original_MS));
            this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_BUDZET));
            this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_SPOTKANIA));
            this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_KONTAKTY));
            this.Adapter.UpdateCommand.Parameters[43].Value = ((int)(Original_N_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[44].Value = ((int)(Original_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[45].Value = ((int)(Original_REKLAMY));
            this.Adapter.UpdateCommand.Parameters[46].Value = ((short)(Original_WIEDZA_O_FIRMIE));
            this.Adapter.UpdateCommand.Parameters[47].Value = ((short)(Original_WIEDZA_O_PRODUKCIE));
            this.Adapter.UpdateCommand.Parameters[48].Value = ((short)(Original_WIEDZA_O_RYNKU));
            this.Adapter.UpdateCommand.Parameters[49].Value = ((short)(Original_WIEDZA_OGOLNO_HANDLOWA));
            this.Adapter.UpdateCommand.Parameters[50].Value = ((short)(Original_JAKOSC_ROZMOWY_TEL));
            this.Adapter.UpdateCommand.Parameters[51].Value = ((short)(Original_JAKOSC_SPOTKAN));
            this.Adapter.UpdateCommand.Parameters[52].Value = ((short)(Original_JAKOSC_KORESPONDENCJI));
            this.Adapter.UpdateCommand.Parameters[53].Value = ((short)(Original_JAKOSC_OFERT));
            this.Adapter.UpdateCommand.Parameters[54].Value = ((int)(Original_W_BUDZET));
            this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(Original_W_SPOTKANIA));
            this.Adapter.UpdateCommand.Parameters[56].Value = ((int)(Original_W_TEL));
            this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_W_EMAIL));
            this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_W_LIST));
            this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(Original_W_FAX));
            this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_W_N_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_W_KLIENCI));
            this.Adapter.UpdateCommand.Parameters[62].Value = ((int)(Original_W_REKLAMY));
            this.Adapter.UpdateCommand.Parameters[63].Value = ((float)(Original_EP));
            this.Adapter.UpdateCommand.Parameters[64].Value = ((float)(Original_ESP));
            this.Adapter.UpdateCommand.Parameters[65].Value = ((float)(Original_EPR));
            this.Adapter.UpdateCommand.Parameters[66].Value = ((float)(Original_EPK));
            this.Adapter.UpdateCommand.Parameters[67].Value = ((float)(Original_ECP));
            this.Adapter.UpdateCommand.Parameters[68].Value = ((float)(Original_ELK));
            this.Adapter.UpdateCommand.Parameters[69].Value = ((float)(Original_QO));
            this.Adapter.UpdateCommand.Parameters[70].Value = ((float)(Original_WH));
            this.Adapter.UpdateCommand.Parameters[71].Value = ((float)(Original_OCENA));
            this.Adapter.UpdateCommand.Parameters[72].Value = ((float)(Original_PR_PROWIZJI));
            this.Adapter.UpdateCommand.Parameters[73].Value = ((int)(ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string SYMBOL, 
                    short ROK, 
                    short MS, 
                    int BUDZET, 
                    int SPOTKANIA, 
                    int KONTAKTY, 
                    int N_KLIENCI, 
                    int KLIENCI, 
                    int REKLAMY, 
                    short WIEDZA_O_FIRMIE, 
                    short WIEDZA_O_PRODUKCIE, 
                    short WIEDZA_O_RYNKU, 
                    short WIEDZA_OGOLNO_HANDLOWA, 
                    short JAKOSC_ROZMOWY_TEL, 
                    short JAKOSC_SPOTKAN, 
                    short JAKOSC_KORESPONDENCJI, 
                    short JAKOSC_OFERT, 
                    int W_BUDZET, 
                    int W_SPOTKANIA, 
                    int W_TEL, 
                    int W_EMAIL, 
                    int W_LIST, 
                    int W_FAX, 
                    int W_N_KLIENCI, 
                    int W_KLIENCI, 
                    int W_REKLAMY, 
                    float EP, 
                    float ESP, 
                    float EPR, 
                    float EPK, 
                    float ECP, 
                    float ELK, 
                    float QO, 
                    float WH, 
                    float OCENA, 
                    float PR_PROWIZJI, 
                    int Original_ID, 
                    string Original_SYMBOL, 
                    short Original_ROK, 
                    short Original_MS, 
                    int Original_BUDZET, 
                    int Original_SPOTKANIA, 
                    int Original_KONTAKTY, 
                    int Original_N_KLIENCI, 
                    int Original_KLIENCI, 
                    int Original_REKLAMY, 
                    short Original_WIEDZA_O_FIRMIE, 
                    short Original_WIEDZA_O_PRODUKCIE, 
                    short Original_WIEDZA_O_RYNKU, 
                    short Original_WIEDZA_OGOLNO_HANDLOWA, 
                    short Original_JAKOSC_ROZMOWY_TEL, 
                    short Original_JAKOSC_SPOTKAN, 
                    short Original_JAKOSC_KORESPONDENCJI, 
                    short Original_JAKOSC_OFERT, 
                    int Original_W_BUDZET, 
                    int Original_W_SPOTKANIA, 
                    int Original_W_TEL, 
                    int Original_W_EMAIL, 
                    int Original_W_LIST, 
                    int Original_W_FAX, 
                    int Original_W_N_KLIENCI, 
                    int Original_W_KLIENCI, 
                    int Original_W_REKLAMY, 
                    float Original_EP, 
                    float Original_ESP, 
                    float Original_EPR, 
                    float Original_EPK, 
                    float Original_ECP, 
                    float Original_ELK, 
                    float Original_QO, 
                    float Original_WH, 
                    float Original_OCENA, 
                    float Original_PR_PROWIZJI) {
            return this.Update(SYMBOL, ROK, MS, BUDZET, SPOTKANIA, KONTAKTY, N_KLIENCI, KLIENCI, REKLAMY, WIEDZA_O_FIRMIE, WIEDZA_O_PRODUKCIE, WIEDZA_O_RYNKU, WIEDZA_OGOLNO_HANDLOWA, JAKOSC_ROZMOWY_TEL, JAKOSC_SPOTKAN, JAKOSC_KORESPONDENCJI, JAKOSC_OFERT, W_BUDZET, W_SPOTKANIA, W_TEL, W_EMAIL, W_LIST, W_FAX, W_N_KLIENCI, W_KLIENCI, W_REKLAMY, EP, ESP, EPR, EPK, ECP, ELK, QO, WH, OCENA, PR_PROWIZJI, Original_ID, Original_SYMBOL, Original_ROK, Original_MS, Original_BUDZET, Original_SPOTKANIA, Original_KONTAKTY, Original_N_KLIENCI, Original_KLIENCI, Original_REKLAMY, Original_WIEDZA_O_FIRMIE, Original_WIEDZA_O_PRODUKCIE, Original_WIEDZA_O_RYNKU, Original_WIEDZA_OGOLNO_HANDLOWA, Original_JAKOSC_ROZMOWY_TEL, Original_JAKOSC_SPOTKAN, Original_JAKOSC_KORESPONDENCJI, Original_JAKOSC_OFERT, Original_W_BUDZET, Original_W_SPOTKANIA, Original_W_TEL, Original_W_EMAIL, Original_W_LIST, Original_W_FAX, Original_W_N_KLIENCI, Original_W_KLIENCI, Original_W_REKLAMY, Original_EP, Original_ESP, Original_EPR, Original_EPK, Original_ECP, Original_ELK, Original_QO, Original_WH, Original_OCENA, Original_PR_PROWIZJI, Original_ID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class ListyTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public ListyTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "Listy";
            tableMapping.ColumnMappings.Add("ilosc", "ilosc");
            tableMapping.ColumnMappings.Add("drukuj", "drukuj");
            tableMapping.ColumnMappings.Add("custID", "custID");
            tableMapping.ColumnMappings.Add("klientNazwa", "klientNazwa");
            tableMapping.ColumnMappings.Add("suma", "suma");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        custID, COUNT(custID) AS ilosc, klientNazwa, SUM(DISTINCT [Nr Wydan" +
                "ia]) AS suma, CONVERT(bit, 1) AS drukuj\r\nFROM            (SELECT        R.Custom" +
                "erID AS custID, R.TYTUŁ AS tyt, K.FirstName AS klientNazwa, [UKAŻE SIĘ W NR].[Nr" +
                " Wydania]\r\n                          FROM            REKLAMA AS R INNER JOIN\r\n  " +
                "                                                  [UKAŻE SIĘ W NR] ON R.ReklamaI" +
                "D = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN\r\n                                " +
                "                    REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND" +
                " REKLAMA_STRONA.STRONA IS NOT NULL AND \r\n                                       " +
                "             [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA LEFT OUTE" +
                "R JOIN\r\n                                                    KLIENCI AS K ON R.Cu" +
                "stomerID = K.CustomerID\r\n                          WHERE        (R.[ZATWIERDZONO" +
                " DO DRUKU] = 1) AND (R.TYTUŁ = \'AMT\') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nrAM" +
                "T) AND \r\n                                                    (REKLAMA_STRONA.STR" +
                "ONA IS NOT NULL) AND (R.GRZBIET <> 9) OR\r\n                                      " +
                "              (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = \'GS\') AND ([UKAŻE S" +
                "IĘ W NR].[Nr Wydania] = @nrGS1) AND \r\n                                          " +
                "          (REKLAMA_STRONA.STRONA IS NOT NULL) AND (R.GRZBIET <> 9) OR\r\n         " +
                "                                           (R.[ZATWIERDZONO DO DRUKU] = 1) AND (" +
                "R.TYTUŁ = \'GS\') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nrGS2) AND \r\n             " +
                "                                       (REKLAMA_STRONA.STRONA IS NOT NULL) AND (" +
                "R.GRZBIET <> 9)) AS T\r\nGROUP BY custID, klientNazwa\r\nORDER BY suma DESC, ilosc D" +
                "ESC";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrAMT", global::System.Data.SqlDbType.Int, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrGS1", global::System.Data.SqlDbType.Int, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrGS2", global::System.Data.SqlDbType.Int, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.ListyDataTable dataTable, int nrAMT, int nrGS1, int nrGS2) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(nrAMT));
            this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nrGS1));
            this.Adapter.SelectCommand.Parameters[2].Value = ((int)(nrGS2));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.ListyDataTable GetData(int nrAMT, int nrGS1, int nrGS2) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(nrAMT));
            this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nrGS1));
            this.Adapter.SelectCommand.Parameters[2].Value = ((int)(nrGS2));
            REKLAMADataSet.ListyDataTable dataTable = new REKLAMADataSet.ListyDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class ListyPodsumowanieTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public ListyPodsumowanieTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "ListyPodsumowanie";
            tableMapping.ColumnMappings.Add("Nr Wydania", "Nr Wydania");
            tableMapping.ColumnMappings.Add("tyt", "tyt");
            tableMapping.ColumnMappings.Add("Expr1", "Expr1");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        tyt, [Nr Wydania], COUNT(DISTINCT custID) AS Expr1\r\nFROM           " +
                " (SELECT        R.CustomerID AS custID, R.TYTUŁ AS tyt, K.FirstName AS klientNaz" +
                "wa, [UKAŻE SIĘ W NR].[Nr Wydania]\r\n                          FROM            REK" +
                "LAMA AS R INNER JOIN\r\n                                                    [UKAŻE" +
                " SIĘ W NR] ON R.ReklamaID = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN\r\n        " +
                "                                            REKLAMA_STRONA ON R.ReklamaID = REKL" +
                "AMA_STRONA.ReklamaId AND REKLAMA_STRONA.STRONA IS NOT NULL AND \r\n               " +
                "                                     [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STR" +
                "ONA.NR_WYDANIA LEFT OUTER JOIN\r\n                                                " +
                "    KLIENCI AS K ON R.CustomerID = K.CustomerID\r\n                          WHERE" +
                "        (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = \'AMT\') AND ([UKAŻE SIĘ W " +
                "NR].[Nr Wydania] = @nrAMT) AND \r\n                                               " +
                "     (REKLAMA_STRONA.STRONA IS NOT NULL) AND (R.GRZBIET <> 9) OR\r\n              " +
                "                                      (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYT" +
                "UŁ = \'GS\') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nrGS1) AND \r\n                  " +
                "                                  (REKLAMA_STRONA.STRONA IS NOT NULL) AND (R.GRZ" +
                "BIET <> 9) OR\r\n                                                    (R.[ZATWIERDZ" +
                "ONO DO DRUKU] = 1) AND (R.TYTUŁ = \'GS\') AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nr" +
                "GS2) AND \r\n                                                    (REKLAMA_STRONA.S" +
                "TRONA IS NOT NULL) AND (R.GRZBIET <> 9)) AS T\r\nGROUP BY tyt, [Nr Wydania]\r\nORDER" +
                " BY [Nr Wydania]";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrAMT", global::System.Data.SqlDbType.Int, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrGS1", global::System.Data.SqlDbType.Int, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrGS2", global::System.Data.SqlDbType.Int, 2, global::System.Data.ParameterDirection.Input, 0, 0, "Nr Wydania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.ListyPodsumowanieDataTable dataTable, int nrAMT, int nrGS1, int nrGS2) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(nrAMT));
            this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nrGS1));
            this.Adapter.SelectCommand.Parameters[2].Value = ((int)(nrGS2));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.ListyPodsumowanieDataTable GetData(int nrAMT, int nrGS1, int nrGS2) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(nrAMT));
            this.Adapter.SelectCommand.Parameters[1].Value = ((int)(nrGS1));
            this.Adapter.SelectCommand.Parameters[2].Value = ((int)(nrGS2));
            REKLAMADataSet.ListyPodsumowanieDataTable dataTable = new REKLAMADataSet.ListyPodsumowanieDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class shedulerTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public shedulerTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "sheduler";
            tableMapping.ColumnMappings.Add("id", "id");
            tableMapping.ColumnMappings.Add("CustomerId", "CustomerId");
            tableMapping.ColumnMappings.Add("CustomerName", "CustomerName");
            tableMapping.ColumnMappings.Add("Akwizytor", "Akwizytor");
            tableMapping.ColumnMappings.Add("DataWprowadzenia", "DataWprowadzenia");
            tableMapping.ColumnMappings.Add("DataPrzypomnienia", "DataPrzypomnienia");
            tableMapping.ColumnMappings.Add("Opis", "Opis");
            tableMapping.ColumnMappings.Add("zalatwione", "zalatwione");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [sheduler] WHERE (([id] = @Original_id))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [sheduler] ([CustomerId], [CustomerName], [Akwizytor], [DataWprowadzenia], [DataPrzypomnienia], [Opis], [zalatwione]) VALUES (@CustomerId, @CustomerName, @Akwizytor, @DataWprowadzenia, @DataPrzypomnienia, @Opis, @zalatwione);
SELECT id, CustomerId, CustomerName, Akwizytor, DataWprowadzenia, DataPrzypomnienia, Opis, zalatwione FROM sheduler WHERE (id = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Akwizytor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Akwizytor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataWprowadzenia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataWprowadzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrzypomnienia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataPrzypomnienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zalatwione", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zalatwione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [sheduler] SET [CustomerId] = @CustomerId, [CustomerName] = @CustomerName, [Akwizytor] = @Akwizytor, [DataWprowadzenia] = @DataWprowadzenia, [DataPrzypomnienia] = @DataPrzypomnienia, [Opis] = @Opis, [zalatwione] = @zalatwione WHERE (([id] = @Original_id));
SELECT id, CustomerId, CustomerName, Akwizytor, DataWprowadzenia, DataPrzypomnienia, Opis, zalatwione FROM sheduler WHERE (id = @id)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Akwizytor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Akwizytor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataWprowadzenia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataWprowadzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataPrzypomnienia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataPrzypomnienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Opis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Opis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zalatwione", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zalatwione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        sheduler.*\r\nFROM            sheduler";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT        sheduler.id, sheduler.CustomerId, sheduler.CustomerName, sheduler.Akwizytor, sheduler.DataWprowadzenia, sheduler.DataPrzypomnienia, sheduler.Opis, 
                         sheduler.zalatwione
FROM            sheduler LEFT OUTER JOIN
                         AGENCI ON sheduler.Akwizytor = AGENCI.Symbol
WHERE        (AGENCI.ID_AGENCJI = @agencja) AND (DATEDIFF(day, GETDATE(), sheduler.DataPrzypomnienia) >= - 100)
ORDER BY sheduler.DataPrzypomnienia DESC";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_AGENCJI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT        sheduler.id, sheduler.CustomerId, sheduler.CustomerName, sheduler.Akwizytor, sheduler.DataWprowadzenia, sheduler.DataPrzypomnienia, sheduler.Opis, 
                         sheduler.zalatwione
FROM            sheduler LEFT OUTER JOIN
                         AGENCI ON sheduler.Akwizytor = AGENCI.Symbol
WHERE        (DATEDIFF(day, GETDATE(), sheduler.DataPrzypomnienia) >= - 100) AND (AGENCI.Symbol = @agent)
ORDER BY sheduler.DataPrzypomnienia DESC";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agent", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Symbol", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = "SELECT        id, CustomerId, CustomerName, Akwizytor, DataWprowadzenia, DataPrzy" +
                "pomnienia, Opis, zalatwione\r\nFROM            sheduler\r\nWHERE        (CustomerId " +
                "= @CustomerId)";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CustomerId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.shedulerDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.shedulerDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.shedulerDataTable dataTable = new REKLAMADataSet.shedulerDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByAgencjaWgDaty(REKLAMADataSet.shedulerDataTable dataTable, global::System.Nullable<int> agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.shedulerDataTable GetDataByAgencjaWgDaty(global::System.Nullable<int> agencja) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((agencja.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(agencja.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.shedulerDataTable dataTable = new REKLAMADataSet.shedulerDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByAgentWgDaty(REKLAMADataSet.shedulerDataTable dataTable, string agent) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((agent == null)) {
                throw new global::System.ArgumentNullException("agent");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agent));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.shedulerDataTable GetDataByAgentWgDaty(string agent) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((agent == null)) {
                throw new global::System.ArgumentNullException("agent");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agent));
            }
            REKLAMADataSet.shedulerDataTable dataTable = new REKLAMADataSet.shedulerDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.shedulerDataTable dataTable, global::System.Nullable<int> CustomerId) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((CustomerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(CustomerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.shedulerDataTable GetDataByCustomerId(global::System.Nullable<int> CustomerId) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((CustomerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(CustomerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.shedulerDataTable dataTable = new REKLAMADataSet.shedulerDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.shedulerDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "sheduler");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_id) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_id));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(global::System.Nullable<int> CustomerId, string CustomerName, string Akwizytor, global::System.Nullable<global::System.DateTime> DataWprowadzenia, global::System.Nullable<global::System.DateTime> DataPrzypomnienia, string Opis, global::System.Nullable<bool> zalatwione) {
            if ((CustomerId.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[0].Value = ((int)(CustomerId.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((CustomerName == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CustomerName));
            }
            if ((Akwizytor == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Akwizytor));
            }
            if ((DataWprowadzenia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(DataWprowadzenia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((DataPrzypomnienia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DataPrzypomnienia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((Opis == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Opis));
            }
            if ((zalatwione.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(zalatwione.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(global::System.Nullable<int> CustomerId, string CustomerName, string Akwizytor, global::System.Nullable<global::System.DateTime> DataWprowadzenia, global::System.Nullable<global::System.DateTime> DataPrzypomnienia, string Opis, global::System.Nullable<bool> zalatwione, int Original_id, int id) {
            if ((CustomerId.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(CustomerId.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((CustomerName == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CustomerName));
            }
            if ((Akwizytor == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Akwizytor));
            }
            if ((DataWprowadzenia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(DataWprowadzenia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((DataPrzypomnienia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DataPrzypomnienia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((Opis == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Opis));
            }
            if ((zalatwione.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(zalatwione.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_id));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(id));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(global::System.Nullable<int> CustomerId, string CustomerName, string Akwizytor, global::System.Nullable<global::System.DateTime> DataWprowadzenia, global::System.Nullable<global::System.DateTime> DataPrzypomnienia, string Opis, global::System.Nullable<bool> zalatwione, int Original_id) {
            return this.Update(CustomerId, CustomerName, Akwizytor, DataWprowadzenia, DataPrzypomnienia, Opis, zalatwione, Original_id, Original_id);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class OFERTY_MAINTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public OFERTY_MAINTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "OFERTY_MAIN";
            tableMapping.ColumnMappings.Add("id_oferty", "id_oferty");
            tableMapping.ColumnMappings.Add("Stan_Oferty", "Stan_Oferty");
            tableMapping.ColumnMappings.Add("Id_Wersje_Oferty", "Id_Wersje_Oferty");
            tableMapping.ColumnMappings.Add("CUSTOMER_ID", "CUSTOMER_ID");
            tableMapping.ColumnMappings.Add("id_klienci_os_kontakt", "id_klienci_os_kontakt");
            tableMapping.ColumnMappings.Add("id_tytul", "id_tytul");
            tableMapping.ColumnMappings.Add("AGENT", "AGENT");
            tableMapping.ColumnMappings.Add("JEZYK", "JEZYK");
            tableMapping.ColumnMappings.Add("Data_Oferty", "Data_Oferty");
            tableMapping.ColumnMappings.Add("Opis_Dol", "Opis_Dol");
            tableMapping.ColumnMappings.Add("Data_Wyslania", "Data_Wyslania");
            tableMapping.ColumnMappings.Add("Data_Modyfikacji", "Data_Modyfikacji");
            tableMapping.ColumnMappings.Add("Zmodyfikowal_User", "Zmodyfikowal_User");
            tableMapping.ColumnMappings.Add("zapisana", "zapisana");
            tableMapping.ColumnMappings.Add("ReklamaID", "ReklamaID");
            tableMapping.ColumnMappings.Add("ProjektID", "ProjektID");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [OFERTY_MAIN] WHERE (([id_oferty] = @Original_id_oferty))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id_oferty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [OFERTY_MAIN] ([Stan_Oferty], [Id_Wersje_Oferty], [CUSTOMER_ID], [id_klienci_os_kontakt], [id_tytul], [AGENT], [JEZYK], [Data_Oferty], [Opis_Dol], [Data_Wyslania], [Data_Modyfikacji], [Zmodyfikowal_User], [zapisana], [ReklamaID], [ProjektID]) VALUES (@Stan_Oferty, @Id_Wersje_Oferty, @CUSTOMER_ID, @id_klienci_os_kontakt, @id_tytul, @AGENT, @JEZYK, @Data_Oferty, @Opis_Dol, @Data_Wyslania, @Data_Modyfikacji, @Zmodyfikowal_User, @zapisana, @ReklamaID, @ProjektID);
SELECT id_oferty, Stan_Oferty, Id_Wersje_Oferty, CUSTOMER_ID, id_klienci_os_kontakt, id_tytul, AGENT, JEZYK, Data_Oferty, Opis_Dol, Data_Wyslania, Data_Modyfikacji, Zmodyfikowal_User, zapisana, ReklamaID, ProjektID FROM OFERTY_MAIN WHERE (id_oferty = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stan_Oferty", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Stan_Oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id_Wersje_Oferty", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id_Wersje_Oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CUSTOMER_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CUSTOMER_ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_klienci_os_kontakt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_klienci_os_kontakt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_tytul", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_tytul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AGENT", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AGENT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JEZYK", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JEZYK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data_Oferty", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data_Oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Opis_Dol", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Opis_Dol", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data_Wyslania", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data_Wyslania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data_Modyfikacji", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data_Modyfikacji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zmodyfikowal_User", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zmodyfikowal_User", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zapisana", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zapisana", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProjektID", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProjektID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [OFERTY_MAIN] SET [Stan_Oferty] = @Stan_Oferty, [Id_Wersje_Oferty] = @Id_Wersje_Oferty, [CUSTOMER_ID] = @CUSTOMER_ID, [id_klienci_os_kontakt] = @id_klienci_os_kontakt, [id_tytul] = @id_tytul, [AGENT] = @AGENT, [JEZYK] = @JEZYK, [Data_Oferty] = @Data_Oferty, [Opis_Dol] = @Opis_Dol, [Data_Wyslania] = @Data_Wyslania, [Data_Modyfikacji] = @Data_Modyfikacji, [Zmodyfikowal_User] = @Zmodyfikowal_User, [zapisana] = @zapisana, [ReklamaID] = @ReklamaID, [ProjektID] = @ProjektID WHERE (([id_oferty] = @Original_id_oferty));
SELECT id_oferty, Stan_Oferty, Id_Wersje_Oferty, CUSTOMER_ID, id_klienci_os_kontakt, id_tytul, AGENT, JEZYK, Data_Oferty, Opis_Dol, Data_Wyslania, Data_Modyfikacji, Zmodyfikowal_User, zapisana, ReklamaID, ProjektID FROM OFERTY_MAIN WHERE (id_oferty = @id_oferty)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stan_Oferty", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Stan_Oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id_Wersje_Oferty", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Id_Wersje_Oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CUSTOMER_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CUSTOMER_ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_klienci_os_kontakt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_klienci_os_kontakt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_tytul", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_tytul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AGENT", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AGENT", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JEZYK", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JEZYK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data_Oferty", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data_Oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Opis_Dol", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Opis_Dol", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data_Wyslania", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data_Wyslania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data_Modyfikacji", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data_Modyfikacji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zmodyfikowal_User", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zmodyfikowal_User", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zapisana", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zapisana", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProjektID", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProjektID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id_oferty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_oferty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        OFERTY_MAIN.*\r\nFROM            OFERTY_MAIN";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT        OFERTY_MAIN.*\r\nFROM            OFERTY_MAIN where customer_id=@custI" +
                "d";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@custId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CUSTOMER_ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT        id_oferty, Stan_Oferty, Id_Wersje_Oferty, CUSTOMER_ID, id_klienci_os_kontakt, id_tytul, AGENT, JEZYK, Data_Oferty, Opis_Dol, Data_Wyslania, 
                         Data_Modyfikacji, Zmodyfikowal_User, zapisana, ReklamaID, ProjektID
FROM            OFERTY_MAIN
WHERE        (id_oferty = @id)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.OFERTY_MAINDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.OFERTY_MAINDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.OFERTY_MAINDataTable dataTable = new REKLAMADataSet.OFERTY_MAINDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.OFERTY_MAINDataTable dataTable, int custId) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(custId));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.OFERTY_MAINDataTable GetDataByCustomerId(int custId) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(custId));
            REKLAMADataSet.OFERTY_MAINDataTable dataTable = new REKLAMADataSet.OFERTY_MAINDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdOferty(REKLAMADataSet.OFERTY_MAINDataTable dataTable, int id) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(id));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.OFERTY_MAINDataTable GetDataByIdOferty(int id) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(id));
            REKLAMADataSet.OFERTY_MAINDataTable dataTable = new REKLAMADataSet.OFERTY_MAINDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.OFERTY_MAINDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "OFERTY_MAIN");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_id_oferty) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_id_oferty));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(string Stan_Oferty, global::System.Nullable<short> Id_Wersje_Oferty, int CUSTOMER_ID, global::System.Nullable<int> id_klienci_os_kontakt, int id_tytul, string AGENT, short JEZYK, System.DateTime Data_Oferty, string Opis_Dol, System.DateTime Data_Wyslania, System.DateTime Data_Modyfikacji, string Zmodyfikowal_User, int zapisana, global::System.Nullable<int> ReklamaID, string ProjektID) {
            if ((Stan_Oferty == null)) {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Stan_Oferty));
            }
            if ((Id_Wersje_Oferty.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((short)(Id_Wersje_Oferty.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[2].Value = ((int)(CUSTOMER_ID));
            if ((id_klienci_os_kontakt.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((int)(id_klienci_os_kontakt.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[4].Value = ((int)(id_tytul));
            if ((AGENT == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(AGENT));
            }
            this.Adapter.InsertCommand.Parameters[6].Value = ((short)(JEZYK));
            this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(Data_Oferty));
            if ((Opis_Dol == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Opis_Dol));
            }
            this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(Data_Wyslania));
            this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(Data_Modyfikacji));
            if ((Zmodyfikowal_User == null)) {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Zmodyfikowal_User));
            }
            this.Adapter.InsertCommand.Parameters[12].Value = ((int)(zapisana));
            if ((ReklamaID.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((int)(ReklamaID.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((ProjektID == null)) {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = ((string)(ProjektID));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string Stan_Oferty, 
                    global::System.Nullable<short> Id_Wersje_Oferty, 
                    int CUSTOMER_ID, 
                    global::System.Nullable<int> id_klienci_os_kontakt, 
                    int id_tytul, 
                    string AGENT, 
                    short JEZYK, 
                    System.DateTime Data_Oferty, 
                    string Opis_Dol, 
                    System.DateTime Data_Wyslania, 
                    System.DateTime Data_Modyfikacji, 
                    string Zmodyfikowal_User, 
                    int zapisana, 
                    global::System.Nullable<int> ReklamaID, 
                    string ProjektID, 
                    int Original_id_oferty, 
                    int id_oferty) {
            if ((Stan_Oferty == null)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Stan_Oferty));
            }
            if ((Id_Wersje_Oferty.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((short)(Id_Wersje_Oferty.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(CUSTOMER_ID));
            if ((id_klienci_os_kontakt.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(id_klienci_os_kontakt.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(id_tytul));
            if ((AGENT == null)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(AGENT));
            }
            this.Adapter.UpdateCommand.Parameters[6].Value = ((short)(JEZYK));
            this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Data_Oferty));
            if ((Opis_Dol == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Opis_Dol));
            }
            this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Data_Wyslania));
            this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Data_Modyfikacji));
            if ((Zmodyfikowal_User == null)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Zmodyfikowal_User));
            }
            this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(zapisana));
            if ((ReklamaID.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(ReklamaID.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((ProjektID == null)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(ProjektID));
            }
            this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_id_oferty));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(id_oferty));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string Stan_Oferty, 
                    global::System.Nullable<short> Id_Wersje_Oferty, 
                    int CUSTOMER_ID, 
                    global::System.Nullable<int> id_klienci_os_kontakt, 
                    int id_tytul, 
                    string AGENT, 
                    short JEZYK, 
                    System.DateTime Data_Oferty, 
                    string Opis_Dol, 
                    System.DateTime Data_Wyslania, 
                    System.DateTime Data_Modyfikacji, 
                    string Zmodyfikowal_User, 
                    int zapisana, 
                    global::System.Nullable<int> ReklamaID, 
                    string ProjektID, 
                    int Original_id_oferty) {
            return this.Update(Stan_Oferty, Id_Wersje_Oferty, CUSTOMER_ID, id_klienci_os_kontakt, id_tytul, AGENT, JEZYK, Data_Oferty, Opis_Dol, Data_Wyslania, Data_Modyfikacji, Zmodyfikowal_User, zapisana, ReklamaID, ProjektID, Original_id_oferty, Original_id_oferty);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class Oferty_WersjeTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public Oferty_WersjeTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "Oferty_Wersje";
            tableMapping.ColumnMappings.Add("id_oferty_wersje", "id_oferty_wersje");
            tableMapping.ColumnMappings.Add("nazwa", "nazwa");
            tableMapping.ColumnMappings.Add("id_jezyk", "id_jezyk");
            tableMapping.ColumnMappings.Add("id_tytul", "id_tytul");
            tableMapping.ColumnMappings.Add("nazwa_pliku", "nazwa_pliku");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [Oferty_Wersje] WHERE (([id_oferty_wersje] = @Original_id_oferty_wers" +
                "je))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id_oferty_wersje", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty_wersje", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [Oferty_Wersje] ([nazwa], [id_jezyk], [id_tytul], [nazwa_pliku]) VALUES (@nazwa, @id_jezyk, @id_tytul, @nazwa_pliku);
SELECT id_oferty_wersje, nazwa, id_jezyk, id_tytul, nazwa_pliku FROM Oferty_Wersje WHERE (id_oferty_wersje = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazwa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_jezyk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_jezyk", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_tytul", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_tytul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazwa_pliku", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa_pliku", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [Oferty_Wersje] SET [nazwa] = @nazwa, [id_jezyk] = @id_jezyk, [id_tytul] = @id_tytul, [nazwa_pliku] = @nazwa_pliku WHERE (([id_oferty_wersje] = @Original_id_oferty_wersje));
SELECT id_oferty_wersje, nazwa, id_jezyk, id_tytul, nazwa_pliku FROM Oferty_Wersje WHERE (id_oferty_wersje = @id_oferty_wersje)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazwa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_jezyk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_jezyk", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_tytul", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_tytul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazwa_pliku", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa_pliku", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id_oferty_wersje", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty_wersje", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@id_oferty_wersje", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "id_oferty_wersje", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        Oferty_Wersje.*\r\nFROM            Oferty_Wersje";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.Oferty_WersjeDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.Oferty_WersjeDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.Oferty_WersjeDataTable dataTable = new REKLAMADataSet.Oferty_WersjeDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.Oferty_WersjeDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "Oferty_Wersje");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_id_oferty_wersje) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_id_oferty_wersje));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(string nazwa, global::System.Nullable<int> id_jezyk, global::System.Nullable<int> id_tytul, string nazwa_pliku) {
            if ((nazwa == null)) {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(nazwa));
            }
            if ((id_jezyk.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((int)(id_jezyk.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((id_tytul.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((int)(id_tytul.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((nazwa_pliku == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(nazwa_pliku));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(string nazwa, global::System.Nullable<int> id_jezyk, global::System.Nullable<int> id_tytul, string nazwa_pliku, int Original_id_oferty_wersje, int id_oferty_wersje) {
            if ((nazwa == null)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(nazwa));
            }
            if ((id_jezyk.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(id_jezyk.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((id_tytul.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(id_tytul.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((nazwa_pliku == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(nazwa_pliku));
            }
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_id_oferty_wersje));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(id_oferty_wersje));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(string nazwa, global::System.Nullable<int> id_jezyk, global::System.Nullable<int> id_tytul, string nazwa_pliku, int Original_id_oferty_wersje) {
            return this.Update(nazwa, id_jezyk, id_tytul, nazwa_pliku, Original_id_oferty_wersje, Original_id_oferty_wersje);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class zastawienieKontaktowTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public zastawienieKontaktowTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "zastawienieKontaktow";
            tableMapping.ColumnMappings.Add("FirstName", "FirstName");
            tableMapping.ColumnMappings.Add("symbol_agenta", "symbol_agenta");
            tableMapping.ColumnMappings.Add("data", "data");
            tableMapping.ColumnMappings.Add("rodzaj", "rodzaj");
            tableMapping.ColumnMappings.Add("opis", "opis");
            tableMapping.ColumnMappings.Add("CustomerID", "CustomerID");
            tableMapping.ColumnMappings.Add("UserName", "UserName");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT        TOP 1000 KLIENCI.FirstName, KONTAKTY.symbol_agenta, KONTAKTY.data, KONTAKTY.rodzaj, KONTAKTY.opis, KLIENCI.CustomerID, 
                         KLIENCI.UserName
FROM            KONTAKTY LEFT OUTER JOIN
                         KLIENCI ON KONTAKTY.customerId = KLIENCI.CustomerID";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.zastawienieKontaktowDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.zastawienieKontaktowDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.zastawienieKontaktowDataTable dataTable = new REKLAMADataSet.zastawienieKontaktowDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class View_Podsumowanie_Wykonania_PlanuTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public View_Podsumowanie_Wykonania_PlanuTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "View_Podsumowanie_Wykonania_Planu";
            tableMapping.ColumnMappings.Add("SYMBOL", "SYMBOL");
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("MS", "MS");
            tableMapping.ColumnMappings.Add("BUDZET", "BUDZET");
            tableMapping.ColumnMappings.Add("SPOTKANIA", "SPOTKANIA");
            tableMapping.ColumnMappings.Add("KONTAKTY", "KONTAKTY");
            tableMapping.ColumnMappings.Add("N_KLIENCI", "N_KLIENCI");
            tableMapping.ColumnMappings.Add("KLIENCI", "KLIENCI");
            tableMapping.ColumnMappings.Add("REKLAMY", "REKLAMY");
            tableMapping.ColumnMappings.Add("W_BUDZET", "W_BUDZET");
            tableMapping.ColumnMappings.Add("W_SPOTKANIA", "W_SPOTKANIA");
            tableMapping.ColumnMappings.Add("w_kontakty", "w_kontakty");
            tableMapping.ColumnMappings.Add("W_N_KLIENCI", "W_N_KLIENCI");
            tableMapping.ColumnMappings.Add("W_KLIENCI", "W_KLIENCI");
            tableMapping.ColumnMappings.Add("W_REKLAMY", "W_REKLAMY");
            tableMapping.ColumnMappings.Add("il_ms", "il_ms");
            tableMapping.ColumnMappings.Add("r_budzet", "r_budzet");
            tableMapping.ColumnMappings.Add("r_spotkania", "r_spotkania");
            tableMapping.ColumnMappings.Add("r_kontakty", "r_kontakty");
            tableMapping.ColumnMappings.Add("r_n_klienci", "r_n_klienci");
            tableMapping.ColumnMappings.Add("r_klienci", "r_klienci");
            tableMapping.ColumnMappings.Add("r_reklamy", "r_reklamy");
            tableMapping.ColumnMappings.Add("r_w_budzet", "r_w_budzet");
            tableMapping.ColumnMappings.Add("r_w_spotkania", "r_w_spotkania");
            tableMapping.ColumnMappings.Add("r_w_n_klienci", "r_w_n_klienci");
            tableMapping.ColumnMappings.Add("r_w_klienci", "r_w_klienci");
            tableMapping.ColumnMappings.Add("r_w_reklamy", "r_w_reklamy");
            tableMapping.ColumnMappings.Add("r_w_kontakty", "r_w_kontakty");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "select * from dbo.View_Podsumowanie_Wykonania_Planu where symbol=@agent and ms = " +
                "@miesiac and rok=@rok";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agent", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "SYMBOL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@miesiac", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.View_Podsumowanie_Wykonania_PlanuDataTable dataTable, string agent, short miesiac, short rok) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((agent == null)) {
                throw new global::System.ArgumentNullException("agent");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agent));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(miesiac));
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(rok));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.View_Podsumowanie_Wykonania_PlanuDataTable GetData(string agent, short miesiac, short rok) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((agent == null)) {
                throw new global::System.ArgumentNullException("agent");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agent));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(miesiac));
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(rok));
            REKLAMADataSet.View_Podsumowanie_Wykonania_PlanuDataTable dataTable = new REKLAMADataSet.View_Podsumowanie_Wykonania_PlanuDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class View_Podsumowanie_Wykonania_Planu_AgencjaTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public View_Podsumowanie_Wykonania_Planu_AgencjaTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "View_Podsumowanie_Wykonania_Planu_Agencja";
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("MS", "MS");
            tableMapping.ColumnMappings.Add("symbol", "symbol");
            tableMapping.ColumnMappings.Add("BUDZET", "BUDZET");
            tableMapping.ColumnMappings.Add("BUDZET_HANDLOWCY", "BUDZET_HANDLOWCY");
            tableMapping.ColumnMappings.Add("SPOTKANIA", "SPOTKANIA");
            tableMapping.ColumnMappings.Add("KONTAKTY", "KONTAKTY");
            tableMapping.ColumnMappings.Add("N_KLIENCI", "N_KLIENCI");
            tableMapping.ColumnMappings.Add("KLIENCI", "KLIENCI");
            tableMapping.ColumnMappings.Add("REKLAMY", "REKLAMY");
            tableMapping.ColumnMappings.Add("W_BUDZET", "W_BUDZET");
            tableMapping.ColumnMappings.Add("W_SPOTKANIA", "W_SPOTKANIA");
            tableMapping.ColumnMappings.Add("w_kontakty", "w_kontakty");
            tableMapping.ColumnMappings.Add("W_N_KLIENCI", "W_N_KLIENCI");
            tableMapping.ColumnMappings.Add("W_KLIENCI", "W_KLIENCI");
            tableMapping.ColumnMappings.Add("W_REKLAMY", "W_REKLAMY");
            tableMapping.ColumnMappings.Add("il_ms", "il_ms");
            tableMapping.ColumnMappings.Add("r_budzet", "r_budzet");
            tableMapping.ColumnMappings.Add("r_spotkania", "r_spotkania");
            tableMapping.ColumnMappings.Add("r_kontakty", "r_kontakty");
            tableMapping.ColumnMappings.Add("r_n_klienci", "r_n_klienci");
            tableMapping.ColumnMappings.Add("r_klienci", "r_klienci");
            tableMapping.ColumnMappings.Add("r_reklamy", "r_reklamy");
            tableMapping.ColumnMappings.Add("r_w_budzet", "r_w_budzet");
            tableMapping.ColumnMappings.Add("r_w_spotkania", "r_w_spotkania");
            tableMapping.ColumnMappings.Add("r_w_n_klienci", "r_w_n_klienci");
            tableMapping.ColumnMappings.Add("r_w_klienci", "r_w_klienci");
            tableMapping.ColumnMappings.Add("r_w_reklamy", "r_w_reklamy");
            tableMapping.ColumnMappings.Add("r_w_kontakty", "r_w_kontakty");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "select * from dbo.View_Podsumowanie_Wykonania_Planu_Agencja where symbol=@agencja" +
                " and ms=@miesiac and rok=@rok";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "symbol", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@miesiac", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "MS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.View_Podsumowanie_Wykonania_Planu_AgencjaDataTable dataTable, string agencja, short miesiac, short rok) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((agencja == null)) {
                throw new global::System.ArgumentNullException("agencja");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agencja));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(miesiac));
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(rok));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.View_Podsumowanie_Wykonania_Planu_AgencjaDataTable GetData(string agencja, short miesiac, short rok) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((agencja == null)) {
                throw new global::System.ArgumentNullException("agencja");
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(agencja));
            }
            this.Adapter.SelectCommand.Parameters[1].Value = ((short)(miesiac));
            this.Adapter.SelectCommand.Parameters[2].Value = ((short)(rok));
            REKLAMADataSet.View_Podsumowanie_Wykonania_Planu_AgencjaDataTable dataTable = new REKLAMADataSet.View_Podsumowanie_Wykonania_Planu_AgencjaDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class LISTA_REKLAM_NA_WYDANIETableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public LISTA_REKLAM_NA_WYDANIETableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "LISTA_REKLAM_NA_WYDANIE";
            tableMapping.ColumnMappings.Add("ReklamaID", "ReklamaID");
            tableMapping.ColumnMappings.Add("TYTUŁ", "TYTUŁ");
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            tableMapping.ColumnMappings.Add("SZER", "SZER");
            tableMapping.ColumnMappings.Add("WYS", "WYS");
            tableMapping.ColumnMappings.Add("KOLOR", "KOLOR");
            tableMapping.ColumnMappings.Add("NICK NAME", "NICK NAME");
            tableMapping.ColumnMappings.Add("MOD_TYP", "MOD_TYP");
            tableMapping.ColumnMappings.Add("RABAT", "RABAT");
            tableMapping.ColumnMappings.Add("lokalizacja", "lokalizacja");
            tableMapping.ColumnMappings.Add("NR", "NR");
            tableMapping.ColumnMappings.Add("ZATWIERDZONO DO DRUKU", "ZATWIERDZONO DO DRUKU");
            tableMapping.ColumnMappings.Add("GRZBIET", "GRZBIET");
            tableMapping.ColumnMappings.Add("STRONA", "STRONA");
            tableMapping.ColumnMappings.Add("agencja", "agencja");
            tableMapping.ColumnMappings.Add("SYMBOL AKWIZYTORA", "SYMBOL AKWIZYTORA");
            tableMapping.ColumnMappings.Add("KROTNOŚĆ", "KROTNOŚĆ");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("nazwaGrzbietu", "nazwaGrzbietu");
            tableMapping.ColumnMappings.Add("ID_AGENTA", "ID_AGENTA");
            tableMapping.ColumnMappings.Add("CENA JEDN", "CENA JEDN");
            tableMapping.ColumnMappings.Add("RABAT WARTOŚĆ", "RABAT WARTOŚĆ");
            tableMapping.ColumnMappings.Add("TYP", "TYP");
            tableMapping.ColumnMappings.Add("wyroznienie", "wyroznienie");
            tableMapping.ColumnMappings.Add("wyroznienie_exported", "wyroznienie_exported");
            tableMapping.ColumnMappings.Add("logo", "logo");
            tableMapping.ColumnMappings.Add("logoID", "logoID");
            tableMapping.ColumnMappings.Add("DZIAŁ_TXT", "DZIAŁ_TXT");
            tableMapping.ColumnMappings.Add("ROZDZIAŁ_TXT", "ROZDZIAŁ_TXT");
            tableMapping.ColumnMappings.Add("STAN", "STAN");
            tableMapping.ColumnMappings.Add("sTATUS", "sTATUS");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     ReklamaID, TYTUŁ, TYP, [ID REKLAMY], SZER, WYS, KOLOR, [NICK NAME], MOD_TYP, RABAT, lokalizacja, NR, [ZATWIERDZONO DO DRUKU], 
                      GRZBIET, STRONA, agencja, [SYMBOL AKWIZYTORA], KROTNOŚĆ, NETTO, nazwaGrzbietu, ID_AGENTA, [CENA JEDN], [RABAT WARTOŚĆ], 
                      wyroznienie, wyroznienie_exported, logo, logoID, DZIAŁ_TXT, ROZDZIAŁ_TXT, STAN, sTATUS
FROM         LISTA_REKLAM_NA_WYDANIE";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.LISTA_REKLAM_NA_WYDANIEDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.LISTA_REKLAM_NA_WYDANIEDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.LISTA_REKLAM_NA_WYDANIEDataTable dataTable = new REKLAMADataSet.LISTA_REKLAM_NA_WYDANIEDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class Reklama_Info_DodTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public Reklama_Info_DodTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "Reklama_Info_Dod";
            tableMapping.ColumnMappings.Add("Reklama_Info_Dod_ID", "Reklama_Info_Dod_ID");
            tableMapping.ColumnMappings.Add("ReklamaId", "ReklamaId");
            tableMapping.ColumnMappings.Add("Data", "Data");
            tableMapping.ColumnMappings.Add("Reklama_Info_Dod", "Reklama_Info_Dod");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM [Reklama_Info_Dod] WHERE (([Reklama_Info_Dod_ID] = @Original_Reklama_" +
                "Info_Dod_ID))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Reklama_Info_Dod_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Reklama_Info_Dod_ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [Reklama_Info_Dod] ([ReklamaId], [Data], [Reklama_Info_Dod]) VALUES (" +
                "@ReklamaId, @Data, @Reklama_Info_Dod);\r\nSELECT Reklama_Info_Dod_ID, ReklamaId, D" +
                "ata, Reklama_Info_Dod FROM Reklama_Info_Dod WHERE (Reklama_Info_Dod_ID = SCOPE_I" +
                "DENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Reklama_Info_Dod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Reklama_Info_Dod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [Reklama_Info_Dod] SET [ReklamaId] = @ReklamaId, [Data] = @Data, [Reklama_Info_Dod] = @Reklama_Info_Dod WHERE (([Reklama_Info_Dod_ID] = @Original_Reklama_Info_Dod_ID));
SELECT Reklama_Info_Dod_ID, ReklamaId, Data, Reklama_Info_Dod FROM Reklama_Info_Dod WHERE (Reklama_Info_Dod_ID = @Reklama_Info_Dod_ID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ReklamaId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Reklama_Info_Dod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Reklama_Info_Dod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Reklama_Info_Dod_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Reklama_Info_Dod_ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Reklama_Info_Dod_ID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Reklama_Info_Dod_ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        Reklama_Info_Dod.*\r\nFROM            Reklama_Info_Dod";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT        Reklama_Info_Dod.*\r\nFROM            Reklama_Info_Dod where ReklamaI" +
                "d=@param";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.Reklama_Info_DodDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.Reklama_Info_DodDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.Reklama_Info_DodDataTable dataTable = new REKLAMADataSet.Reklama_Info_DodDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByReklamaId(REKLAMADataSet.Reklama_Info_DodDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.Reklama_Info_DodDataTable GetDataByReklamaId(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.Reklama_Info_DodDataTable dataTable = new REKLAMADataSet.Reklama_Info_DodDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.Reklama_Info_DodDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "Reklama_Info_Dod");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_Reklama_Info_Dod_ID) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Reklama_Info_Dod_ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int ReklamaId, global::System.Nullable<global::System.DateTime> Data, string Reklama_Info_Dod) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ReklamaId));
            if ((Data.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Data.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((Reklama_Info_Dod == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Reklama_Info_Dod));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ReklamaId, global::System.Nullable<global::System.DateTime> Data, string Reklama_Info_Dod, int Original_Reklama_Info_Dod_ID, int Reklama_Info_Dod_ID) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(ReklamaId));
            if ((Data.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(Data.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((Reklama_Info_Dod == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Reklama_Info_Dod));
            }
            this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_Reklama_Info_Dod_ID));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Reklama_Info_Dod_ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int ReklamaId, global::System.Nullable<global::System.DateTime> Data, string Reklama_Info_Dod, int Original_Reklama_Info_Dod_ID) {
            return this.Update(ReklamaId, Data, Reklama_Info_Dod, Original_Reklama_Info_Dod_ID, Original_Reklama_Info_Dod_ID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KLIENCI_TYTULTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KLIENCI_TYTULTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "KLIENCI_TYTUL";
            tableMapping.ColumnMappings.Add("ID_KLIENCI_TYTUL", "ID_KLIENCI_TYTUL");
            tableMapping.ColumnMappings.Add("TYTUL", "TYTUL");
            tableMapping.ColumnMappings.Add("Customerid", "Customerid");
            tableMapping.ColumnMappings.Add("username", "username");
            tableMapping.ColumnMappings.Add("data", "data");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM KLIENCI_TYTUL\r\nWHERE        (ID_KLIENCI_TYTUL = @param)";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KLIENCI_TYTUL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [KLIENCI_TYTUL] ([TYTUL], [Customerid], [username], [data]) VALUES (@" +
                "TYTUL, @Customerid, @username, @data)";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TYTUL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TYTUL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Customerid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.BAZA_REKLAMConnectionString1;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        KLIENCI_TYTUL.*\r\nFROM            KLIENCI_TYTUL";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "DELETE  FROM            KLIENCI_TYTUL\r\nWHERE        ( ID_KLIENCI_TYTUL = @param)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_KLIENCI_TYTUL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT        Customerid, ID_KLIENCI_TYTUL, TYTUL, data, username\r\nFROM          " +
                "  KLIENCI_TYTUL\r\nWHERE        (Customerid = @param)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Customerid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.KLIENCI_TYTULDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.KLIENCI_TYTULDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.KLIENCI_TYTULDataTable dataTable = new REKLAMADataSet.KLIENCI_TYTULDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.KLIENCI_TYTULDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KLIENCI_TYTULDataTable GetDataByCustomerId(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.KLIENCI_TYTULDataTable dataTable = new REKLAMADataSet.KLIENCI_TYTULDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.KLIENCI_TYTULDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "KLIENCI_TYTUL");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int param) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(param));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(string TYTUL, int Customerid, string username, System.DateTime data) {
            if ((TYTUL == null)) {
                throw new global::System.ArgumentNullException("TYTUL");
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(TYTUL));
            }
            this.Adapter.InsertCommand.Parameters[1].Value = ((int)(Customerid));
            if ((username == null)) {
                throw new global::System.ArgumentNullException("username");
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(username));
            }
            this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(data));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
        public virtual int DeleteQuery(int param) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
            command.Parameters[0].Value = ((int)(param));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class KLIENCI_INTERNET_LOGOTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public KLIENCI_INTERNET_LOGOTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "KLIENCI_INTERNET_LOGO";
            tableMapping.ColumnMappings.Add("ID", "ID");
            tableMapping.ColumnMappings.Add("customerID", "customerID");
            tableMapping.ColumnMappings.Add("nazwa", "nazwa");
            tableMapping.ColumnMappings.Add("status", "status");
            tableMapping.ColumnMappings.Add("logo", "logo");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = @"DELETE FROM [KLIENCI_INTERNET_LOGO] WHERE (([ID] = @Original_ID) AND ([customerID] = @Original_customerID) AND ((@IsNull_nazwa = 1 AND [nazwa] IS NULL) OR ([nazwa] = @Original_nazwa)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_customerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nazwa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nazwa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [KLIENCI_INTERNET_LOGO] ([customerID], [nazwa], [status], [logo]) VAL" +
                "UES (@customerID, @nazwa, @status, @logo);\r\nSELECT ID, customerID, nazwa, status" +
                ", logo FROM KLIENCI_INTERNET_LOGO WHERE (ID = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazwa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logo", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [KLIENCI_INTERNET_LOGO] SET [customerID] = @customerID, [nazwa] = @nazwa, [status] = @status, [logo] = @logo WHERE (([ID] = @Original_ID) AND ([customerID] = @Original_customerID) AND ((@IsNull_nazwa = 1 AND [nazwa] IS NULL) OR ([nazwa] = @Original_nazwa)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)));
SELECT ID, customerID, nazwa, status, logo FROM KLIENCI_INTERNET_LOGO WHERE (ID = @ID)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nazwa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@logo", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "logo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_customerID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "customerID", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nazwa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nazwa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nazwa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        ID, customerID, nazwa, status, logo\r\nFROM            KLIENCI_INTERN" +
                "ET_LOGO";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT        ID, customerID, nazwa, status, logo\r\nFROM            KLIENCI_INTERN" +
                "ET_LOGO\r\nWHERE        (customerID = @param)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "customerID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable dataTable = new REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBy(REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable GetDataBy(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable dataTable = new REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.KLIENCI_INTERNET_LOGODataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "KLIENCI_INTERNET_LOGO");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_ID, int Original_customerID, string Original_nazwa, string Original_status) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID));
            this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_customerID));
            if ((Original_nazwa == null)) {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_nazwa));
            }
            if ((Original_status == null)) {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_status));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int customerID, string nazwa, string status, byte[] logo) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(customerID));
            if ((nazwa == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(nazwa));
            }
            if ((status == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(status));
            }
            if ((logo == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((byte[])(logo));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int customerID, string nazwa, string status, byte[] logo, int Original_ID, int Original_customerID, string Original_nazwa, string Original_status, int ID) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(customerID));
            if ((nazwa == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(nazwa));
            }
            if ((status == null)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(status));
            }
            if ((logo == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((byte[])(logo));
            }
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_ID));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_customerID));
            if ((Original_nazwa == null)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_nazwa));
            }
            if ((Original_status == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_status));
            }
            this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(ID));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int customerID, string nazwa, string status, byte[] logo, int Original_ID, int Original_customerID, string Original_nazwa, string Original_status) {
            return this.Update(customerID, nazwa, status, logo, Original_ID, Original_customerID, Original_nazwa, Original_status, Original_ID);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class zmianyEmisjiTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public zmianyEmisjiTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "zmianyEmisji";
            tableMapping.ColumnMappings.Add("id", "id");
            tableMapping.ColumnMappings.Add("idEmisji", "idEmisji");
            tableMapping.ColumnMappings.Add("popNrWyd", "popNrWyd");
            tableMapping.ColumnMappings.Add("nastNrWyd", "nastNrWyd");
            tableMapping.ColumnMappings.Add("dataZmiany", "dataZmiany");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = "INSERT INTO [zmianyEmisji] ([idEmisji], [popNrWyd], [nastNrWyd], [dataZmiany]) VA" +
                "LUES (@idEmisji, @popNrWyd, @nastNrWyd, @dataZmiany)";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idEmisji", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "idEmisji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@popNrWyd", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "popNrWyd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nastNrWyd", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nastNrWyd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataZmiany", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataZmiany", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT        id, idEmisji, popNrWyd, nastNrWyd, dataZmiany\r\nFROM            zmia" +
                "nyEmisji";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.zmianyEmisjiDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.zmianyEmisjiDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.zmianyEmisjiDataTable dataTable = new REKLAMADataSet.zmianyEmisjiDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.zmianyEmisjiDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "zmianyEmisji");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(decimal idEmisji, short popNrWyd, short nastNrWyd, System.DateTime dataZmiany) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((decimal)(idEmisji));
            this.Adapter.InsertCommand.Parameters[1].Value = ((short)(popNrWyd));
            this.Adapter.InsertCommand.Parameters[2].Value = ((short)(nastNrWyd));
            this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(dataZmiany));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class zamowieniaTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public zamowieniaTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "zamowienia";
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("idKlienta", "idKlienta");
            tableMapping.ColumnMappings.Add("rodzajFakturpwania", "rodzajFakturowania");
            tableMapping.ColumnMappings.Add("zafakturowano", "zafakturowano");
            tableMapping.ColumnMappings.Add("rodzajFakturowania", "rodzajFakturowania");
            tableMapping.ColumnMappings.Add("idKonta", "idKonta");
            tableMapping.ColumnMappings.Add("nrZamowienia", "nrZamowienia");
            tableMapping.ColumnMappings.Add("rokZamowienia", "rokZamowienia");
            tableMapping.ColumnMappings.Add("sposobZaplaty", "sposobZaplaty");
            tableMapping.ColumnMappings.Add("czasPlatnosci", "czasPlatnosci");
            tableMapping.ColumnMappings.Add("kodAgenta", "kodAgenta");
            tableMapping.ColumnMappings.Add("dataOstatniejZafakturowanejEmisji", "dataOstatniejZafakturowanejEmisji");
            tableMapping.ColumnMappings.Add("notatkaZamowienie", "notatkaZamowienie");
            tableMapping.ColumnMappings.Add("notatkaKierownik", "notatkaKierownik");
            tableMapping.ColumnMappings.Add("zafakturowanoWszystko", "zafakturowanoWszystko");
            tableMapping.ColumnMappings.Add("procentProwizji", "procentProwizji");
            tableMapping.ColumnMappings.Add("ZP", "ZP");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = @"DELETE FROM [zamowienia] WHERE (([idZamowienia] = @Original_idZamowienia) AND ([idKlienta] = @Original_idKlienta) AND ([nrZamowienia] = @Original_nrZamowienia) AND ([rokZamowienia] = @Original_rokZamowienia) AND ((@IsNull_rodzajFakturowania = 1 AND [rodzajFakturowania] IS NULL) OR ([rodzajFakturowania] = @Original_rodzajFakturowania)) AND ([zafakturowano] = @Original_zafakturowano) AND ((@IsNull_idKonta = 1 AND [idKonta] IS NULL) OR ([idKonta] = @Original_idKonta)) AND ((@IsNull_sposobZaplaty = 1 AND [sposobZaplaty] IS NULL) OR ([sposobZaplaty] = @Original_sposobZaplaty)) AND ((@IsNull_czasPlatnosci = 1 AND [czasPlatnosci] IS NULL) OR ([czasPlatnosci] = @Original_czasPlatnosci)) AND ((@IsNull_kodAgenta = 1 AND [kodAgenta] IS NULL) OR ([kodAgenta] = @Original_kodAgenta)) AND ((@IsNull_dataOstatniejZafakturowanejEmisji = 1 AND [dataOstatniejZafakturowanejEmisji] IS NULL) OR ([dataOstatniejZafakturowanejEmisji] = @Original_dataOstatniejZafakturowanejEmisji)) AND ((@IsNull_notatkaZamowienie = 1 AND [notatkaZamowienie] IS NULL) OR ([notatkaZamowienie] = @Original_notatkaZamowienie)) AND ((@IsNull_notatkaKierownik = 1 AND [notatkaKierownik] IS NULL) OR ([notatkaKierownik] = @Original_notatkaKierownik)) AND ([zafakturowanoWszystko] = @Original_zafakturowanoWszystko) AND ((@IsNull_procentProwizji = 1 AND [procentProwizji] IS NULL) OR ([procentProwizji] = @Original_procentProwizji)) AND ((@IsNull_ZP = 1 AND [ZP] IS NULL) OR ([ZP] = @Original_ZP)))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idKlienta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKlienta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nrZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrZamowienia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rokZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rokZamowienia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rodzajFakturowania", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajFakturowania", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rodzajFakturowania", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajFakturowania", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_zafakturowano", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowano", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idKonta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKonta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idKonta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKonta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sposobZaplaty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sposobZaplaty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sposobZaplaty", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sposobZaplaty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_czasPlatnosci", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "czasPlatnosci", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_czasPlatnosci", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "czasPlatnosci", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kodAgenta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodAgenta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kodAgenta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodAgenta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataOstatniejZafakturowanejEmisji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOstatniejZafakturowanejEmisji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOstatniejZafakturowanejEmisji", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOstatniejZafakturowanejEmisji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_notatkaZamowienie", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaZamowienie", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_notatkaZamowienie", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaZamowienie", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_notatkaKierownik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaKierownik", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_notatkaKierownik", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaKierownik", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_zafakturowanoWszystko", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowanoWszystko", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_procentProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ZP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [zamowienia] ([idKlienta], [nrZamowienia], [rokZamowienia], [rodzajFakturowania], [zafakturowano], [idKonta], [sposobZaplaty], [czasPlatnosci], [kodAgenta], [dataOstatniejZafakturowanejEmisji], [notatkaZamowienie], [notatkaKierownik], [zafakturowanoWszystko], [procentProwizji], [ZP]) VALUES (@idKlienta, @nrZamowienia, @rokZamowienia, @rodzajFakturowania, @zafakturowano, @idKonta, @sposobZaplaty, @czasPlatnosci, @kodAgenta, @dataOstatniejZafakturowanejEmisji, @notatkaZamowienie, @notatkaKierownik, @zafakturowanoWszystko, @procentProwizji, @ZP);
SELECT idZamowienia, idKlienta, nrZamowienia, rokZamowienia, rodzajFakturowania, zafakturowano, idKonta, sposobZaplaty, czasPlatnosci, kodAgenta, dataOstatniejZafakturowanejEmisji, notatkaZamowienie, notatkaKierownik, zafakturowanoWszystko, procentProwizji, ZP FROM zamowienia WHERE (idZamowienia = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idKlienta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKlienta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rokZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rokZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rodzajFakturowania", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajFakturowania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowano", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idKonta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKonta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sposobZaplaty", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sposobZaplaty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@czasPlatnosci", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "czasPlatnosci", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kodAgenta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodAgenta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOstatniejZafakturowanejEmisji", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOstatniejZafakturowanejEmisji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notatkaZamowienie", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaZamowienie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notatkaKierownik", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaKierownik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowanoWszystko", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowanoWszystko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = "UPDATE [zamowienia] SET [idKlienta] = @idKlienta, [nrZamowienia] = @nrZamowienia," +
                " [rokZamowienia] = @rokZamowienia, [rodzajFakturowania] = @rodzajFakturowania, [" +
                "zafakturowano] = @zafakturowano, [idKonta] = @idKonta, [sposobZaplaty] = @sposob" +
                "Zaplaty, [czasPlatnosci] = @czasPlatnosci, [kodAgenta] = @kodAgenta, [dataOstatn" +
                "iejZafakturowanejEmisji] = @dataOstatniejZafakturowanejEmisji, [notatkaZamowieni" +
                "e] = @notatkaZamowienie, [notatkaKierownik] = @notatkaKierownik, [zafakturowanoW" +
                "szystko] = @zafakturowanoWszystko, [procentProwizji] = @procentProwizji, [ZP] = " +
                "@ZP WHERE (([idZamowienia] = @Original_idZamowienia) AND ([idKlienta] = @Origina" +
                "l_idKlienta) AND ([nrZamowienia] = @Original_nrZamowienia) AND ([rokZamowienia] " +
                "= @Original_rokZamowienia) AND ((@IsNull_rodzajFakturowania = 1 AND [rodzajFaktu" +
                "rowania] IS NULL) OR ([rodzajFakturowania] = @Original_rodzajFakturowania)) AND " +
                "([zafakturowano] = @Original_zafakturowano) AND ((@IsNull_idKonta = 1 AND [idKon" +
                "ta] IS NULL) OR ([idKonta] = @Original_idKonta)) AND ((@IsNull_sposobZaplaty = 1" +
                " AND [sposobZaplaty] IS NULL) OR ([sposobZaplaty] = @Original_sposobZaplaty)) AN" +
                "D ((@IsNull_czasPlatnosci = 1 AND [czasPlatnosci] IS NULL) OR ([czasPlatnosci] =" +
                " @Original_czasPlatnosci)) AND ((@IsNull_kodAgenta = 1 AND [kodAgenta] IS NULL) " +
                "OR ([kodAgenta] = @Original_kodAgenta)) AND ((@IsNull_dataOstatniejZafakturowane" +
                "jEmisji = 1 AND [dataOstatniejZafakturowanejEmisji] IS NULL) OR ([dataOstatniejZ" +
                "afakturowanejEmisji] = @Original_dataOstatniejZafakturowanejEmisji)) AND ((@IsNu" +
                "ll_notatkaZamowienie = 1 AND [notatkaZamowienie] IS NULL) OR ([notatkaZamowienie" +
                "] = @Original_notatkaZamowienie)) AND ((@IsNull_notatkaKierownik = 1 AND [notatk" +
                "aKierownik] IS NULL) OR ([notatkaKierownik] = @Original_notatkaKierownik)) AND (" +
                "[zafakturowanoWszystko] = @Original_zafakturowanoWszystko) AND ((@IsNull_procent" +
                "Prowizji = 1 AND [procentProwizji] IS NULL) OR ([procentProwizji] = @Original_pr" +
                "ocentProwizji)) AND ((@IsNull_ZP = 1 AND [ZP] IS NULL) OR ([ZP] = @Original_ZP))" +
                ");\r\nSELECT idZamowienia, idKlienta, nrZamowienia, rokZamowienia, rodzajFakturowa" +
                "nia, zafakturowano, idKonta, sposobZaplaty, czasPlatnosci, kodAgenta, dataOstatn" +
                "iejZafakturowanejEmisji, notatkaZamowienie, notatkaKierownik, zafakturowanoWszys" +
                "tko, procentProwizji, ZP FROM zamowienia WHERE (idZamowienia = @idZamowienia)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idKlienta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKlienta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rokZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rokZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rodzajFakturowania", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajFakturowania", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowano", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idKonta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKonta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sposobZaplaty", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sposobZaplaty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@czasPlatnosci", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "czasPlatnosci", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kodAgenta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodAgenta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataOstatniejZafakturowanejEmisji", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOstatniejZafakturowanejEmisji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notatkaZamowienie", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaZamowienie", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@notatkaKierownik", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaKierownik", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zafakturowanoWszystko", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowanoWszystko", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idKlienta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKlienta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nrZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrZamowienia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rokZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rokZamowienia", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rodzajFakturowania", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajFakturowania", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rodzajFakturowania", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajFakturowania", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_zafakturowano", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowano", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_idKonta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKonta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idKonta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idKonta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sposobZaplaty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sposobZaplaty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sposobZaplaty", global::System.Data.SqlDbType.SmallInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sposobZaplaty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_czasPlatnosci", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "czasPlatnosci", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_czasPlatnosci", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "czasPlatnosci", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kodAgenta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodAgenta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kodAgenta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kodAgenta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataOstatniejZafakturowanejEmisji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOstatniejZafakturowanejEmisji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataOstatniejZafakturowanejEmisji", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataOstatniejZafakturowanejEmisji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_notatkaZamowienie", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaZamowienie", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_notatkaZamowienie", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaZamowienie", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_notatkaKierownik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaKierownik", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_notatkaKierownik", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "notatkaKierownik", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_zafakturowanoWszystko", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zafakturowanoWszystko", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_procentProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ZP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     idZamowienia, idKlienta, nrZamowienia, rokZamowienia, rodzajFakturowania, zafakturowano, idKonta, sposobZaplaty, czasPlatnosci, kodAgenta, 
                      dataOstatniejZafakturowanejEmisji, notatkaZamowienie, notatkaKierownik, zafakturowanoWszystko, procentProwizji, ZP
FROM         zamowienia";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT     idZamowienia, idKlienta, nrZamowienia, rokZamowienia, rodzajFakturowania, zafakturowano, idKonta, sposobZaplaty, czasPlatnosci, kodAgenta, 
                      dataOstatniejZafakturowanejEmisji, notatkaZamowienie, notatkaKierownik, zafakturowanoWszystko, ZP, procentProwizji
FROM         zamowienia
WHERE     (idKlienta = @idKlienta)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idKlienta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idKlienta", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT     idZamowienia, idKlienta, nrZamowienia, rokZamowienia, rodzajFakturowania, zafakturowano, idKonta, sposobZaplaty, czasPlatnosci, kodAgenta, 
                      dataOstatniejZafakturowanejEmisji, notatkaKierownik, notatkaZamowienie, zafakturowanoWszystko, procentProwizji, ZP
FROM         zamowienia
WHERE     (idZamowienia = @idZamowienia)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.zamowieniaDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.zamowieniaDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.zamowieniaDataTable dataTable = new REKLAMADataSet.zamowieniaDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdKlienta(REKLAMADataSet.zamowieniaDataTable dataTable, int idKlienta) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idKlienta));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.zamowieniaDataTable GetDataByIdKlienta(int idKlienta) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idKlienta));
            REKLAMADataSet.zamowieniaDataTable dataTable = new REKLAMADataSet.zamowieniaDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdZamowienia(REKLAMADataSet.zamowieniaDataTable dataTable, int idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.zamowieniaDataTable GetDataByIdZamowienia(int idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia));
            REKLAMADataSet.zamowieniaDataTable dataTable = new REKLAMADataSet.zamowieniaDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.zamowieniaDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "zamowienia");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(
                    int Original_idZamowienia, 
                    int Original_idKlienta, 
                    int Original_nrZamowienia, 
                    int Original_rokZamowienia, 
                    global::System.Nullable<short> Original_rodzajFakturowania, 
                    bool Original_zafakturowano, 
                    global::System.Nullable<int> Original_idKonta, 
                    global::System.Nullable<short> Original_sposobZaplaty, 
                    global::System.Nullable<int> Original_czasPlatnosci, 
                    string Original_kodAgenta, 
                    global::System.Nullable<global::System.DateTime> Original_dataOstatniejZafakturowanejEmisji, 
                    string Original_notatkaZamowienie, 
                    string Original_notatkaKierownik, 
                    bool Original_zafakturowanoWszystko, 
                    global::System.Nullable<double> Original_procentProwizji, 
                    global::System.Nullable<bool> Original_ZP) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idZamowienia));
            this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idKlienta));
            this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_nrZamowienia));
            this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_rokZamowienia));
            if ((Original_rodzajFakturowania.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[5].Value = ((short)(Original_rodzajFakturowania.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_zafakturowano));
            if ((Original_idKonta.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_idKonta.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((Original_sposobZaplaty.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[10].Value = ((short)(Original_sposobZaplaty.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((Original_czasPlatnosci.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_czasPlatnosci.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((Original_kodAgenta == null)) {
                this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_kodAgenta));
            }
            if ((Original_dataOstatniejZafakturowanejEmisji.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[16].Value = ((System.DateTime)(Original_dataOstatniejZafakturowanejEmisji.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((Original_notatkaZamowienie == null)) {
                this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_notatkaZamowienie));
            }
            if ((Original_notatkaKierownik == null)) {
                this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_notatkaKierownik));
            }
            this.Adapter.DeleteCommand.Parameters[21].Value = ((bool)(Original_zafakturowanoWszystko));
            if ((Original_procentProwizji.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[23].Value = ((double)(Original_procentProwizji.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((Original_ZP.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[25].Value = ((bool)(Original_ZP.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int idKlienta, int nrZamowienia, int rokZamowienia, global::System.Nullable<short> rodzajFakturowania, bool zafakturowano, global::System.Nullable<int> idKonta, global::System.Nullable<short> sposobZaplaty, global::System.Nullable<int> czasPlatnosci, string kodAgenta, global::System.Nullable<global::System.DateTime> dataOstatniejZafakturowanejEmisji, string notatkaZamowienie, string notatkaKierownik, bool zafakturowanoWszystko, global::System.Nullable<double> procentProwizji, global::System.Nullable<bool> ZP) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idKlienta));
            this.Adapter.InsertCommand.Parameters[1].Value = ((int)(nrZamowienia));
            this.Adapter.InsertCommand.Parameters[2].Value = ((int)(rokZamowienia));
            if ((rodzajFakturowania.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((short)(rodzajFakturowania.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(zafakturowano));
            if ((idKonta.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((int)(idKonta.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((sposobZaplaty.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[6].Value = ((short)(sposobZaplaty.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((czasPlatnosci.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((int)(czasPlatnosci.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((kodAgenta == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(kodAgenta));
            }
            if ((dataOstatniejZafakturowanejEmisji.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(dataOstatniejZafakturowanejEmisji.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((notatkaZamowienie == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(notatkaZamowienie));
            }
            if ((notatkaKierownik == null)) {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = ((string)(notatkaKierownik));
            }
            this.Adapter.InsertCommand.Parameters[12].Value = ((bool)(zafakturowanoWszystko));
            if ((procentProwizji.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[13].Value = ((double)(procentProwizji.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((ZP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(ZP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    int idKlienta, 
                    int nrZamowienia, 
                    int rokZamowienia, 
                    global::System.Nullable<short> rodzajFakturowania, 
                    bool zafakturowano, 
                    global::System.Nullable<int> idKonta, 
                    global::System.Nullable<short> sposobZaplaty, 
                    global::System.Nullable<int> czasPlatnosci, 
                    string kodAgenta, 
                    global::System.Nullable<global::System.DateTime> dataOstatniejZafakturowanejEmisji, 
                    string notatkaZamowienie, 
                    string notatkaKierownik, 
                    bool zafakturowanoWszystko, 
                    global::System.Nullable<double> procentProwizji, 
                    global::System.Nullable<bool> ZP, 
                    int Original_idZamowienia, 
                    int Original_idKlienta, 
                    int Original_nrZamowienia, 
                    int Original_rokZamowienia, 
                    global::System.Nullable<short> Original_rodzajFakturowania, 
                    bool Original_zafakturowano, 
                    global::System.Nullable<int> Original_idKonta, 
                    global::System.Nullable<short> Original_sposobZaplaty, 
                    global::System.Nullable<int> Original_czasPlatnosci, 
                    string Original_kodAgenta, 
                    global::System.Nullable<global::System.DateTime> Original_dataOstatniejZafakturowanejEmisji, 
                    string Original_notatkaZamowienie, 
                    string Original_notatkaKierownik, 
                    bool Original_zafakturowanoWszystko, 
                    global::System.Nullable<double> Original_procentProwizji, 
                    global::System.Nullable<bool> Original_ZP, 
                    int idZamowienia) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idKlienta));
            this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(nrZamowienia));
            this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(rokZamowienia));
            if ((rodzajFakturowania.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((short)(rodzajFakturowania.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(zafakturowano));
            if ((idKonta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(idKonta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((sposobZaplaty.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((short)(sposobZaplaty.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((czasPlatnosci.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(czasPlatnosci.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((kodAgenta == null)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(kodAgenta));
            }
            if ((dataOstatniejZafakturowanejEmisji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(dataOstatniejZafakturowanejEmisji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((notatkaZamowienie == null)) {
                this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(notatkaZamowienie));
            }
            if ((notatkaKierownik == null)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(notatkaKierownik));
            }
            this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(zafakturowanoWszystko));
            if ((procentProwizji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(procentProwizji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
            }
            if ((ZP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(ZP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idZamowienia));
            this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idKlienta));
            this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_nrZamowienia));
            this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_rokZamowienia));
            if ((Original_rodzajFakturowania.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[20].Value = ((short)(Original_rodzajFakturowania.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(Original_zafakturowano));
            if ((Original_idKonta.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_idKonta.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
            }
            if ((Original_sposobZaplaty.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[25].Value = ((short)(Original_sposobZaplaty.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
            }
            if ((Original_czasPlatnosci.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_czasPlatnosci.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
            }
            if ((Original_kodAgenta == null)) {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_kodAgenta));
            }
            if ((Original_dataOstatniejZafakturowanejEmisji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[31].Value = ((System.DateTime)(Original_dataOstatniejZafakturowanejEmisji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
            }
            if ((Original_notatkaZamowienie == null)) {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_notatkaZamowienie));
            }
            if ((Original_notatkaKierownik == null)) {
                this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_notatkaKierownik));
            }
            this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_zafakturowanoWszystko));
            if ((Original_procentProwizji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[38].Value = ((double)(Original_procentProwizji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
            }
            if ((Original_ZP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[40].Value = ((bool)(Original_ZP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(idZamowienia));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    int idKlienta, 
                    int nrZamowienia, 
                    int rokZamowienia, 
                    global::System.Nullable<short> rodzajFakturowania, 
                    bool zafakturowano, 
                    global::System.Nullable<int> idKonta, 
                    global::System.Nullable<short> sposobZaplaty, 
                    global::System.Nullable<int> czasPlatnosci, 
                    string kodAgenta, 
                    global::System.Nullable<global::System.DateTime> dataOstatniejZafakturowanejEmisji, 
                    string notatkaZamowienie, 
                    string notatkaKierownik, 
                    bool zafakturowanoWszystko, 
                    global::System.Nullable<double> procentProwizji, 
                    global::System.Nullable<bool> ZP, 
                    int Original_idZamowienia, 
                    int Original_idKlienta, 
                    int Original_nrZamowienia, 
                    int Original_rokZamowienia, 
                    global::System.Nullable<short> Original_rodzajFakturowania, 
                    bool Original_zafakturowano, 
                    global::System.Nullable<int> Original_idKonta, 
                    global::System.Nullable<short> Original_sposobZaplaty, 
                    global::System.Nullable<int> Original_czasPlatnosci, 
                    string Original_kodAgenta, 
                    global::System.Nullable<global::System.DateTime> Original_dataOstatniejZafakturowanejEmisji, 
                    string Original_notatkaZamowienie, 
                    string Original_notatkaKierownik, 
                    bool Original_zafakturowanoWszystko, 
                    global::System.Nullable<double> Original_procentProwizji, 
                    global::System.Nullable<bool> Original_ZP) {
            return this.Update(idKlienta, nrZamowienia, rokZamowienia, rodzajFakturowania, zafakturowano, idKonta, sposobZaplaty, czasPlatnosci, kodAgenta, dataOstatniejZafakturowanejEmisji, notatkaZamowienie, notatkaKierownik, zafakturowanoWszystko, procentProwizji, ZP, Original_idZamowienia, Original_idKlienta, Original_nrZamowienia, Original_rokZamowienia, Original_rodzajFakturowania, Original_zafakturowano, Original_idKonta, Original_sposobZaplaty, Original_czasPlatnosci, Original_kodAgenta, Original_dataOstatniejZafakturowanejEmisji, Original_notatkaZamowienie, Original_notatkaKierownik, Original_zafakturowanoWszystko, Original_procentProwizji, Original_ZP, Original_idZamowienia);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class DatyWydanTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public DatyWydanTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "DatyWydan";
            tableMapping.ColumnMappings.Add("ReklamaId", "ReklamaId");
            tableMapping.ColumnMappings.Add("Nr Wydania", "Nr Wydania");
            tableMapping.ColumnMappings.Add("rok", "rok");
            tableMapping.ColumnMappings.Add("ms", "ms");
            tableMapping.ColumnMappings.Add("DATA_W", "DATA_W");
            tableMapping.ColumnMappings.Add("idTytulu", "idTytulu");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     [UKAŻE SIĘ W NR].ReklamaId, [UKAŻE SIĘ W NR].[Nr Wydania], NR.DATA_W, YEAR(NR.DATA_W) AS rok, MONTH(NR.DATA_W) AS ms, 
                      [LISTA TYTUŁÓW].id AS idTytulu
FROM         [LISTA TYTUŁÓW] INNER JOIN
                      NR ON [LISTA TYTUŁÓW].SYMB = NR.TYT RIGHT OUTER JOIN
                      [UKAŻE SIĘ W NR] LEFT OUTER JOIN
                      REKLAMA ON [UKAŻE SIĘ W NR].ReklamaId = REKLAMA.ReklamaID ON NR.TYT = REKLAMA.TYTUŁ AND 
                      NR.NRW = [UKAŻE SIĘ W NR].[Nr Wydania]
WHERE     ([UKAŻE SIĘ W NR].ReklamaId = @reklamaID)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reklamaID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT     [UKAŻE SIĘ W NR].ReklamaId, [UKAŻE SIĘ W NR].[Nr Wydania], NR.DATA_W, YEAR(NR.DATA_W) AS rok, MONTH(NR.DATA_W) AS ms, 
                      [LISTA TYTUŁÓW].id AS idTytulu
FROM         [LISTA TYTUŁÓW] INNER JOIN
                      NR ON [LISTA TYTUŁÓW].SYMB = NR.TYT RIGHT OUTER JOIN
                      [UKAŻE SIĘ W NR] LEFT OUTER JOIN
                      REKLAMA ON [UKAŻE SIĘ W NR].ReklamaId = REKLAMA.ReklamaID ON NR.TYT = REKLAMA.TYTUŁ AND 
                      NR.NRW = [UKAŻE SIĘ W NR].[Nr Wydania]
WHERE     ([UKAŻE SIĘ W NR].idFaktury = @idFaktury)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"SELECT     TOP 1 [UKAŻE SIĘ W NR].ReklamaId, [UKAŻE SIĘ W NR].[Nr Wydania], NR.DATA_W, YEAR(NR.DATA_W) AS rok, MONTH(NR.DATA_W) AS ms, 
                      [LISTA TYTUŁÓW].id AS idTytulu
FROM         [LISTA TYTUŁÓW] INNER JOIN
                      NR ON [LISTA TYTUŁÓW].SYMB = NR.TYT RIGHT OUTER JOIN
                      [UKAŻE SIĘ W NR] LEFT OUTER JOIN
                      REKLAMA ON [UKAŻE SIĘ W NR].ReklamaId = REKLAMA.ReklamaID ON NR.TYT = REKLAMA.TYTUŁ AND 
                      NR.NRW = [UKAŻE SIĘ W NR].[Nr Wydania] LEFT OUTER JOIN
                      zamowienia AS Z ON Z.idZamowienia = REKLAMA.idZamowienia
WHERE     ([UKAŻE SIĘ W NR].ReklamaId = @idReklamy) AND ([UKAŻE SIĘ W NR].zafakturowana = 0)
ORDER BY NR.DATA_W";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idReklamy", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ReklamaId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT TOP 1 [UKAŻE SIĘ W NR].ReklamaId, [UKAŻE SIĘ W NR].[Nr Wydania], NR.DATA_W, YEAR(NR.DATA_W) AS rok, MONTH(NR.DATA_W) AS ms, 
               [LISTA TYTUŁÓW].id AS idTytulu
FROM  [LISTA TYTUŁÓW] INNER JOIN
               NR ON [LISTA TYTUŁÓW].SYMB = NR.TYT RIGHT OUTER JOIN
               [UKAŻE SIĘ W NR] LEFT OUTER JOIN
               REKLAMA ON [UKAŻE SIĘ W NR].ReklamaId = REKLAMA.ReklamaID ON NR.TYT = REKLAMA.TYTUŁ AND 
               NR.NRW = [UKAŻE SIĘ W NR].[Nr Wydania] LEFT OUTER JOIN
               zamowienia AS Z ON Z.idZamowienia = REKLAMA.idZamowienia
WHERE (Z.idZamowienia = @idZamowienia) AND ([UKAŻE SIĘ W NR].zafakturowana = 0) AND (NR.DATA_W IS NOT NULL)
ORDER BY NR.DATA_W";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int FillByReklamaId(REKLAMADataSet.DatyWydanDataTable dataTable, int reklamaID) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(reklamaID));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.DatyWydanDataTable GetDataReklamaId(int reklamaID) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(reklamaID));
            REKLAMADataSet.DatyWydanDataTable dataTable = new REKLAMADataSet.DatyWydanDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.DatyWydanDataTable dataTable, global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((idFaktury.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.DatyWydanDataTable GetDataByIdFaktury(global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((idFaktury.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.DatyWydanDataTable dataTable = new REKLAMADataSet.DatyWydanDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByPierwszaEmisjaWReklamie(REKLAMADataSet.DatyWydanDataTable dataTable, int idReklamy) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idReklamy));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.DatyWydanDataTable GetDataByPierwszaEmisjaWReklamie(int idReklamy) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idReklamy));
            REKLAMADataSet.DatyWydanDataTable dataTable = new REKLAMADataSet.DatyWydanDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByPierwszaEmisjaWZamowieniu(REKLAMADataSet.DatyWydanDataTable dataTable, int idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.DatyWydanDataTable GetDataByPierwszaEmisjaWZamowieniu(int idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia));
            REKLAMADataSet.DatyWydanDataTable dataTable = new REKLAMADataSet.DatyWydanDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class VIEW_ZESTAWIENIE_ZAMOWIEN_NOWETableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public VIEW_ZESTAWIENIE_ZAMOWIEN_NOWETableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE";
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("idKlienta", "idKlienta");
            tableMapping.ColumnMappings.Add("DoZafakturowania", "DoZafakturowania");
            tableMapping.ColumnMappings.Add("kodAgenta", "kodAgenta");
            tableMapping.ColumnMappings.Add("rokZamowienia", "rokZamowienia");
            tableMapping.ColumnMappings.Add("wartoscNetto", "wartoscNetto");
            tableMapping.ColumnMappings.Add("agencja", "agencja");
            tableMapping.ColumnMappings.Add("agent", "agent");
            tableMapping.ColumnMappings.Add("nrZamowienia", "nrZamowienia");
            tableMapping.ColumnMappings.Add("nrZamowieniaExt", "nrZamowieniaExt");
            tableMapping.ColumnMappings.Add("iloscReklam", "iloscReklam");
            tableMapping.ColumnMappings.Add("kwotaWalutaBrutto", "kwotaWalutaBrutto");
            tableMapping.ColumnMappings.Add("data_od", "data_od");
            tableMapping.ColumnMappings.Add("data_od_bez_FK", "data_od_bez_FK");
            tableMapping.ColumnMappings.Add("nettoZafakturowane", "nettoZafakturowane");
            tableMapping.ColumnMappings.Add("Brutto_Euro_Miano", "Brutto_Euro_Miano");
            tableMapping.ColumnMappings.Add("kodKlienta", "kodKlienta");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     agencja, agent, idZamowienia, idKlienta, nrZamowienia, rokZamowienia, kodAgenta, nrZamowieniaExt, iloscReklam, wartoscNetto, kwotaWalutaBrutto, 
                      data_od, data_od_bez_FK, nettoZafakturowane, DoZafakturowania, Brutto_Euro_Miano, kodKlienta
FROM         VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable dataTable = new REKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class WplatyTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public WplatyTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "Wplaty";
            tableMapping.ColumnMappings.Add("idWplaty", "idWplaty");
            tableMapping.ColumnMappings.Add("idFaktury", "idFaktury");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("dataWplaty", "dataWplaty");
            tableMapping.ColumnMappings.Add("rodzajPotwierdzenia", "rodzajPotwierdzenia");
            tableMapping.ColumnMappings.Add("symbolPotwierdzenia", "symbolPotwierdzenia");
            tableMapping.ColumnMappings.Add("brutto", "brutto");
            tableMapping.ColumnMappings.Add("waluta_brutto", "waluta_brutto");
            tableMapping.ColumnMappings.Add("waluta_miano", "waluta_miano");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM Wplaty\r\nWHERE     (idFaktury = @idFaktury)";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [Wplaty] ([idFaktury], [idZamowienia], [dataWplaty], [rodzajPotwierdzenia], [symbolPotwierdzenia], [waluta_brutto], [waluta_miano]) VALUES (@idFaktury, @idZamowienia, @dataWplaty, @rodzajPotwierdzenia, @symbolPotwierdzenia, @waluta_brutto, @waluta_miano);
SELECT idWplaty, idFaktury, idZamowienia, dataWplaty, rodzajPotwierdzenia, symbolPotwierdzenia, waluta_brutto, waluta_miano FROM Wplaty WHERE (idWplaty = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataWplaty", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataWplaty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rodzajPotwierdzenia", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajPotwierdzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@symbolPotwierdzenia", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "symbolPotwierdzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_brutto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_miano", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_miano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [Wplaty] SET [idFaktury] = @idFaktury, [idZamowienia] = @idZamowienia, [dataWplaty] = @dataWplaty, [rodzajPotwierdzenia] = @rodzajPotwierdzenia, [symbolPotwierdzenia] = @symbolPotwierdzenia, [waluta_brutto] = @waluta_brutto, [waluta_miano] = @waluta_miano WHERE (([idWplaty] = @Original_idWplaty));
SELECT idWplaty, idFaktury, idZamowienia, dataWplaty, rodzajPotwierdzenia, symbolPotwierdzenia, waluta_brutto, waluta_miano FROM Wplaty WHERE (idWplaty = @idWplaty)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idZamowienia", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idZamowienia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataWplaty", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataWplaty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rodzajPotwierdzenia", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rodzajPotwierdzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@symbolPotwierdzenia", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "symbolPotwierdzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_brutto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_brutto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@waluta_miano", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "waluta_miano", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idWplaty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idWplaty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idWplaty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idWplaty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT idWplaty, idFaktury, idZamowienia, dataWplaty, rodzajPotwierdzenia, symbol" +
                "Potwierdzenia, waluta_brutto, waluta_miano FROM Wplaty";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT dataWplaty, idFaktury, idWplaty, idZamowienia, rodzajPotwierdzenia, symbol" +
                "Potwierdzenia, waluta_brutto, waluta_miano FROM Wplaty WHERE (idFaktury = @idFak" +
                "tury)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT dataWplaty, idFaktury, idWplaty, idZamowienia, rodzajPotwierdzenia, symbol" +
                "Potwierdzenia, waluta_brutto, waluta_miano FROM Wplaty WHERE (idWplaty = @idWpla" +
                "ty)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idWplaty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idWplaty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.WplatyDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.WplatyDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.WplatyDataTable dataTable = new REKLAMADataSet.WplatyDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.WplatyDataTable dataTable, int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.WplatyDataTable GetDataByIdFaktury(int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury));
            REKLAMADataSet.WplatyDataTable dataTable = new REKLAMADataSet.WplatyDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdWplaty(REKLAMADataSet.WplatyDataTable dataTable, int idWplaty) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idWplaty));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.WplatyDataTable GetDataByIdWplaty(int idWplaty) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idWplaty));
            REKLAMADataSet.WplatyDataTable dataTable = new REKLAMADataSet.WplatyDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.WplatyDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "Wplaty");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int idFaktury) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(idFaktury));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int idFaktury, global::System.Nullable<int> idZamowienia, global::System.Nullable<global::System.DateTime> dataWplaty, string rodzajPotwierdzenia, string symbolPotwierdzenia, global::System.Nullable<decimal> waluta_brutto, string waluta_miano) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idFaktury));
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((dataWplaty.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(dataWplaty.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((rodzajPotwierdzenia == null)) {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(rodzajPotwierdzenia));
            }
            if ((symbolPotwierdzenia == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(symbolPotwierdzenia));
            }
            if ((waluta_brutto.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(waluta_brutto.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((waluta_miano == null)) {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(waluta_miano));
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int idFaktury, global::System.Nullable<int> idZamowienia, global::System.Nullable<global::System.DateTime> dataWplaty, string rodzajPotwierdzenia, string symbolPotwierdzenia, global::System.Nullable<decimal> waluta_brutto, string waluta_miano, int Original_idWplaty, int idWplaty) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idFaktury));
            if ((idZamowienia.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idZamowienia.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((dataWplaty.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(dataWplaty.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((rodzajPotwierdzenia == null)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(rodzajPotwierdzenia));
            }
            if ((symbolPotwierdzenia == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(symbolPotwierdzenia));
            }
            if ((waluta_brutto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(waluta_brutto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((waluta_miano == null)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(waluta_miano));
            }
            this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_idWplaty));
            this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(idWplaty));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int idFaktury, global::System.Nullable<int> idZamowienia, global::System.Nullable<global::System.DateTime> dataWplaty, string rodzajPotwierdzenia, string symbolPotwierdzenia, global::System.Nullable<decimal> waluta_brutto, string waluta_miano, int Original_idWplaty) {
            return this.Update(idFaktury, idZamowienia, dataWplaty, rodzajPotwierdzenia, symbolPotwierdzenia, waluta_brutto, waluta_miano, Original_idWplaty, Original_idWplaty);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class PROWIZJETableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public PROWIZJETableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "PROWIZJE";
            tableMapping.ColumnMappings.Add("idProwizji", "idProwizji");
            tableMapping.ColumnMappings.Add("agencja", "agencja");
            tableMapping.ColumnMappings.Add("agent", "agent");
            tableMapping.ColumnMappings.Add("rok", "rok");
            tableMapping.ColumnMappings.Add("ms", "ms");
            tableMapping.ColumnMappings.Add("nrFaktury", "nrFaktury");
            tableMapping.ColumnMappings.Add("netto", "netto");
            tableMapping.ColumnMappings.Add("nrFakturyKorygowanej", "nrFakturyKorygowanej");
            tableMapping.ColumnMappings.Add("procentProwizji", "procentProwizji");
            tableMapping.ColumnMappings.Add("ZP", "ZP");
            tableMapping.ColumnMappings.Add("kwotaProwizji", "kwotaProwizji");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = @"DELETE FROM [PROWIZJE] WHERE (([idProwizji] = @Original_idProwizji) AND ((@IsNull_agencja = 1 AND [agencja] IS NULL) OR ([agencja] = @Original_agencja)) AND ((@IsNull_agent = 1 AND [agent] IS NULL) OR ([agent] = @Original_agent)) AND ((@IsNull_rok = 1 AND [rok] IS NULL) OR ([rok] = @Original_rok)) AND ((@IsNull_ms = 1 AND [ms] IS NULL) OR ([ms] = @Original_ms)) AND ((@IsNull_nrFaktury = 1 AND [nrFaktury] IS NULL) OR ([nrFaktury] = @Original_nrFaktury)) AND ((@IsNull_netto = 1 AND [netto] IS NULL) OR ([netto] = @Original_netto)) AND ((@IsNull_nrFakturyKorygowanej = 1 AND [nrFakturyKorygowanej] IS NULL) OR ([nrFakturyKorygowanej] = @Original_nrFakturyKorygowanej)) AND ((@IsNull_procentProwizji = 1 AND [procentProwizji] IS NULL) OR ([procentProwizji] = @Original_procentProwizji)) AND ((@IsNull_ZP = 1 AND [ZP] IS NULL) OR ([ZP] = @Original_ZP)) AND ((@IsNull_kwotaProwizji = 1 AND [kwotaProwizji] IS NULL) OR ([kwotaProwizji] = @Original_kwotaProwizji)))";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_agencja", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agencja", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_agencja", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agencja", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_agent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agent", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_agent", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rok", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rok", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rok", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rok", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ms", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ms", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ms", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ms", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nrFaktury", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFaktury", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nrFaktury", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFaktury", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_netto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_netto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nrFakturyKorygowanej", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFakturyKorygowanej", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nrFakturyKorygowanej", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFakturyKorygowanej", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_procentProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ZP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kwotaProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwotaProwizji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kwotaProwizji", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwotaProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO [PROWIZJE] ([agencja], [agent], [rok], [ms], [nrFaktury], [netto], [nrFakturyKorygowanej], [procentProwizji], [ZP], [kwotaProwizji]) VALUES (@agencja, @agent, @rok, @ms, @nrFaktury, @netto, @nrFakturyKorygowanej, @procentProwizji, @ZP, @kwotaProwizji);
SELECT idProwizji, agencja, agent, rok, ms, nrFaktury, netto, nrFakturyKorygowanej, procentProwizji, ZP, kwotaProwizji FROM PROWIZJE WHERE (idProwizji = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agencja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agent", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ms", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrFaktury", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@netto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrFakturyKorygowanej", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFakturyKorygowanej", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kwotaProwizji", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwotaProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE [PROWIZJE] SET [agencja] = @agencja, [agent] = @agent, [rok] = @rok, [ms] = @ms, [nrFaktury] = @nrFaktury, [netto] = @netto, [nrFakturyKorygowanej] = @nrFakturyKorygowanej, [procentProwizji] = @procentProwizji, [ZP] = @ZP, [kwotaProwizji] = @kwotaProwizji WHERE (([idProwizji] = @Original_idProwizji) AND ((@IsNull_agencja = 1 AND [agencja] IS NULL) OR ([agencja] = @Original_agencja)) AND ((@IsNull_agent = 1 AND [agent] IS NULL) OR ([agent] = @Original_agent)) AND ((@IsNull_rok = 1 AND [rok] IS NULL) OR ([rok] = @Original_rok)) AND ((@IsNull_ms = 1 AND [ms] IS NULL) OR ([ms] = @Original_ms)) AND ((@IsNull_nrFaktury = 1 AND [nrFaktury] IS NULL) OR ([nrFaktury] = @Original_nrFaktury)) AND ((@IsNull_netto = 1 AND [netto] IS NULL) OR ([netto] = @Original_netto)) AND ((@IsNull_nrFakturyKorygowanej = 1 AND [nrFakturyKorygowanej] IS NULL) OR ([nrFakturyKorygowanej] = @Original_nrFakturyKorygowanej)) AND ((@IsNull_procentProwizji = 1 AND [procentProwizji] IS NULL) OR ([procentProwizji] = @Original_procentProwizji)) AND ((@IsNull_ZP = 1 AND [ZP] IS NULL) OR ([ZP] = @Original_ZP)) AND ((@IsNull_kwotaProwizji = 1 AND [kwotaProwizji] IS NULL) OR ([kwotaProwizji] = @Original_kwotaProwizji)));
SELECT idProwizji, agencja, agent, rok, ms, nrFaktury, netto, nrFakturyKorygowanej, procentProwizji, ZP, kwotaProwizji FROM PROWIZJE WHERE (idProwizji = @idProwizji)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agencja", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agencja", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@agent", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rok", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rok", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ms", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ms", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrFaktury", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFaktury", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@netto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nrFakturyKorygowanej", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFakturyKorygowanej", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kwotaProwizji", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwotaProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_agencja", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agencja", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_agencja", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agencja", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_agent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agent", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_agent", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "agent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rok", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rok", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rok", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rok", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ms", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ms", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ms", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ms", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nrFaktury", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFaktury", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nrFaktury", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFaktury", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_netto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_netto", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "netto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nrFakturyKorygowanej", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFakturyKorygowanej", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nrFakturyKorygowanej", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nrFakturyKorygowanej", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_procentProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_procentProwizji", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "procentProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ZP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ZP", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ZP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kwotaProwizji", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwotaProwizji", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kwotaProwizji", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kwotaProwizji", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idProwizji", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idProwizji", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT     idProwizji, agencja, agent, rok, ms, nrFaktury, netto, nrFakturyKorygo" +
                "wanej, procentProwizji, ZP, kwotaProwizji\r\nFROM         PROWIZJE";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.PROWIZJEDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.PROWIZJEDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.PROWIZJEDataTable dataTable = new REKLAMADataSet.PROWIZJEDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet.PROWIZJEDataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(REKLAMADataSet dataSet) {
            return this.Adapter.Update(dataSet, "PROWIZJE");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int Original_idProwizji, string Original_agencja, string Original_agent, global::System.Nullable<int> Original_rok, global::System.Nullable<int> Original_ms, string Original_nrFaktury, global::System.Nullable<decimal> Original_netto, string Original_nrFakturyKorygowanej, global::System.Nullable<double> Original_procentProwizji, global::System.Nullable<bool> Original_ZP, global::System.Nullable<decimal> Original_kwotaProwizji) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idProwizji));
            if ((Original_agencja == null)) {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_agencja));
            }
            if ((Original_agent == null)) {
                this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_agent));
            }
            if ((Original_rok.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_rok.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            if ((Original_ms.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_ms.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((Original_nrFaktury == null)) {
                this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_nrFaktury));
            }
            if ((Original_netto.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_netto.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((Original_nrFakturyKorygowanej == null)) {
                this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_nrFakturyKorygowanej));
            }
            if ((Original_procentProwizji.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[16].Value = ((double)(Original_procentProwizji.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((Original_ZP.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[18].Value = ((bool)(Original_ZP.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((Original_kwotaProwizji.HasValue == true)) {
                this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
                this.Adapter.DeleteCommand.Parameters[20].Value = ((decimal)(Original_kwotaProwizji.Value));
            }
            else {
                this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
                this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(string agencja, string agent, global::System.Nullable<int> rok, global::System.Nullable<int> ms, string nrFaktury, global::System.Nullable<decimal> netto, string nrFakturyKorygowanej, global::System.Nullable<double> procentProwizji, global::System.Nullable<bool> ZP, global::System.Nullable<decimal> kwotaProwizji) {
            if ((agencja == null)) {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(agencja));
            }
            if ((agent == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(agent));
            }
            if ((rok.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[2].Value = ((int)(rok.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((ms.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((int)(ms.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((nrFaktury == null)) {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = ((string)(nrFaktury));
            }
            if ((netto.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(netto.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((nrFakturyKorygowanej == null)) {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(nrFakturyKorygowanej));
            }
            if ((procentProwizji.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[7].Value = ((double)(procentProwizji.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((ZP.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(ZP.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((kwotaProwizji.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(kwotaProwizji.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string agencja, 
                    string agent, 
                    global::System.Nullable<int> rok, 
                    global::System.Nullable<int> ms, 
                    string nrFaktury, 
                    global::System.Nullable<decimal> netto, 
                    string nrFakturyKorygowanej, 
                    global::System.Nullable<double> procentProwizji, 
                    global::System.Nullable<bool> ZP, 
                    global::System.Nullable<decimal> kwotaProwizji, 
                    int Original_idProwizji, 
                    string Original_agencja, 
                    string Original_agent, 
                    global::System.Nullable<int> Original_rok, 
                    global::System.Nullable<int> Original_ms, 
                    string Original_nrFaktury, 
                    global::System.Nullable<decimal> Original_netto, 
                    string Original_nrFakturyKorygowanej, 
                    global::System.Nullable<double> Original_procentProwizji, 
                    global::System.Nullable<bool> Original_ZP, 
                    global::System.Nullable<decimal> Original_kwotaProwizji, 
                    int idProwizji) {
            if ((agencja == null)) {
                this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(agencja));
            }
            if ((agent == null)) {
                this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(agent));
            }
            if ((rok.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(rok.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((ms.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(ms.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((nrFaktury == null)) {
                this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(nrFaktury));
            }
            if ((netto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(netto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((nrFakturyKorygowanej == null)) {
                this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(nrFakturyKorygowanej));
            }
            if ((procentProwizji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(procentProwizji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            if ((ZP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(ZP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            if ((kwotaProwizji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(kwotaProwizji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_idProwizji));
            if ((Original_agencja == null)) {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_agencja));
            }
            if ((Original_agent == null)) {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_agent));
            }
            if ((Original_rok.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_rok.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
            }
            if ((Original_ms.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_ms.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
            }
            if ((Original_nrFaktury == null)) {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_nrFaktury));
            }
            if ((Original_netto.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(Original_netto.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
            }
            if ((Original_nrFakturyKorygowanej == null)) {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_nrFakturyKorygowanej));
            }
            if ((Original_procentProwizji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[26].Value = ((double)(Original_procentProwizji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
            }
            if ((Original_ZP.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[28].Value = ((bool)(Original_ZP.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
            }
            if ((Original_kwotaProwizji.HasValue == true)) {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
                this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Original_kwotaProwizji.Value));
            }
            else {
                this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
                this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
            }
            this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(idProwizji));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(
                    string agencja, 
                    string agent, 
                    global::System.Nullable<int> rok, 
                    global::System.Nullable<int> ms, 
                    string nrFaktury, 
                    global::System.Nullable<decimal> netto, 
                    string nrFakturyKorygowanej, 
                    global::System.Nullable<double> procentProwizji, 
                    global::System.Nullable<bool> ZP, 
                    global::System.Nullable<decimal> kwotaProwizji, 
                    int Original_idProwizji, 
                    string Original_agencja, 
                    string Original_agent, 
                    global::System.Nullable<int> Original_rok, 
                    global::System.Nullable<int> Original_ms, 
                    string Original_nrFaktury, 
                    global::System.Nullable<decimal> Original_netto, 
                    string Original_nrFakturyKorygowanej, 
                    global::System.Nullable<double> Original_procentProwizji, 
                    global::System.Nullable<bool> Original_ZP, 
                    global::System.Nullable<decimal> Original_kwotaProwizji) {
            return this.Update(agencja, agent, rok, ms, nrFaktury, netto, nrFakturyKorygowanej, procentProwizji, ZP, kwotaProwizji, Original_idProwizji, Original_agencja, Original_agent, Original_rok, Original_ms, Original_nrFaktury, Original_netto, Original_nrFakturyKorygowanej, Original_procentProwizji, Original_ZP, Original_kwotaProwizji, Original_idProwizji);
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class VIEW_KOREKTYTableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public VIEW_KOREKTYTableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "VIEW_KOREKTY";
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("CustomerId", "CustomerId");
            tableMapping.ColumnMappings.Add("Id_Agencji", "Id_Agencji");
            tableMapping.ColumnMappings.Add("kodKlienta", "kodKlienta");
            tableMapping.ColumnMappings.Add("NUMER", "NUMER");
            tableMapping.ColumnMappings.Add("NUMER_ROZ", "NUMER_ROZ");
            tableMapping.ColumnMappings.Add("NUMER_ROK", "NUMER_ROK");
            tableMapping.ColumnMappings.Add("netto", "netto");
            tableMapping.ColumnMappings.Add("S_VAT", "S_VAT");
            tableMapping.ColumnMappings.Add("vat", "vat");
            tableMapping.ColumnMappings.Add("brutto", "brutto");
            tableMapping.ColumnMappings.Add("suma_zaplat", "suma_zaplat");
            tableMapping.ColumnMappings.Add("DATA_WYSTAWIENIA", "DATA_WYSTAWIENIA");
            tableMapping.ColumnMappings.Add("DATA_SPRZEDAZY", "DATA_SPRZEDAZY");
            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
            tableMapping.ColumnMappings.Add("zaplata_data", "zaplata_data");
            tableMapping.ColumnMappings.Add("zaplata_opis", "zaplata_opis");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("idFakturyKorekta", "idFakturyKorekta");
            tableMapping.ColumnMappings.Add("NR_FAKTURY_KOREKTY", "NR_FAKTURY_KOREKTY");
            tableMapping.ColumnMappings.Add("NUMER_F", "NUMER_F");
            tableMapping.ColumnMappings.Add("NUMER_ROZ_F", "NUMER_ROZ_F");
            tableMapping.ColumnMappings.Add("NUMER_ROK_F", "NUMER_ROK_F");
            tableMapping.ColumnMappings.Add("netto_F", "netto_F");
            tableMapping.ColumnMappings.Add("brutto_F", "brutto_F");
            tableMapping.ColumnMappings.Add("vat_F", "vat_F");
            tableMapping.ColumnMappings.Add("suma_zapłat_F", "suma_zapłat_F");
            tableMapping.ColumnMappings.Add("data_wystawienia_F", "data_wystawienia_F");
            tableMapping.ColumnMappings.Add("NR_FAKTURY", "NR_FAKTURY");
            tableMapping.ColumnMappings.Add("roznica_netto", "roznica_netto");
            tableMapping.ColumnMappings.Add("roznica_vat", "roznica_vat");
            tableMapping.ColumnMappings.Add("roznica_brutto", "roznica_brutto");
            tableMapping.ColumnMappings.Add("agencja", "agencja");
            tableMapping.ColumnMappings.Add("agent", "agent");
            tableMapping.ColumnMappings.Add("waluta_roznica_brutto", "waluta_roznica_brutto");
            tableMapping.ColumnMappings.Add("waluta_miano", "waluta_miano");
            tableMapping.ColumnMappings.Add("liczbaReklam", "liczbaReklam");
            tableMapping.ColumnMappings.Add("KOREKTA", "KOREKTA");
            tableMapping.ColumnMappings.Add("waluta_brutto", "waluta_brutto");
            tableMapping.ColumnMappings.Add("idFakturyVAT", "idFakturyVAT");
            tableMapping.ColumnMappings.Add("ID_FK_KOR", "ID_FK_KOR");
            tableMapping.ColumnMappings.Add("NR_FAKTURY_KORYGOWANEJ_1", "NR_FAKTURY_KORYGOWANEJ_1");
            tableMapping.ColumnMappings.Add("nr_korygowanej", "nr_korygowanej");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT     ID_FAKTURY, CustomerId, Id_Agencji, kodKlienta, NUMER, NUMER_ROZ, NUMER_ROK, netto, S_VAT, vat, brutto, liczbaReklam, suma_zaplat, 
                      DATA_WYSTAWIENIA, DATA_SPRZEDAZY, TERMIN_ZAPLATY, zaplata_data, zaplata_opis, idZamowienia, KOREKTA, idFakturyKorekta, agent, 
                      waluta_brutto, waluta_miano, idFakturyVAT, ID_FK_KOR, NR_FAKTURY_KOREKTY, NUMER_F, NUMER_ROZ_F, NUMER_ROK_F, netto_F, brutto_F, 
                      vat_F, suma_zapłat_F, data_wystawienia_F, NR_FAKTURY, roznica_netto, roznica_vat, roznica_brutto, agencja, waluta_roznica_brutto, 
                      NR_FAKTURY_KORYGOWANEJ_1, nr_korygowanej
FROM         VIEW_KOREKTY";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT     ID_FAKTURY, CustomerId, Id_Agencji, kodKlienta, NUMER, NUMER_ROZ, NUMER_ROK, netto, S_VAT, vat, brutto, liczbaReklam, suma_zaplat, 
                      DATA_WYSTAWIENIA, DATA_SPRZEDAZY, TERMIN_ZAPLATY, zaplata_data, zaplata_opis, idZamowienia, KOREKTA, idFakturyKorekta, agent, 
                      waluta_brutto, waluta_miano, idFakturyVAT, ID_FK_KOR, NR_FAKTURY_KOREKTY, NUMER_F, NUMER_ROZ_F, NUMER_ROK_F, netto_F, brutto_F, 
                      vat_F, suma_zapłat_F, data_wystawienia_F, NR_FAKTURY, roznica_netto, roznica_vat, roznica_brutto, agencja, waluta_roznica_brutto, 
                      NR_FAKTURY_KORYGOWANEJ_1, nr_korygowanej
FROM         VIEW_KOREKTY
WHERE CustomerId=@customerId";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@customerId", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "CustomerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.VIEW_KOREKTYDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.VIEW_KOREKTYDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.VIEW_KOREKTYDataTable dataTable = new REKLAMADataSet.VIEW_KOREKTYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByCustomerId(REKLAMADataSet.VIEW_KOREKTYDataTable dataTable, global::System.Nullable<int> customerId) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((customerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(customerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.VIEW_KOREKTYDataTable GetByCustomerId(global::System.Nullable<int> customerId) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((customerId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(customerId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            REKLAMADataSet.VIEW_KOREKTYDataTable dataTable = new REKLAMADataSet.VIEW_KOREKTYDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public VIEW_ZESTAWIENIE_FAKTUR_NOWETableAdapter() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "VIEW_ZESTAWIENIE_FAKTUR_NOWE";
            tableMapping.ColumnMappings.Add("ID_NABYWCY", "ID_NABYWCY");
            tableMapping.ColumnMappings.Add("NUMER", "NUMER");
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("MS", "MS");
            tableMapping.ColumnMappings.Add("DATA_SPRZEDAZY", "DATA_SPRZEDAZY");
            tableMapping.ColumnMappings.Add("NR_FK", "NR_FK");
            tableMapping.ColumnMappings.Add("TYTUL", "TYTUL");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("S_VAT", "S_VAT");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("suma_zaplat", "suma_zaplat");
            tableMapping.ColumnMappings.Add("ID_FAKTURY", "ID_FAKTURY");
            tableMapping.ColumnMappings.Add("Symbol", "Symbol");
            tableMapping.ColumnMappings.Add("Agencja", "Agencja");
            tableMapping.ColumnMappings.Add("ZAPLACONO", "ZAPLACONO");
            tableMapping.ColumnMappings.Add("dataWplaty", "dataWplaty");
            tableMapping.ColumnMappings.Add("zaplata_data", "zaplata_data");
            tableMapping.ColumnMappings.Add("FirstName", "FirstName");
            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("idWplaty", "idWplaty");
            tableMapping.ColumnMappings.Add("sumaNettoZEmisji", "sumaNettoZEmisji");
            tableMapping.ColumnMappings.Add("waluta_brutto", "waluta_brutto");
            tableMapping.ColumnMappings.Add("waluta_miano", "waluta_miano");
            tableMapping.ColumnMappings.Add("KOREKTA", "KOREKTA");
            tableMapping.ColumnMappings.Add("idFakturyKorekta", "idFakturyKorekta");
            tableMapping.ColumnMappings.Add("ID_FK_KOR", "ID_FK_KOR");
            tableMapping.ColumnMappings.Add("wplata_brutto", "wplata_brutto");
            tableMapping.ColumnMappings.Add("wplata_waluta_brutto", "wplata_waluta_brutto");
            tableMapping.ColumnMappings.Add("ilPozycji", "ilPozycji");
            tableMapping.ColumnMappings.Add("ilEmisji", "ilEmisji");
            tableMapping.ColumnMappings.Add("waluta_kurs", "waluta_kurs");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::Baza_Reklam.Properties.Settings.Default.testowe;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT     *\r\nFROM         VIEW_ZESTAWIENIE_FAKTUR_NOWE\r\n";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT     *\r\nFROM         VIEW_ZESTAWIENIE_FAKTUR_NOWE\r\nWHERE     (ID_FAKTURY = " +
                "@idFaktury)";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idFaktury", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID_FAKTURY", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable dataTable = new REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByIdFaktury(REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable dataTable, int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable GetDataByIdFaktury(int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury));
            REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable dataTable = new REKLAMADataSet.VIEW_ZESTAWIENIE_FAKTUR_NOWEDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
}

#pragma warning restore 1591