//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.4200
//
//     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("raporty")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class raporty : global::System.Data.DataSet {
        
        private FakturaDataTable tableFaktura;
        
        private FAKTURA_DETAILSDataTable tableFAKTURA_DETAILS;
        
        private ProformaDataTable tableProforma;
        
        private ZamowienieDataTable tableZamowienie;
        
        private FAKTURA_DETAILS2DataTable tableFAKTURA_DETAILS2;
        
        private Zamowienie2DataTable tableZamowienie2;
        
        private InvoiceProviderDataTable tableInvoiceProvider;
        
        private emisjeDataTable tableemisje;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public raporty() {
            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 raporty(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["Faktura"] != null)) {
                    base.Tables.Add(new FakturaDataTable(ds.Tables["Faktura"]));
                }
                if ((ds.Tables["FAKTURA_DETAILS"] != null)) {
                    base.Tables.Add(new FAKTURA_DETAILSDataTable(ds.Tables["FAKTURA_DETAILS"]));
                }
                if ((ds.Tables["Proforma"] != null)) {
                    base.Tables.Add(new ProformaDataTable(ds.Tables["Proforma"]));
                }
                if ((ds.Tables["Zamowienie"] != null)) {
                    base.Tables.Add(new ZamowienieDataTable(ds.Tables["Zamowienie"]));
                }
                if ((ds.Tables["FAKTURA_DETAILS2"] != null)) {
                    base.Tables.Add(new FAKTURA_DETAILS2DataTable(ds.Tables["FAKTURA_DETAILS2"]));
                }
                if ((ds.Tables["Zamowienie2"] != null)) {
                    base.Tables.Add(new Zamowienie2DataTable(ds.Tables["Zamowienie2"]));
                }
                if ((ds.Tables["InvoiceProvider"] != null)) {
                    base.Tables.Add(new InvoiceProviderDataTable(ds.Tables["InvoiceProvider"]));
                }
                if ((ds.Tables["emisje"] != null)) {
                    base.Tables.Add(new emisjeDataTable(ds.Tables["emisje"]));
                }
                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 FakturaDataTable Faktura {
            get {
                return this.tableFaktura;
            }
        }
        
        [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 ProformaDataTable Proforma {
            get {
                return this.tableProforma;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public ZamowienieDataTable Zamowienie {
            get {
                return this.tableZamowienie;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public FAKTURA_DETAILS2DataTable FAKTURA_DETAILS2 {
            get {
                return this.tableFAKTURA_DETAILS2;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public Zamowienie2DataTable Zamowienie2 {
            get {
                return this.tableZamowienie2;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public InvoiceProviderDataTable InvoiceProvider {
            get {
                return this.tableInvoiceProvider;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public emisjeDataTable emisje {
            get {
                return this.tableemisje;
            }
        }
        
        [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() {
            raporty cln = ((raporty)(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["Faktura"] != null)) {
                    base.Tables.Add(new FakturaDataTable(ds.Tables["Faktura"]));
                }
                if ((ds.Tables["FAKTURA_DETAILS"] != null)) {
                    base.Tables.Add(new FAKTURA_DETAILSDataTable(ds.Tables["FAKTURA_DETAILS"]));
                }
                if ((ds.Tables["Proforma"] != null)) {
                    base.Tables.Add(new ProformaDataTable(ds.Tables["Proforma"]));
                }
                if ((ds.Tables["Zamowienie"] != null)) {
                    base.Tables.Add(new ZamowienieDataTable(ds.Tables["Zamowienie"]));
                }
                if ((ds.Tables["FAKTURA_DETAILS2"] != null)) {
                    base.Tables.Add(new FAKTURA_DETAILS2DataTable(ds.Tables["FAKTURA_DETAILS2"]));
                }
                if ((ds.Tables["Zamowienie2"] != null)) {
                    base.Tables.Add(new Zamowienie2DataTable(ds.Tables["Zamowienie2"]));
                }
                if ((ds.Tables["InvoiceProvider"] != null)) {
                    base.Tables.Add(new InvoiceProviderDataTable(ds.Tables["InvoiceProvider"]));
                }
                if ((ds.Tables["emisje"] != null)) {
                    base.Tables.Add(new emisjeDataTable(ds.Tables["emisje"]));
                }
                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.tableFaktura = ((FakturaDataTable)(base.Tables["Faktura"]));
            if ((initTable == true)) {
                if ((this.tableFaktura != null)) {
                    this.tableFaktura.InitVars();
                }
            }
            this.tableFAKTURA_DETAILS = ((FAKTURA_DETAILSDataTable)(base.Tables["FAKTURA_DETAILS"]));
            if ((initTable == true)) {
                if ((this.tableFAKTURA_DETAILS != null)) {
                    this.tableFAKTURA_DETAILS.InitVars();
                }
            }
            this.tableProforma = ((ProformaDataTable)(base.Tables["Proforma"]));
            if ((initTable == true)) {
                if ((this.tableProforma != null)) {
                    this.tableProforma.InitVars();
                }
            }
            this.tableZamowienie = ((ZamowienieDataTable)(base.Tables["Zamowienie"]));
            if ((initTable == true)) {
                if ((this.tableZamowienie != null)) {
                    this.tableZamowienie.InitVars();
                }
            }
            this.tableFAKTURA_DETAILS2 = ((FAKTURA_DETAILS2DataTable)(base.Tables["FAKTURA_DETAILS2"]));
            if ((initTable == true)) {
                if ((this.tableFAKTURA_DETAILS2 != null)) {
                    this.tableFAKTURA_DETAILS2.InitVars();
                }
            }
            this.tableZamowienie2 = ((Zamowienie2DataTable)(base.Tables["Zamowienie2"]));
            if ((initTable == true)) {
                if ((this.tableZamowienie2 != null)) {
                    this.tableZamowienie2.InitVars();
                }
            }
            this.tableInvoiceProvider = ((InvoiceProviderDataTable)(base.Tables["InvoiceProvider"]));
            if ((initTable == true)) {
                if ((this.tableInvoiceProvider != null)) {
                    this.tableInvoiceProvider.InitVars();
                }
            }
            this.tableemisje = ((emisjeDataTable)(base.Tables["emisje"]));
            if ((initTable == true)) {
                if ((this.tableemisje != null)) {
                    this.tableemisje.InitVars();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "raporty";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/raporty.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableFaktura = new FakturaDataTable();
            base.Tables.Add(this.tableFaktura);
            this.tableFAKTURA_DETAILS = new FAKTURA_DETAILSDataTable();
            base.Tables.Add(this.tableFAKTURA_DETAILS);
            this.tableProforma = new ProformaDataTable();
            base.Tables.Add(this.tableProforma);
            this.tableZamowienie = new ZamowienieDataTable();
            base.Tables.Add(this.tableZamowienie);
            this.tableFAKTURA_DETAILS2 = new FAKTURA_DETAILS2DataTable();
            base.Tables.Add(this.tableFAKTURA_DETAILS2);
            this.tableZamowienie2 = new Zamowienie2DataTable();
            base.Tables.Add(this.tableZamowienie2);
            this.tableInvoiceProvider = new InvoiceProviderDataTable();
            base.Tables.Add(this.tableInvoiceProvider);
            this.tableemisje = new emisjeDataTable();
            base.Tables.Add(this.tableemisje);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeFaktura() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeFAKTURA_DETAILS() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeProforma() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeZamowienie() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeFAKTURA_DETAILS2() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeZamowienie2() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeInvoiceProvider() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeemisje() {
            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) {
            raporty ds = new raporty();
            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 FakturaRowChangeEventHandler(object sender, FakturaRowChangeEvent e);
        
        public delegate void FAKTURA_DETAILSRowChangeEventHandler(object sender, FAKTURA_DETAILSRowChangeEvent e);
        
        public delegate void ProformaRowChangeEventHandler(object sender, ProformaRowChangeEvent e);
        
        public delegate void ZamowienieRowChangeEventHandler(object sender, ZamowienieRowChangeEvent e);
        
        public delegate void FAKTURA_DETAILS2RowChangeEventHandler(object sender, FAKTURA_DETAILS2RowChangeEvent e);
        
        public delegate void Zamowienie2RowChangeEventHandler(object sender, Zamowienie2RowChangeEvent e);
        
        public delegate void InvoiceProviderRowChangeEventHandler(object sender, InvoiceProviderRowChangeEvent e);
        
        public delegate void emisjeRowChangeEventHandler(object sender, emisjeRowChangeEvent 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 FakturaDataTable : 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 columnKONTO;
            
            private global::System.Data.DataColumn columnHASŁO_REKLAMOWE;
            
            private global::System.Data.DataColumn columnRejestrFaktur_Symbol;
            
            private global::System.Data.DataColumn columnAdres_Kor;
            
            private global::System.Data.DataColumn columnAdres_Kor_Agencji;
            
            private global::System.Data.DataColumn columnKOREKTA;
            
            private global::System.Data.DataColumn columnidZamowienia;
            
            private global::System.Data.DataColumn columnidFakturyKorekta;
            
            private global::System.Data.DataColumn columnidFakturyVAT;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaDataTable() {
                this.TableName = "Faktura";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FakturaDataTable(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 FakturaDataTable(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 KONTOColumn {
                get {
                    return this.columnKONTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn HASŁO_REKLAMOWEColumn {
                get {
                    return this.columnHASŁO_REKLAMOWE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RejestrFaktur_SymbolColumn {
                get {
                    return this.columnRejestrFaktur_Symbol;
                }
            }
            
            [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 Adres_Kor_AgencjiColumn {
                get {
                    return this.columnAdres_Kor_Agencji;
                }
            }
            
            [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()]
            public global::System.Data.DataColumn idFakturyKorektaColumn {
                get {
                    return this.columnidFakturyKorekta;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn idFakturyVATColumn {
                get {
                    return this.columnidFakturyVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaRow this[int index] {
                get {
                    return ((FakturaRow)(this.Rows[index]));
                }
            }
            
            public event FakturaRowChangeEventHandler FakturaRowChanging;
            
            public event FakturaRowChangeEventHandler FakturaRowChanged;
            
            public event FakturaRowChangeEventHandler FakturaRowDeleting;
            
            public event FakturaRowChangeEventHandler FakturaRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddFakturaRow(FakturaRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaRow AddFakturaRow(
                        int NUMER, 
                        string NUMER_ROZ, 
                        int NUMER_ROK, 
                        System.DateTime DATA_WYSTAWIENIA, 
                        string MIEJSCOWOSC_WYSTAWIENIA, 
                        int ID_SPRZEDAWCY, 
                        int ID_NABYWCY, 
                        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, 
                        string KONTO, 
                        string HASŁO_REKLAMOWE, 
                        string RejestrFaktur_Symbol, 
                        string Adres_Kor, 
                        string Adres_Kor_Agencji, 
                        bool KOREKTA, 
                        int idZamowienia, 
                        int idFakturyKorekta, 
                        int idFakturyVAT) {
                FakturaRow rowFakturaRow = ((FakturaRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        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,
                        KONTO,
                        HASŁO_REKLAMOWE,
                        RejestrFaktur_Symbol,
                        Adres_Kor,
                        Adres_Kor_Agencji,
                        KOREKTA,
                        idZamowienia,
                        idFakturyKorekta,
                        idFakturyVAT};
                rowFakturaRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowFakturaRow);
                return rowFakturaRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaRow FindByID_FAKTURY(int ID_FAKTURY) {
                return ((FakturaRow)(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() {
                FakturaDataTable cln = ((FakturaDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new FakturaDataTable();
            }
            
            [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.columnKONTO = base.Columns["KONTO"];
                this.columnHASŁO_REKLAMOWE = base.Columns["HASŁO REKLAMOWE"];
                this.columnRejestrFaktur_Symbol = base.Columns["RejestrFaktur_Symbol"];
                this.columnAdres_Kor = base.Columns["Adres_Kor"];
                this.columnAdres_Kor_Agencji = base.Columns["Adres_Kor_Agencji"];
                this.columnKOREKTA = base.Columns["KOREKTA"];
                this.columnidZamowienia = base.Columns["idZamowienia"];
                this.columnidFakturyKorekta = base.Columns["idFakturyKorekta"];
                this.columnidFakturyVAT = base.Columns["idFakturyVAT"];
            }
            
            [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.columnKONTO = new global::System.Data.DataColumn("KONTO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKONTO);
                this.columnHASŁO_REKLAMOWE = new global::System.Data.DataColumn("HASŁO REKLAMOWE", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHASŁO_REKLAMOWE);
                this.columnRejestrFaktur_Symbol = new global::System.Data.DataColumn("RejestrFaktur_Symbol", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRejestrFaktur_Symbol);
                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.columnAdres_Kor_Agencji = new global::System.Data.DataColumn("Adres_Kor_Agencji", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAdres_Kor_Agencji);
                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.columnidFakturyKorekta = new global::System.Data.DataColumn("idFakturyKorekta", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyKorekta);
                this.columnidFakturyVAT = new global::System.Data.DataColumn("idFakturyVAT", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnidFakturyVAT);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID_FAKTURY}, true));
                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.columnEXPORTED.AllowDBNull = false;
                this.columnzaplata_opis.MaxLength = 50;
                this.columnwaluta_miano.MaxLength = 4;
                this.columnwaluta_tabela_nr.MaxLength = 15;
                this.columnKONTO.MaxLength = 500;
                this.columnHASŁO_REKLAMOWE.MaxLength = 100;
                this.columnRejestrFaktur_Symbol.MaxLength = 5;
                this.columnAdres_Kor.MaxLength = 200;
                this.columnAdres_Kor_Agencji.MaxLength = 250;
                this.columnKOREKTA.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaRow NewFakturaRow() {
                return ((FakturaRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new FakturaRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(FakturaRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.FakturaRowChanged != null)) {
                    this.FakturaRowChanged(this, new FakturaRowChangeEvent(((FakturaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.FakturaRowChanging != null)) {
                    this.FakturaRowChanging(this, new FakturaRowChangeEvent(((FakturaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.FakturaRowDeleted != null)) {
                    this.FakturaRowDeleted(this, new FakturaRowChangeEvent(((FakturaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.FakturaRowDeleting != null)) {
                    this.FakturaRowDeleting(this, new FakturaRowChangeEvent(((FakturaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveFakturaRow(FakturaRow 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();
                raporty ds = new raporty();
                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 = "FakturaDataTable";
                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 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 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(
                        int ID_FAKTURY, 
                        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, 
                        int ReklamaId) {
                FAKTURA_DETAILSRow rowFAKTURA_DETAILSRow = ((FAKTURA_DETAILSRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        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,
                        ReklamaId};
                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.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);
                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.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;
            }
            
            [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();
                raporty ds = new raporty();
                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 ProformaDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            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 columnKOREKTA;
            
            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 columnKONTO;
            
            private global::System.Data.DataColumn columnHASŁO_REKLAMOWE;
            
            private global::System.Data.DataColumn columnRejestrFaktur_Symbol;
            
            private global::System.Data.DataColumn columnAdres_Kor;
            
            private global::System.Data.DataColumn columnAdres_Kor_Agencji;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaDataTable() {
                this.TableName = "Proforma";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ProformaDataTable(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 ProformaDataTable(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_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [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 KOREKTAColumn {
                get {
                    return this.columnKOREKTA;
                }
            }
            
            [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 KONTOColumn {
                get {
                    return this.columnKONTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn HASŁO_REKLAMOWEColumn {
                get {
                    return this.columnHASŁO_REKLAMOWE;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RejestrFaktur_SymbolColumn {
                get {
                    return this.columnRejestrFaktur_Symbol;
                }
            }
            
            [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 Adres_Kor_AgencjiColumn {
                get {
                    return this.columnAdres_Kor_Agencji;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaRow this[int index] {
                get {
                    return ((ProformaRow)(this.Rows[index]));
                }
            }
            
            public event ProformaRowChangeEventHandler ProformaRowChanging;
            
            public event ProformaRowChangeEventHandler ProformaRowChanged;
            
            public event ProformaRowChangeEventHandler ProformaRowDeleting;
            
            public event ProformaRowChangeEventHandler ProformaRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddProformaRow(ProformaRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaRow AddProformaRow(
                        string ID_REKLAMY, 
                        int NUMER, 
                        string NUMER_ROZ, 
                        int NUMER_ROK, 
                        System.DateTime DATA_WYSTAWIENIA, 
                        string MIEJSCOWOSC_WYSTAWIENIA, 
                        int ID_SPRZEDAWCY, 
                        int ID_NABYWCY, 
                        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, 
                        byte KOREKTA, 
                        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, 
                        string KONTO, 
                        string HASŁO_REKLAMOWE, 
                        string RejestrFaktur_Symbol, 
                        string Adres_Kor, 
                        string Adres_Kor_Agencji) {
                ProformaRow rowProformaRow = ((ProformaRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ID_REKLAMY,
                        null,
                        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,
                        KOREKTA,
                        zaplata_data,
                        zaplata_opis,
                        Zaliczka_Brutto,
                        Zaliczka_Data,
                        waluta_brutto,
                        waluta_miano,
                        waluta_kurs,
                        waluta_przelicznik,
                        waluta_kurs_z_dnia,
                        waluta_tabela_nr,
                        KONTO,
                        HASŁO_REKLAMOWE,
                        RejestrFaktur_Symbol,
                        Adres_Kor,
                        Adres_Kor_Agencji};
                rowProformaRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowProformaRow);
                return rowProformaRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaRow FindByID_FAKTURY(int ID_FAKTURY) {
                return ((ProformaRow)(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() {
                ProformaDataTable cln = ((ProformaDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ProformaDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                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.columnKOREKTA = base.Columns["KOREKTA"];
                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.columnKONTO = base.Columns["KONTO"];
                this.columnHASŁO_REKLAMOWE = base.Columns["HASŁO REKLAMOWE"];
                this.columnRejestrFaktur_Symbol = base.Columns["RejestrFaktur_Symbol"];
                this.columnAdres_Kor = base.Columns["Adres_Kor"];
                this.columnAdres_Kor_Agencji = base.Columns["Adres_Kor_Agencji"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                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.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.columnKOREKTA = new global::System.Data.DataColumn("KOREKTA", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOREKTA);
                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.columnKONTO = new global::System.Data.DataColumn("KONTO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKONTO);
                this.columnHASŁO_REKLAMOWE = new global::System.Data.DataColumn("HASŁO REKLAMOWE", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnHASŁO_REKLAMOWE);
                this.columnRejestrFaktur_Symbol = new global::System.Data.DataColumn("RejestrFaktur_Symbol", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnRejestrFaktur_Symbol);
                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.columnAdres_Kor_Agencji = new global::System.Data.DataColumn("Adres_Kor_Agencji", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnAdres_Kor_Agencji);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnID_FAKTURY}, true));
                this.columnID_REKLAMY.MaxLength = 10;
                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.columnEXPORTED.AllowDBNull = false;
                this.columnKOREKTA.AllowDBNull = false;
                this.columnzaplata_opis.MaxLength = 50;
                this.columnwaluta_miano.MaxLength = 4;
                this.columnwaluta_tabela_nr.MaxLength = 15;
                this.columnKONTO.MaxLength = 500;
                this.columnHASŁO_REKLAMOWE.MaxLength = 100;
                this.columnRejestrFaktur_Symbol.MaxLength = 5;
                this.columnAdres_Kor.MaxLength = 200;
                this.columnAdres_Kor_Agencji.MaxLength = 250;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaRow NewProformaRow() {
                return ((ProformaRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ProformaRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ProformaRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ProformaRowChanged != null)) {
                    this.ProformaRowChanged(this, new ProformaRowChangeEvent(((ProformaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ProformaRowChanging != null)) {
                    this.ProformaRowChanging(this, new ProformaRowChangeEvent(((ProformaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ProformaRowDeleted != null)) {
                    this.ProformaRowDeleted(this, new ProformaRowChangeEvent(((ProformaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ProformaRowDeleting != null)) {
                    this.ProformaRowDeleting(this, new ProformaRowChangeEvent(((ProformaRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveProformaRow(ProformaRow 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();
                raporty ds = new raporty();
                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 = "ProformaDataTable";
                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 ZamowienieDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            private global::System.Data.DataColumn columnTYTUŁ;
            
            private global::System.Data.DataColumn columnSTRONA;
            
            private global::System.Data.DataColumn columnCENA_JEDN;
            
            private global::System.Data.DataColumn columnSZER;
            
            private global::System.Data.DataColumn columnWYS;
            
            private global::System.Data.DataColumn columnDATA_ZAMÓWIENIA;
            
            private global::System.Data.DataColumn columnKOLOR;
            
            private global::System.Data.DataColumn columnRABAT;
            
            private global::System.Data.DataColumn columnRABAT_WARTOŚĆ;
            
            private global::System.Data.DataColumn columnKROTNOŚĆ;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnPVAT;
            
            private global::System.Data.DataColumn columnINFO;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnImię;
            
            private global::System.Data.DataColumn columnNazwisko;
            
            private global::System.Data.DataColumn columnAdres_Fkatura;
            
            private global::System.Data.DataColumn columnNip;
            
            private global::System.Data.DataColumn columnulica;
            
            private global::System.Data.DataColumn columnkod;
            
            private global::System.Data.DataColumn columnmiasto;
            
            private global::System.Data.DataColumn columntelefon;
            
            private global::System.Data.DataColumn columnfax;
            
            private global::System.Data.DataColumn columnFAKTURA_WYSTAWIONO;
            
            private global::System.Data.DataColumn columnKONTO;
            
            private global::System.Data.DataColumn columnzam_notatka;
            
            private global::System.Data.DataColumn columnBrutto_Euro;
            
            private global::System.Data.DataColumn columnBrutto_Euro_Miano;
            
            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
            
            private global::System.Data.DataColumn columnSPOSOB_ZAPLATY;
            
            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 columnwyroznienie_kwota;
            
            private global::System.Data.DataColumn columnwyroznienie;
            
            private global::System.Data.DataColumn columnnipKraj;
            
            private global::System.Data.DataColumn columnMOD_TYP;
            
            private global::System.Data.DataColumn columnadres_biura;
            
            private global::System.Data.DataColumn columnemisje;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZamowienieDataTable() {
                this.TableName = "Zamowienie";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ZamowienieDataTable(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 ZamowienieDataTable(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_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTUŁColumn {
                get {
                    return this.columnTYTUŁ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STRONAColumn {
                get {
                    return this.columnSTRONA;
                }
            }
            
            [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 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 DATA_ZAMÓWIENIAColumn {
                get {
                    return this.columnDATA_ZAMÓWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOLORColumn {
                get {
                    return this.columnKOLOR;
                }
            }
            
            [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 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 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 INFOColumn {
                get {
                    return this.columnINFO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ImięColumn {
                get {
                    return this.columnImię;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NazwiskoColumn {
                get {
                    return this.columnNazwisko;
                }
            }
            
            [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 NipColumn {
                get {
                    return this.columnNip;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ulicaColumn {
                get {
                    return this.columnulica;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodColumn {
                get {
                    return this.columnkod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn miastoColumn {
                get {
                    return this.columnmiasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn telefonColumn {
                get {
                    return this.columntelefon;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn faxColumn {
                get {
                    return this.columnfax;
                }
            }
            
            [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 KONTOColumn {
                get {
                    return this.columnKONTO;
                }
            }
            
            [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 Brutto_EuroColumn {
                get {
                    return this.columnBrutto_Euro;
                }
            }
            
            [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 TERMIN_ZAPLATYColumn {
                get {
                    return this.columnTERMIN_ZAPLATY;
                }
            }
            
            [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 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 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 nipKrajColumn {
                get {
                    return this.columnnipKraj;
                }
            }
            
            [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 adres_biuraColumn {
                get {
                    return this.columnadres_biura;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn emisjeColumn {
                get {
                    return this.columnemisje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZamowienieRow this[int index] {
                get {
                    return ((ZamowienieRow)(this.Rows[index]));
                }
            }
            
            public event ZamowienieRowChangeEventHandler ZamowienieRowChanging;
            
            public event ZamowienieRowChangeEventHandler ZamowienieRowChanged;
            
            public event ZamowienieRowChangeEventHandler ZamowienieRowDeleting;
            
            public event ZamowienieRowChangeEventHandler ZamowienieRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddZamowienieRow(ZamowienieRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZamowienieRow AddZamowienieRow(
                        string ID_REKLAMY, 
                        string TYTUŁ, 
                        string STRONA, 
                        double CENA_JEDN, 
                        double SZER, 
                        double WYS, 
                        System.DateTime DATA_ZAMÓWIENIA, 
                        string KOLOR, 
                        double RABAT, 
                        double RABAT_WARTOŚĆ, 
                        short KROTNOŚĆ, 
                        double NETTO, 
                        double VAT, 
                        double PVAT, 
                        string INFO, 
                        double BRUTTO, 
                        string Imię, 
                        string Nazwisko, 
                        string Adres_Fkatura, 
                        string Nip, 
                        string ulica, 
                        string kod, 
                        string miasto, 
                        string telefon, 
                        string fax, 
                        bool FAKTURA_WYSTAWIONO, 
                        string KONTO, 
                        string zam_notatka, 
                        double Brutto_Euro, 
                        string Brutto_Euro_Miano, 
                        System.DateTime TERMIN_ZAPLATY, 
                        byte SPOSOB_ZAPLATY, 
                        int NUMER, 
                        string NUMER_ROZ, 
                        int NUMER_ROK, 
                        System.DateTime DATA_WYSTAWIENIA, 
                        double wyroznienie_kwota, 
                        bool wyroznienie, 
                        string nipKraj, 
                        string MOD_TYP, 
                        string adres_biura, 
                        string emisje) {
                ZamowienieRow rowZamowienieRow = ((ZamowienieRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ID_REKLAMY,
                        TYTUŁ,
                        STRONA,
                        CENA_JEDN,
                        SZER,
                        WYS,
                        DATA_ZAMÓWIENIA,
                        KOLOR,
                        RABAT,
                        RABAT_WARTOŚĆ,
                        KROTNOŚĆ,
                        NETTO,
                        VAT,
                        PVAT,
                        INFO,
                        BRUTTO,
                        Imię,
                        Nazwisko,
                        Adres_Fkatura,
                        Nip,
                        ulica,
                        kod,
                        miasto,
                        telefon,
                        fax,
                        FAKTURA_WYSTAWIONO,
                        KONTO,
                        zam_notatka,
                        Brutto_Euro,
                        Brutto_Euro_Miano,
                        TERMIN_ZAPLATY,
                        SPOSOB_ZAPLATY,
                        NUMER,
                        NUMER_ROZ,
                        NUMER_ROK,
                        DATA_WYSTAWIENIA,
                        wyroznienie_kwota,
                        wyroznienie,
                        nipKraj,
                        MOD_TYP,
                        adres_biura,
                        emisje};
                rowZamowienieRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowZamowienieRow);
                return rowZamowienieRow;
            }
            
            [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() {
                ZamowienieDataTable cln = ((ZamowienieDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new ZamowienieDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                this.columnTYTUŁ = base.Columns["TYTUŁ"];
                this.columnSTRONA = base.Columns["STRONA"];
                this.columnCENA_JEDN = base.Columns["CENA JEDN"];
                this.columnSZER = base.Columns["SZER"];
                this.columnWYS = base.Columns["WYS"];
                this.columnDATA_ZAMÓWIENIA = base.Columns["DATA ZAMÓWIENIA"];
                this.columnKOLOR = base.Columns["KOLOR"];
                this.columnRABAT = base.Columns["RABAT"];
                this.columnRABAT_WARTOŚĆ = base.Columns["RABAT WARTOŚĆ"];
                this.columnKROTNOŚĆ = base.Columns["KROTNOŚĆ"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnVAT = base.Columns["VAT"];
                this.columnPVAT = base.Columns["PVAT"];
                this.columnINFO = base.Columns["INFO"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnImię = base.Columns["Imię"];
                this.columnNazwisko = base.Columns["Nazwisko"];
                this.columnAdres_Fkatura = base.Columns["Adres_Fkatura"];
                this.columnNip = base.Columns["Nip"];
                this.columnulica = base.Columns["ulica"];
                this.columnkod = base.Columns["kod"];
                this.columnmiasto = base.Columns["miasto"];
                this.columntelefon = base.Columns["telefon"];
                this.columnfax = base.Columns["fax"];
                this.columnFAKTURA_WYSTAWIONO = base.Columns["FAKTURA WYSTAWIONO"];
                this.columnKONTO = base.Columns["KONTO"];
                this.columnzam_notatka = base.Columns["zam_notatka"];
                this.columnBrutto_Euro = base.Columns["Brutto_Euro"];
                this.columnBrutto_Euro_Miano = base.Columns["Brutto_Euro_Miano"];
                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
                this.columnSPOSOB_ZAPLATY = base.Columns["SPOSOB_ZAPLATY"];
                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.columnwyroznienie_kwota = base.Columns["wyroznienie_kwota"];
                this.columnwyroznienie = base.Columns["wyroznienie"];
                this.columnnipKraj = base.Columns["nipKraj"];
                this.columnMOD_TYP = base.Columns["MOD_TYP"];
                this.columnadres_biura = base.Columns["adres_biura"];
                this.columnemisje = base.Columns["emisje"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                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.columnTYTUŁ = new global::System.Data.DataColumn("TYTUŁ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUŁ);
                this.columnSTRONA = new global::System.Data.DataColumn("STRONA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTRONA);
                this.columnCENA_JEDN = new global::System.Data.DataColumn("CENA JEDN", typeof(double), 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.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.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.columnKOLOR = new global::System.Data.DataColumn("KOLOR", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOLOR);
                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.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.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.columnINFO = new global::System.Data.DataColumn("INFO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnINFO);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnImię = new global::System.Data.DataColumn("Imię", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnImię);
                this.columnNazwisko = new global::System.Data.DataColumn("Nazwisko", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNazwisko);
                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.columnNip = new global::System.Data.DataColumn("Nip", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNip);
                this.columnulica = new global::System.Data.DataColumn("ulica", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnulica);
                this.columnkod = new global::System.Data.DataColumn("kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkod);
                this.columnmiasto = new global::System.Data.DataColumn("miasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnmiasto);
                this.columntelefon = new global::System.Data.DataColumn("telefon", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntelefon);
                this.columnfax = new global::System.Data.DataColumn("fax", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnfax);
                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.columnKONTO = new global::System.Data.DataColumn("KONTO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKONTO);
                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.columnBrutto_Euro = new global::System.Data.DataColumn("Brutto_Euro", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBrutto_Euro);
                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.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.columnSPOSOB_ZAPLATY = new global::System.Data.DataColumn("SPOSOB_ZAPLATY", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPOSOB_ZAPLATY);
                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.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.columnnipKraj = new global::System.Data.DataColumn("nipKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnipKraj);
                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.columnadres_biura = new global::System.Data.DataColumn("adres_biura", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnadres_biura);
                this.columnemisje = new global::System.Data.DataColumn("emisje", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnemisje);
                this.columnID_REKLAMY.MaxLength = 10;
                this.columnTYTUŁ.MaxLength = 5;
                this.columnSTRONA.MaxLength = 25;
                this.columnKOLOR.MaxLength = 5;
                this.columnINFO.MaxLength = 1000;
                this.columnImię.MaxLength = 50;
                this.columnNazwisko.MaxLength = 50;
                this.columnAdres_Fkatura.MaxLength = 200;
                this.columnNip.MaxLength = 50;
                this.columnulica.MaxLength = 50;
                this.columnkod.MaxLength = 50;
                this.columnmiasto.MaxLength = 50;
                this.columntelefon.MaxLength = 50;
                this.columnfax.MaxLength = 50;
                this.columnKONTO.MaxLength = 500;
                this.columnzam_notatka.MaxLength = 200;
                this.columnBrutto_Euro_Miano.MaxLength = 4;
                this.columnNUMER_ROZ.MaxLength = 8;
                this.columnwyroznienie.AllowDBNull = false;
                this.columnnipKraj.MaxLength = 3;
                this.columnMOD_TYP.MaxLength = 15;
                this.columnadres_biura.MaxLength = 250;
                this.columnemisje.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZamowienieRow NewZamowienieRow() {
                return ((ZamowienieRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new ZamowienieRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(ZamowienieRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.ZamowienieRowChanged != null)) {
                    this.ZamowienieRowChanged(this, new ZamowienieRowChangeEvent(((ZamowienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.ZamowienieRowChanging != null)) {
                    this.ZamowienieRowChanging(this, new ZamowienieRowChangeEvent(((ZamowienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.ZamowienieRowDeleted != null)) {
                    this.ZamowienieRowDeleted(this, new ZamowienieRowChangeEvent(((ZamowienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.ZamowienieRowDeleting != null)) {
                    this.ZamowienieRowDeleting(this, new ZamowienieRowChangeEvent(((ZamowienieRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveZamowienieRow(ZamowienieRow 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();
                raporty ds = new raporty();
                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 = "ZamowienieDataTable";
                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_DETAILS2DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnJM;
            
            private global::System.Data.DataColumn columnILOSC;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnS_VAT;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnSYMB;
            
            private global::System.Data.DataColumn columnNR_WYDANIA;
            
            private global::System.Data.DataColumn columnNAZWA_USLUGI;
            
            private global::System.Data.DataColumn columnMIESIAC;
            
            private global::System.Data.DataColumn columnROK;
            
            private global::System.Data.DataColumn columnreklamaId;
            
            private global::System.Data.DataColumn columnTYP;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILS2DataTable() {
                this.TableName = "FAKTURA_DETAILS2";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FAKTURA_DETAILS2DataTable(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_DETAILS2DataTable(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 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 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 BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn VATColumn {
                get {
                    return this.columnVAT;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SYMBColumn {
                get {
                    return this.columnSYMB;
                }
            }
            
            [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 NAZWA_USLUGIColumn {
                get {
                    return this.columnNAZWA_USLUGI;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MIESIACColumn {
                get {
                    return this.columnMIESIAC;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ROKColumn {
                get {
                    return this.columnROK;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn reklamaIdColumn {
                get {
                    return this.columnreklamaId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYPColumn {
                get {
                    return this.columnTYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILS2Row this[int index] {
                get {
                    return ((FAKTURA_DETAILS2Row)(this.Rows[index]));
                }
            }
            
            public event FAKTURA_DETAILS2RowChangeEventHandler FAKTURA_DETAILS2RowChanging;
            
            public event FAKTURA_DETAILS2RowChangeEventHandler FAKTURA_DETAILS2RowChanged;
            
            public event FAKTURA_DETAILS2RowChangeEventHandler FAKTURA_DETAILS2RowDeleting;
            
            public event FAKTURA_DETAILS2RowChangeEventHandler FAKTURA_DETAILS2RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddFAKTURA_DETAILS2Row(FAKTURA_DETAILS2Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILS2Row AddFAKTURA_DETAILS2Row(string JM, int ILOSC, decimal NETTO, double S_VAT, decimal BRUTTO, decimal VAT, string SYMB, short NR_WYDANIA, string NAZWA_USLUGI, short MIESIAC, int ROK, int reklamaId, short TYP) {
                FAKTURA_DETAILS2Row rowFAKTURA_DETAILS2Row = ((FAKTURA_DETAILS2Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        JM,
                        ILOSC,
                        NETTO,
                        S_VAT,
                        BRUTTO,
                        VAT,
                        SYMB,
                        NR_WYDANIA,
                        NAZWA_USLUGI,
                        MIESIAC,
                        ROK,
                        reklamaId,
                        TYP};
                rowFAKTURA_DETAILS2Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowFAKTURA_DETAILS2Row);
                return rowFAKTURA_DETAILS2Row;
            }
            
            [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_DETAILS2DataTable cln = ((FAKTURA_DETAILS2DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new FAKTURA_DETAILS2DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnJM = base.Columns["JM"];
                this.columnILOSC = base.Columns["ILOSC"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnS_VAT = base.Columns["S_VAT"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnVAT = base.Columns["VAT"];
                this.columnSYMB = base.Columns["SYMB"];
                this.columnNR_WYDANIA = base.Columns["NR_WYDANIA"];
                this.columnNAZWA_USLUGI = base.Columns["NAZWA_USLUGI"];
                this.columnMIESIAC = base.Columns["MIESIAC"];
                this.columnROK = base.Columns["ROK"];
                this.columnreklamaId = base.Columns["reklamaId"];
                this.columnTYP = base.Columns["TYP"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                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.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.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnVAT = new global::System.Data.DataColumn("VAT", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnVAT);
                this.columnSYMB = new global::System.Data.DataColumn("SYMB", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSYMB);
                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.columnNAZWA_USLUGI = new global::System.Data.DataColumn("NAZWA_USLUGI", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNAZWA_USLUGI);
                this.columnMIESIAC = new global::System.Data.DataColumn("MIESIAC", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMIESIAC);
                this.columnROK = new global::System.Data.DataColumn("ROK", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnROK);
                this.columnreklamaId = new global::System.Data.DataColumn("reklamaId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnreklamaId);
                this.columnTYP = new global::System.Data.DataColumn("TYP", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYP);
                this.columnJM.MaxLength = 5;
                this.columnILOSC.ReadOnly = true;
                this.columnNETTO.ReadOnly = true;
                this.columnBRUTTO.ReadOnly = true;
                this.columnVAT.ReadOnly = true;
                this.columnSYMB.MaxLength = 50;
                this.columnNAZWA_USLUGI.MaxLength = 100;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILS2Row NewFAKTURA_DETAILS2Row() {
                return ((FAKTURA_DETAILS2Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new FAKTURA_DETAILS2Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(FAKTURA_DETAILS2Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.FAKTURA_DETAILS2RowChanged != null)) {
                    this.FAKTURA_DETAILS2RowChanged(this, new FAKTURA_DETAILS2RowChangeEvent(((FAKTURA_DETAILS2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.FAKTURA_DETAILS2RowChanging != null)) {
                    this.FAKTURA_DETAILS2RowChanging(this, new FAKTURA_DETAILS2RowChangeEvent(((FAKTURA_DETAILS2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.FAKTURA_DETAILS2RowDeleted != null)) {
                    this.FAKTURA_DETAILS2RowDeleted(this, new FAKTURA_DETAILS2RowChangeEvent(((FAKTURA_DETAILS2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.FAKTURA_DETAILS2RowDeleting != null)) {
                    this.FAKTURA_DETAILS2RowDeleting(this, new FAKTURA_DETAILS2RowChangeEvent(((FAKTURA_DETAILS2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveFAKTURA_DETAILS2Row(FAKTURA_DETAILS2Row 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();
                raporty ds = new raporty();
                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_DETAILS2DataTable";
                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 Zamowienie2DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID_REKLAMY;
            
            private global::System.Data.DataColumn columnTYTUŁ;
            
            private global::System.Data.DataColumn columnSTRONA;
            
            private global::System.Data.DataColumn columnCENA_JEDN;
            
            private global::System.Data.DataColumn columnSZER;
            
            private global::System.Data.DataColumn columnWYS;
            
            private global::System.Data.DataColumn columnDATA_ZAMÓWIENIA;
            
            private global::System.Data.DataColumn columnKOLOR;
            
            private global::System.Data.DataColumn columnRABAT;
            
            private global::System.Data.DataColumn columnRABAT_WARTOŚĆ;
            
            private global::System.Data.DataColumn columnKROTNOŚĆ;
            
            private global::System.Data.DataColumn columnNETTO;
            
            private global::System.Data.DataColumn columnVAT;
            
            private global::System.Data.DataColumn columnPVAT;
            
            private global::System.Data.DataColumn columnINFO;
            
            private global::System.Data.DataColumn columnBRUTTO;
            
            private global::System.Data.DataColumn columnImię;
            
            private global::System.Data.DataColumn columnNazwisko;
            
            private global::System.Data.DataColumn columnAdres_Fkatura;
            
            private global::System.Data.DataColumn columnNip;
            
            private global::System.Data.DataColumn columnnipKraj;
            
            private global::System.Data.DataColumn columnulica;
            
            private global::System.Data.DataColumn columnkod;
            
            private global::System.Data.DataColumn columnmiasto;
            
            private global::System.Data.DataColumn columntelefon;
            
            private global::System.Data.DataColumn columnfax;
            
            private global::System.Data.DataColumn columnFAKTURA_WYSTAWIONO;
            
            private global::System.Data.DataColumn columnTERMIN_ZAPLATY;
            
            private global::System.Data.DataColumn columnSPOSOB_ZAPLATY;
            
            private global::System.Data.DataColumn columnzam_notatka;
            
            private global::System.Data.DataColumn columnadres_biura;
            
            private global::System.Data.DataColumn columnBrutto_Euro;
            
            private global::System.Data.DataColumn columnBrutto_Euro_Miano;
            
            private global::System.Data.DataColumn columnwyroznienie_kwota;
            
            private global::System.Data.DataColumn columnwyroznienie;
            
            private global::System.Data.DataColumn columnMOD_TYP;
            
            private global::System.Data.DataColumn columnemisje;
            
            private global::System.Data.DataColumn columnnrZamowienia;
            
            private global::System.Data.DataColumn columnrodzajFakturowania;
            
            private global::System.Data.DataColumn columntypProd;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Zamowienie2DataTable() {
                this.TableName = "Zamowienie2";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Zamowienie2DataTable(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 Zamowienie2DataTable(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_REKLAMYColumn {
                get {
                    return this.columnID_REKLAMY;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TYTUŁColumn {
                get {
                    return this.columnTYTUŁ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn STRONAColumn {
                get {
                    return this.columnSTRONA;
                }
            }
            
            [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 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 DATA_ZAMÓWIENIAColumn {
                get {
                    return this.columnDATA_ZAMÓWIENIA;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn KOLORColumn {
                get {
                    return this.columnKOLOR;
                }
            }
            
            [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 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 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 INFOColumn {
                get {
                    return this.columnINFO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn BRUTTOColumn {
                get {
                    return this.columnBRUTTO;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ImięColumn {
                get {
                    return this.columnImię;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NazwiskoColumn {
                get {
                    return this.columnNazwisko;
                }
            }
            
            [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 NipColumn {
                get {
                    return this.columnNip;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nipKrajColumn {
                get {
                    return this.columnnipKraj;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn ulicaColumn {
                get {
                    return this.columnulica;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn kodColumn {
                get {
                    return this.columnkod;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn miastoColumn {
                get {
                    return this.columnmiasto;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn telefonColumn {
                get {
                    return this.columntelefon;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn faxColumn {
                get {
                    return this.columnfax;
                }
            }
            
            [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 TERMIN_ZAPLATYColumn {
                get {
                    return this.columnTERMIN_ZAPLATY;
                }
            }
            
            [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 zam_notatkaColumn {
                get {
                    return this.columnzam_notatka;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn adres_biuraColumn {
                get {
                    return this.columnadres_biura;
                }
            }
            
            [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 Brutto_Euro_MianoColumn {
                get {
                    return this.columnBrutto_Euro_Miano;
                }
            }
            
            [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 MOD_TYPColumn {
                get {
                    return this.columnMOD_TYP;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn emisjeColumn {
                get {
                    return this.columnemisje;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nrZamowieniaColumn {
                get {
                    return this.columnnrZamowienia;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn rodzajFakturowaniaColumn {
                get {
                    return this.columnrodzajFakturowania;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn typProdColumn {
                get {
                    return this.columntypProd;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Zamowienie2Row this[int index] {
                get {
                    return ((Zamowienie2Row)(this.Rows[index]));
                }
            }
            
            public event Zamowienie2RowChangeEventHandler Zamowienie2RowChanging;
            
            public event Zamowienie2RowChangeEventHandler Zamowienie2RowChanged;
            
            public event Zamowienie2RowChangeEventHandler Zamowienie2RowDeleting;
            
            public event Zamowienie2RowChangeEventHandler Zamowienie2RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddZamowienie2Row(Zamowienie2Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Zamowienie2Row AddZamowienie2Row(
                        string ID_REKLAMY, 
                        string TYTUŁ, 
                        string STRONA, 
                        double CENA_JEDN, 
                        double SZER, 
                        double WYS, 
                        System.DateTime DATA_ZAMÓWIENIA, 
                        string KOLOR, 
                        double RABAT, 
                        double RABAT_WARTOŚĆ, 
                        short KROTNOŚĆ, 
                        double NETTO, 
                        double VAT, 
                        double PVAT, 
                        string INFO, 
                        double BRUTTO, 
                        string Imię, 
                        string Nazwisko, 
                        string Adres_Fkatura, 
                        string Nip, 
                        string nipKraj, 
                        string ulica, 
                        string kod, 
                        string miasto, 
                        string telefon, 
                        string fax, 
                        bool FAKTURA_WYSTAWIONO, 
                        System.DateTime TERMIN_ZAPLATY, 
                        byte SPOSOB_ZAPLATY, 
                        string zam_notatka, 
                        string adres_biura, 
                        double Brutto_Euro, 
                        string Brutto_Euro_Miano, 
                        double wyroznienie_kwota, 
                        bool wyroznienie, 
                        string MOD_TYP, 
                        string emisje, 
                        string nrZamowienia, 
                        short rodzajFakturowania, 
                        string typProd) {
                Zamowienie2Row rowZamowienie2Row = ((Zamowienie2Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ID_REKLAMY,
                        TYTUŁ,
                        STRONA,
                        CENA_JEDN,
                        SZER,
                        WYS,
                        DATA_ZAMÓWIENIA,
                        KOLOR,
                        RABAT,
                        RABAT_WARTOŚĆ,
                        KROTNOŚĆ,
                        NETTO,
                        VAT,
                        PVAT,
                        INFO,
                        BRUTTO,
                        Imię,
                        Nazwisko,
                        Adres_Fkatura,
                        Nip,
                        nipKraj,
                        ulica,
                        kod,
                        miasto,
                        telefon,
                        fax,
                        FAKTURA_WYSTAWIONO,
                        TERMIN_ZAPLATY,
                        SPOSOB_ZAPLATY,
                        zam_notatka,
                        adres_biura,
                        Brutto_Euro,
                        Brutto_Euro_Miano,
                        wyroznienie_kwota,
                        wyroznienie,
                        MOD_TYP,
                        emisje,
                        nrZamowienia,
                        rodzajFakturowania,
                        typProd};
                rowZamowienie2Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowZamowienie2Row);
                return rowZamowienie2Row;
            }
            
            [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() {
                Zamowienie2DataTable cln = ((Zamowienie2DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new Zamowienie2DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID_REKLAMY = base.Columns["ID REKLAMY"];
                this.columnTYTUŁ = base.Columns["TYTUŁ"];
                this.columnSTRONA = base.Columns["STRONA"];
                this.columnCENA_JEDN = base.Columns["CENA JEDN"];
                this.columnSZER = base.Columns["SZER"];
                this.columnWYS = base.Columns["WYS"];
                this.columnDATA_ZAMÓWIENIA = base.Columns["DATA ZAMÓWIENIA"];
                this.columnKOLOR = base.Columns["KOLOR"];
                this.columnRABAT = base.Columns["RABAT"];
                this.columnRABAT_WARTOŚĆ = base.Columns["RABAT WARTOŚĆ"];
                this.columnKROTNOŚĆ = base.Columns["KROTNOŚĆ"];
                this.columnNETTO = base.Columns["NETTO"];
                this.columnVAT = base.Columns["VAT"];
                this.columnPVAT = base.Columns["PVAT"];
                this.columnINFO = base.Columns["INFO"];
                this.columnBRUTTO = base.Columns["BRUTTO"];
                this.columnImię = base.Columns["Imię"];
                this.columnNazwisko = base.Columns["Nazwisko"];
                this.columnAdres_Fkatura = base.Columns["Adres_Fkatura"];
                this.columnNip = base.Columns["Nip"];
                this.columnnipKraj = base.Columns["nipKraj"];
                this.columnulica = base.Columns["ulica"];
                this.columnkod = base.Columns["kod"];
                this.columnmiasto = base.Columns["miasto"];
                this.columntelefon = base.Columns["telefon"];
                this.columnfax = base.Columns["fax"];
                this.columnFAKTURA_WYSTAWIONO = base.Columns["FAKTURA WYSTAWIONO"];
                this.columnTERMIN_ZAPLATY = base.Columns["TERMIN_ZAPLATY"];
                this.columnSPOSOB_ZAPLATY = base.Columns["SPOSOB_ZAPLATY"];
                this.columnzam_notatka = base.Columns["zam_notatka"];
                this.columnadres_biura = base.Columns["adres_biura"];
                this.columnBrutto_Euro = base.Columns["Brutto_Euro"];
                this.columnBrutto_Euro_Miano = base.Columns["Brutto_Euro_Miano"];
                this.columnwyroznienie_kwota = base.Columns["wyroznienie_kwota"];
                this.columnwyroznienie = base.Columns["wyroznienie"];
                this.columnMOD_TYP = base.Columns["MOD_TYP"];
                this.columnemisje = base.Columns["emisje"];
                this.columnnrZamowienia = base.Columns["nrZamowienia"];
                this.columnrodzajFakturowania = base.Columns["rodzajFakturowania"];
                this.columntypProd = base.Columns["typProd"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                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.columnTYTUŁ = new global::System.Data.DataColumn("TYTUŁ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTYTUŁ);
                this.columnSTRONA = new global::System.Data.DataColumn("STRONA", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSTRONA);
                this.columnCENA_JEDN = new global::System.Data.DataColumn("CENA JEDN", typeof(double), 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.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.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.columnKOLOR = new global::System.Data.DataColumn("KOLOR", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnKOLOR);
                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.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.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.columnINFO = new global::System.Data.DataColumn("INFO", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnINFO);
                this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnBRUTTO);
                this.columnImię = new global::System.Data.DataColumn("Imię", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnImię);
                this.columnNazwisko = new global::System.Data.DataColumn("Nazwisko", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNazwisko);
                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.columnNip = new global::System.Data.DataColumn("Nip", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnNip);
                this.columnnipKraj = new global::System.Data.DataColumn("nipKraj", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnipKraj);
                this.columnulica = new global::System.Data.DataColumn("ulica", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnulica);
                this.columnkod = new global::System.Data.DataColumn("kod", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnkod);
                this.columnmiasto = new global::System.Data.DataColumn("miasto", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnmiasto);
                this.columntelefon = new global::System.Data.DataColumn("telefon", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntelefon);
                this.columnfax = new global::System.Data.DataColumn("fax", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnfax);
                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.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.columnSPOSOB_ZAPLATY = new global::System.Data.DataColumn("SPOSOB_ZAPLATY", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSPOSOB_ZAPLATY);
                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.columnadres_biura = new global::System.Data.DataColumn("adres_biura", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnadres_biura);
                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.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.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.columnMOD_TYP = new global::System.Data.DataColumn("MOD_TYP", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnMOD_TYP);
                this.columnemisje = new global::System.Data.DataColumn("emisje", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnemisje);
                this.columnnrZamowienia = new global::System.Data.DataColumn("nrZamowienia", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnnrZamowienia);
                this.columnrodzajFakturowania = new global::System.Data.DataColumn("rodzajFakturowania", typeof(short), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnrodzajFakturowania);
                this.columntypProd = new global::System.Data.DataColumn("typProd", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntypProd);
                this.columnID_REKLAMY.MaxLength = 10;
                this.columnTYTUŁ.MaxLength = 5;
                this.columnSTRONA.MaxLength = 25;
                this.columnKOLOR.MaxLength = 5;
                this.columnINFO.MaxLength = 1000;
                this.columnImię.MaxLength = 50;
                this.columnNazwisko.MaxLength = 50;
                this.columnAdres_Fkatura.MaxLength = 200;
                this.columnNip.MaxLength = 50;
                this.columnnipKraj.MaxLength = 3;
                this.columnulica.MaxLength = 50;
                this.columnkod.MaxLength = 50;
                this.columnmiasto.MaxLength = 50;
                this.columntelefon.MaxLength = 50;
                this.columnfax.MaxLength = 50;
                this.columnzam_notatka.MaxLength = 200;
                this.columnadres_biura.MaxLength = 250;
                this.columnBrutto_Euro_Miano.MaxLength = 4;
                this.columnMOD_TYP.MaxLength = 15;
                this.columnemisje.ReadOnly = true;
                this.columnemisje.MaxLength = 1024;
                this.columnnrZamowienia.ReadOnly = true;
                this.columnnrZamowienia.MaxLength = 40;
                this.columntypProd.ReadOnly = true;
                this.columntypProd.MaxLength = 1;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Zamowienie2Row NewZamowienie2Row() {
                return ((Zamowienie2Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new Zamowienie2Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(Zamowienie2Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.Zamowienie2RowChanged != null)) {
                    this.Zamowienie2RowChanged(this, new Zamowienie2RowChangeEvent(((Zamowienie2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.Zamowienie2RowChanging != null)) {
                    this.Zamowienie2RowChanging(this, new Zamowienie2RowChangeEvent(((Zamowienie2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.Zamowienie2RowDeleted != null)) {
                    this.Zamowienie2RowDeleted(this, new Zamowienie2RowChangeEvent(((Zamowienie2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.Zamowienie2RowDeleting != null)) {
                    this.Zamowienie2RowDeleting(this, new Zamowienie2RowChangeEvent(((Zamowienie2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveZamowienie2Row(Zamowienie2Row 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();
                raporty ds = new raporty();
                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 = "Zamowienie2DataTable";
                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 InvoiceProviderDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnId;
            
            private global::System.Data.DataColumn columnShortName;
            
            private global::System.Data.DataColumn columnName;
            
            private global::System.Data.DataColumn columnStreet;
            
            private global::System.Data.DataColumn columnCity;
            
            private global::System.Data.DataColumn columnPostCode;
            
            private global::System.Data.DataColumn columnCountry;
            
            private global::System.Data.DataColumn columnPhone;
            
            private global::System.Data.DataColumn columnTaxNumber;
            
            private global::System.Data.DataColumn columnTaxCountryPrefix;
            
            private global::System.Data.DataColumn columnSystemKsiegowyId;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderDataTable() {
                this.TableName = "InvoiceProvider";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal InvoiceProviderDataTable(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 InvoiceProviderDataTable(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 ShortNameColumn {
                get {
                    return this.columnShortName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn NameColumn {
                get {
                    return this.columnName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn StreetColumn {
                get {
                    return this.columnStreet;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CityColumn {
                get {
                    return this.columnCity;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PostCodeColumn {
                get {
                    return this.columnPostCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn CountryColumn {
                get {
                    return this.columnCountry;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn PhoneColumn {
                get {
                    return this.columnPhone;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TaxNumberColumn {
                get {
                    return this.columnTaxNumber;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TaxCountryPrefixColumn {
                get {
                    return this.columnTaxCountryPrefix;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn SystemKsiegowyIdColumn {
                get {
                    return this.columnSystemKsiegowyId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderRow this[int index] {
                get {
                    return ((InvoiceProviderRow)(this.Rows[index]));
                }
            }
            
            public event InvoiceProviderRowChangeEventHandler InvoiceProviderRowChanging;
            
            public event InvoiceProviderRowChangeEventHandler InvoiceProviderRowChanged;
            
            public event InvoiceProviderRowChangeEventHandler InvoiceProviderRowDeleting;
            
            public event InvoiceProviderRowChangeEventHandler InvoiceProviderRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddInvoiceProviderRow(InvoiceProviderRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderRow AddInvoiceProviderRow(int Id, string ShortName, string Name, string Street, string City, string PostCode, string Country, string Phone, string TaxNumber, string TaxCountryPrefix, byte SystemKsiegowyId) {
                InvoiceProviderRow rowInvoiceProviderRow = ((InvoiceProviderRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        Id,
                        ShortName,
                        Name,
                        Street,
                        City,
                        PostCode,
                        Country,
                        Phone,
                        TaxNumber,
                        TaxCountryPrefix,
                        SystemKsiegowyId};
                rowInvoiceProviderRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowInvoiceProviderRow);
                return rowInvoiceProviderRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderRow FindById(int Id) {
                return ((InvoiceProviderRow)(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() {
                InvoiceProviderDataTable cln = ((InvoiceProviderDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new InvoiceProviderDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnId = base.Columns["Id"];
                this.columnShortName = base.Columns["ShortName"];
                this.columnName = base.Columns["Name"];
                this.columnStreet = base.Columns["Street"];
                this.columnCity = base.Columns["City"];
                this.columnPostCode = base.Columns["PostCode"];
                this.columnCountry = base.Columns["Country"];
                this.columnPhone = base.Columns["Phone"];
                this.columnTaxNumber = base.Columns["TaxNumber"];
                this.columnTaxCountryPrefix = base.Columns["TaxCountryPrefix"];
                this.columnSystemKsiegowyId = base.Columns["SystemKsiegowyId"];
            }
            
            [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.columnShortName = new global::System.Data.DataColumn("ShortName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnShortName);
                this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnName);
                this.columnStreet = new global::System.Data.DataColumn("Street", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnStreet);
                this.columnCity = new global::System.Data.DataColumn("City", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCity);
                this.columnPostCode = new global::System.Data.DataColumn("PostCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPostCode);
                this.columnCountry = new global::System.Data.DataColumn("Country", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnCountry);
                this.columnPhone = new global::System.Data.DataColumn("Phone", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPhone);
                this.columnTaxNumber = new global::System.Data.DataColumn("TaxNumber", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTaxNumber);
                this.columnTaxCountryPrefix = new global::System.Data.DataColumn("TaxCountryPrefix", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTaxCountryPrefix);
                this.columnSystemKsiegowyId = new global::System.Data.DataColumn("SystemKsiegowyId", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnSystemKsiegowyId);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnId}, true));
                this.columnId.AllowDBNull = false;
                this.columnId.Unique = true;
                this.columnShortName.AllowDBNull = false;
                this.columnShortName.MaxLength = 50;
                this.columnName.MaxLength = 100;
                this.columnStreet.MaxLength = 50;
                this.columnCity.MaxLength = 50;
                this.columnPostCode.MaxLength = 50;
                this.columnCountry.MaxLength = 50;
                this.columnPhone.MaxLength = 50;
                this.columnTaxNumber.MaxLength = 50;
                this.columnTaxCountryPrefix.MaxLength = 5;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderRow NewInvoiceProviderRow() {
                return ((InvoiceProviderRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new InvoiceProviderRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(InvoiceProviderRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.InvoiceProviderRowChanged != null)) {
                    this.InvoiceProviderRowChanged(this, new InvoiceProviderRowChangeEvent(((InvoiceProviderRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.InvoiceProviderRowChanging != null)) {
                    this.InvoiceProviderRowChanging(this, new InvoiceProviderRowChangeEvent(((InvoiceProviderRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.InvoiceProviderRowDeleted != null)) {
                    this.InvoiceProviderRowDeleted(this, new InvoiceProviderRowChangeEvent(((InvoiceProviderRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.InvoiceProviderRowDeleting != null)) {
                    this.InvoiceProviderRowDeleting(this, new InvoiceProviderRowChangeEvent(((InvoiceProviderRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveInvoiceProviderRow(InvoiceProviderRow 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();
                raporty ds = new raporty();
                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 = "InvoiceProviderDataTable";
                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 emisjeDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnID;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public emisjeDataTable() {
                this.TableName = "emisje";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal emisjeDataTable(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 emisjeDataTable(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()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public emisjeRow this[int index] {
                get {
                    return ((emisjeRow)(this.Rows[index]));
                }
            }
            
            public event emisjeRowChangeEventHandler emisjeRowChanging;
            
            public event emisjeRowChangeEventHandler emisjeRowChanged;
            
            public event emisjeRowChangeEventHandler emisjeRowDeleting;
            
            public event emisjeRowChangeEventHandler emisjeRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddemisjeRow(emisjeRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public emisjeRow AddemisjeRow(string ID) {
                emisjeRow rowemisjeRow = ((emisjeRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        ID};
                rowemisjeRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowemisjeRow);
                return rowemisjeRow;
            }
            
            [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() {
                emisjeDataTable cln = ((emisjeDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new emisjeDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnID = base.Columns["ID"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnID = new global::System.Data.DataColumn("ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnID);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public emisjeRow NewemisjeRow() {
                return ((emisjeRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new emisjeRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(emisjeRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.emisjeRowChanged != null)) {
                    this.emisjeRowChanged(this, new emisjeRowChangeEvent(((emisjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.emisjeRowChanging != null)) {
                    this.emisjeRowChanging(this, new emisjeRowChangeEvent(((emisjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.emisjeRowDeleted != null)) {
                    this.emisjeRowDeleted(this, new emisjeRowChangeEvent(((emisjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.emisjeRowDeleting != null)) {
                    this.emisjeRowDeleting(this, new emisjeRowChangeEvent(((emisjeRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveemisjeRow(emisjeRow 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();
                raporty ds = new raporty();
                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 = "emisjeDataTable";
                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 FakturaRow : global::System.Data.DataRow {
            
            private FakturaDataTable tableFaktura;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FakturaRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableFaktura = ((FakturaDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    return ((int)(this[this.tableFaktura.ID_FAKTURYColumn]));
                }
                set {
                    this[this.tableFaktura.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.NUMER_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.NUMER_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_ROK {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.NUMER_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.NUMER_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MIEJSCOWOSC_WYSTAWIENIA {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.MIEJSCOWOSC_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MIEJSCOWOSC_WYSTAWIENIA\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.MIEJSCOWOSC_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_SPRZEDAWCY {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.ID_SPRZEDAWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_SPRZEDAWCY\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.ID_SPRZEDAWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_NABYWCY {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.ID_NABYWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_NABYWCY\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.ID_NABYWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_SPRZEDAZY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.DATA_SPRZEDAZYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.DATA_SPRZEDAZYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PODPIS_WYSTAWIL {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.PODPIS_WYSTAWILColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODPIS_WYSTAWIL\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.PODPIS_WYSTAWILColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PODPIS_ODEBRAL {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.PODPIS_ODEBRALColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODPIS_ODEBRAL\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.PODPIS_ODEBRALColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string opis {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'opis\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPOSOB_ZAPLATY {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.SPOSOB_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPOSOB_ZAPLATY\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.SPOSOB_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPLACONO {
                get {
                    try {
                        return ((bool)(this[this.tableFaktura.ZAPLACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPLACONO\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.ZAPLACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool BYL_WYDRUK {
                get {
                    try {
                        return ((bool)(this[this.tableFaktura.BYL_WYDRUKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BYL_WYDRUK\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.BYL_WYDRUKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NABYWCA_ADRES {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.NABYWCA_ADRESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NABYWCA_ADRES\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.NABYWCA_ADRESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPRZEDAWCA_ADRES {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.SPRZEDAWCA_ADRESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPRZEDAWCA_ADRES\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.SPRZEDAWCA_ADRESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPRZEDAWCA_NIP {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.SPRZEDAWCA_NIPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPRZEDAWCA_NIP\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.SPRZEDAWCA_NIPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NABYWCA_NIP {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.NABYWCA_NIPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NABYWCA_NIP\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.NABYWCA_NIPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short FAKTURA_TYP {
                get {
                    try {
                        return ((short)(this[this.tableFaktura.FAKTURA_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA_TYP\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.FAKTURA_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short FAKTURA_PODTYP {
                get {
                    try {
                        return ((short)(this[this.tableFaktura.FAKTURA_PODTYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA_PODTYP\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.FAKTURA_PODTYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_KONTA {
                get {
                    try {
                        return ((short)(this[this.tableFaktura.ID_KONTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_KONTA\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.ID_KONTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool EKSPORT {
                get {
                    return ((bool)(this[this.tableFaktura.EKSPORTColumn]));
                }
                set {
                    this[this.tableFaktura.EKSPORTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool EXPORTED {
                get {
                    return ((bool)(this[this.tableFaktura.EXPORTEDColumn]));
                }
                set {
                    this[this.tableFaktura.EXPORTEDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_TYTUL {
                get {
                    try {
                        return ((short)(this[this.tableFaktura.ID_TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_TYTUL\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.ID_TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime EXPORTED_DATA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.EXPORTED_DATAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'EXPORTED_DATA\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.EXPORTED_DATAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zaplat {
                get {
                    try {
                        return ((decimal)(this[this.tableFaktura.suma_zaplatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.suma_zaplatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FK_KOR {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.ID_FK_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FK_KOR\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.ID_FK_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime zaplata_data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.zaplata_dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.zaplata_dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zaplata_opis {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.zaplata_opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_opis\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.zaplata_opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Zaliczka_Brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableFaktura.Zaliczka_BruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Brutto\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.Zaliczka_BruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Zaliczka_Data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.Zaliczka_DataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Data\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.Zaliczka_DataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_brutto {
                get {
                    try {
                        return ((double)(this[this.tableFaktura.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_kurs {
                get {
                    try {
                        return ((double)(this[this.tableFaktura.waluta_kursColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.waluta_kursColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int waluta_przelicznik {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.waluta_przelicznikColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_przelicznik\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.waluta_przelicznikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime waluta_kurs_z_dnia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableFaktura.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 \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.waluta_kurs_z_dniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_tabela_nr {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.waluta_tabela_nrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_tabela_nr\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.waluta_tabela_nrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KONTO {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.KONTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KONTO\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.KONTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string HASŁO_REKLAMOWE {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.HASŁO_REKLAMOWEColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'HASŁO REKLAMOWE\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.HASŁO_REKLAMOWEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string RejestrFaktur_Symbol {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.RejestrFaktur_SymbolColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RejestrFaktur_Symbol\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.RejestrFaktur_SymbolColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Kor {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.Adres_KorColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Kor\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.Adres_KorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Kor_Agencji {
                get {
                    try {
                        return ((string)(this[this.tableFaktura.Adres_Kor_AgencjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Kor_Agencji\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.Adres_Kor_AgencjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool KOREKTA {
                get {
                    return ((bool)(this[this.tableFaktura.KOREKTAColumn]));
                }
                set {
                    this[this.tableFaktura.KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idZamowienia {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.idZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idZamowienia\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.idZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyKorekta {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.idFakturyKorektaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyKorekta\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.idFakturyKorektaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int idFakturyVAT {
                get {
                    try {
                        return ((int)(this[this.tableFaktura.idFakturyVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'idFakturyVAT\' in table \'Faktura\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFaktura.idFakturyVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableFaktura.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableFaktura.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZNull() {
                return this.IsNull(this.tableFaktura.NUMER_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZNull() {
                this[this.tableFaktura.NUMER_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROKNull() {
                return this.IsNull(this.tableFaktura.NUMER_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROKNull() {
                this[this.tableFaktura.NUMER_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableFaktura.DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_WYSTAWIENIANull() {
                this[this.tableFaktura.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMIEJSCOWOSC_WYSTAWIENIANull() {
                return this.IsNull(this.tableFaktura.MIEJSCOWOSC_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMIEJSCOWOSC_WYSTAWIENIANull() {
                this[this.tableFaktura.MIEJSCOWOSC_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_SPRZEDAWCYNull() {
                return this.IsNull(this.tableFaktura.ID_SPRZEDAWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_SPRZEDAWCYNull() {
                this[this.tableFaktura.ID_SPRZEDAWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_NABYWCYNull() {
                return this.IsNull(this.tableFaktura.ID_NABYWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_NABYWCYNull() {
                this[this.tableFaktura.ID_NABYWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_SPRZEDAZYNull() {
                return this.IsNull(this.tableFaktura.DATA_SPRZEDAZYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_SPRZEDAZYNull() {
                this[this.tableFaktura.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODPIS_WYSTAWILNull() {
                return this.IsNull(this.tableFaktura.PODPIS_WYSTAWILColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODPIS_WYSTAWILNull() {
                this[this.tableFaktura.PODPIS_WYSTAWILColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODPIS_ODEBRALNull() {
                return this.IsNull(this.tableFaktura.PODPIS_ODEBRALColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODPIS_ODEBRALNull() {
                this[this.tableFaktura.PODPIS_ODEBRALColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsopisNull() {
                return this.IsNull(this.tableFaktura.opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetopisNull() {
                this[this.tableFaktura.opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPOSOB_ZAPLATYNull() {
                return this.IsNull(this.tableFaktura.SPOSOB_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPOSOB_ZAPLATYNull() {
                this[this.tableFaktura.SPOSOB_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableFaktura.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableFaktura.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPLACONONull() {
                return this.IsNull(this.tableFaktura.ZAPLACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPLACONONull() {
                this[this.tableFaktura.ZAPLACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBYL_WYDRUKNull() {
                return this.IsNull(this.tableFaktura.BYL_WYDRUKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBYL_WYDRUKNull() {
                this[this.tableFaktura.BYL_WYDRUKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNABYWCA_ADRESNull() {
                return this.IsNull(this.tableFaktura.NABYWCA_ADRESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNABYWCA_ADRESNull() {
                this[this.tableFaktura.NABYWCA_ADRESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPRZEDAWCA_ADRESNull() {
                return this.IsNull(this.tableFaktura.SPRZEDAWCA_ADRESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPRZEDAWCA_ADRESNull() {
                this[this.tableFaktura.SPRZEDAWCA_ADRESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPRZEDAWCA_NIPNull() {
                return this.IsNull(this.tableFaktura.SPRZEDAWCA_NIPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPRZEDAWCA_NIPNull() {
                this[this.tableFaktura.SPRZEDAWCA_NIPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNABYWCA_NIPNull() {
                return this.IsNull(this.tableFaktura.NABYWCA_NIPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNABYWCA_NIPNull() {
                this[this.tableFaktura.NABYWCA_NIPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_TYPNull() {
                return this.IsNull(this.tableFaktura.FAKTURA_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_TYPNull() {
                this[this.tableFaktura.FAKTURA_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_PODTYPNull() {
                return this.IsNull(this.tableFaktura.FAKTURA_PODTYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_PODTYPNull() {
                this[this.tableFaktura.FAKTURA_PODTYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_KONTANull() {
                return this.IsNull(this.tableFaktura.ID_KONTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_KONTANull() {
                this[this.tableFaktura.ID_KONTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_TYTULNull() {
                return this.IsNull(this.tableFaktura.ID_TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_TYTULNull() {
                this[this.tableFaktura.ID_TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsEXPORTED_DATANull() {
                return this.IsNull(this.tableFaktura.EXPORTED_DATAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetEXPORTED_DATANull() {
                this[this.tableFaktura.EXPORTED_DATAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zaplatNull() {
                return this.IsNull(this.tableFaktura.suma_zaplatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zaplatNull() {
                this[this.tableFaktura.suma_zaplatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FK_KORNull() {
                return this.IsNull(this.tableFaktura.ID_FK_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FK_KORNull() {
                this[this.tableFaktura.ID_FK_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_dataNull() {
                return this.IsNull(this.tableFaktura.zaplata_dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_dataNull() {
                this[this.tableFaktura.zaplata_dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_opisNull() {
                return this.IsNull(this.tableFaktura.zaplata_opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_opisNull() {
                this[this.tableFaktura.zaplata_opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_BruttoNull() {
                return this.IsNull(this.tableFaktura.Zaliczka_BruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_BruttoNull() {
                this[this.tableFaktura.Zaliczka_BruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_DataNull() {
                return this.IsNull(this.tableFaktura.Zaliczka_DataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_DataNull() {
                this[this.tableFaktura.Zaliczka_DataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableFaktura.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableFaktura.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableFaktura.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableFaktura.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kursNull() {
                return this.IsNull(this.tableFaktura.waluta_kursColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kursNull() {
                this[this.tableFaktura.waluta_kursColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_przelicznikNull() {
                return this.IsNull(this.tableFaktura.waluta_przelicznikColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_przelicznikNull() {
                this[this.tableFaktura.waluta_przelicznikColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kurs_z_dniaNull() {
                return this.IsNull(this.tableFaktura.waluta_kurs_z_dniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kurs_z_dniaNull() {
                this[this.tableFaktura.waluta_kurs_z_dniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_tabela_nrNull() {
                return this.IsNull(this.tableFaktura.waluta_tabela_nrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_tabela_nrNull() {
                this[this.tableFaktura.waluta_tabela_nrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKONTONull() {
                return this.IsNull(this.tableFaktura.KONTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKONTONull() {
                this[this.tableFaktura.KONTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsHASŁO_REKLAMOWENull() {
                return this.IsNull(this.tableFaktura.HASŁO_REKLAMOWEColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetHASŁO_REKLAMOWENull() {
                this[this.tableFaktura.HASŁO_REKLAMOWEColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRejestrFaktur_SymbolNull() {
                return this.IsNull(this.tableFaktura.RejestrFaktur_SymbolColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRejestrFaktur_SymbolNull() {
                this[this.tableFaktura.RejestrFaktur_SymbolColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_KorNull() {
                return this.IsNull(this.tableFaktura.Adres_KorColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_KorNull() {
                this[this.tableFaktura.Adres_KorColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_Kor_AgencjiNull() {
                return this.IsNull(this.tableFaktura.Adres_Kor_AgencjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_Kor_AgencjiNull() {
                this[this.tableFaktura.Adres_Kor_AgencjiColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidZamowieniaNull() {
                return this.IsNull(this.tableFaktura.idZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidZamowieniaNull() {
                this[this.tableFaktura.idZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyKorektaNull() {
                return this.IsNull(this.tableFaktura.idFakturyKorektaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyKorektaNull() {
                this[this.tableFaktura.idFakturyKorektaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsidFakturyVATNull() {
                return this.IsNull(this.tableFaktura.idFakturyVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetidFakturyVATNull() {
                this[this.tableFaktura.idFakturyVATColumn] = 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 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 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 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 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 ProformaRow : global::System.Data.DataRow {
            
            private ProformaDataTable tableProforma;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ProformaRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableProforma = ((ProformaDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableProforma.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FAKTURY {
                get {
                    return ((int)(this[this.tableProforma.ID_FAKTURYColumn]));
                }
                set {
                    this[this.tableProforma.ID_FAKTURYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableProforma.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableProforma.NUMER_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.NUMER_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_ROK {
                get {
                    try {
                        return ((int)(this[this.tableProforma.NUMER_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.NUMER_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MIEJSCOWOSC_WYSTAWIENIA {
                get {
                    try {
                        return ((string)(this[this.tableProforma.MIEJSCOWOSC_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MIEJSCOWOSC_WYSTAWIENIA\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.MIEJSCOWOSC_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_SPRZEDAWCY {
                get {
                    try {
                        return ((int)(this[this.tableProforma.ID_SPRZEDAWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_SPRZEDAWCY\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ID_SPRZEDAWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_NABYWCY {
                get {
                    try {
                        return ((int)(this[this.tableProforma.ID_NABYWCYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_NABYWCY\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ID_NABYWCYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_SPRZEDAZY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.DATA_SPRZEDAZYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_SPRZEDAZY\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.DATA_SPRZEDAZYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PODPIS_WYSTAWIL {
                get {
                    try {
                        return ((string)(this[this.tableProforma.PODPIS_WYSTAWILColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODPIS_WYSTAWIL\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.PODPIS_WYSTAWILColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PODPIS_ODEBRAL {
                get {
                    try {
                        return ((string)(this[this.tableProforma.PODPIS_ODEBRALColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODPIS_ODEBRAL\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.PODPIS_ODEBRALColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string opis {
                get {
                    try {
                        return ((string)(this[this.tableProforma.opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'opis\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPOSOB_ZAPLATY {
                get {
                    try {
                        return ((string)(this[this.tableProforma.SPOSOB_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPOSOB_ZAPLATY\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.SPOSOB_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool ZAPLACONO {
                get {
                    try {
                        return ((bool)(this[this.tableProforma.ZAPLACONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ZAPLACONO\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ZAPLACONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool BYL_WYDRUK {
                get {
                    try {
                        return ((bool)(this[this.tableProforma.BYL_WYDRUKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BYL_WYDRUK\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.BYL_WYDRUKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NABYWCA_ADRES {
                get {
                    try {
                        return ((string)(this[this.tableProforma.NABYWCA_ADRESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NABYWCA_ADRES\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.NABYWCA_ADRESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPRZEDAWCA_ADRES {
                get {
                    try {
                        return ((string)(this[this.tableProforma.SPRZEDAWCA_ADRESColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPRZEDAWCA_ADRES\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.SPRZEDAWCA_ADRESColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SPRZEDAWCA_NIP {
                get {
                    try {
                        return ((string)(this[this.tableProforma.SPRZEDAWCA_NIPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPRZEDAWCA_NIP\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.SPRZEDAWCA_NIPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NABYWCA_NIP {
                get {
                    try {
                        return ((string)(this[this.tableProforma.NABYWCA_NIPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NABYWCA_NIP\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.NABYWCA_NIPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short FAKTURA_TYP {
                get {
                    try {
                        return ((short)(this[this.tableProforma.FAKTURA_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA_TYP\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.FAKTURA_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short FAKTURA_PODTYP {
                get {
                    try {
                        return ((short)(this[this.tableProforma.FAKTURA_PODTYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA_PODTYP\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.FAKTURA_PODTYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_KONTA {
                get {
                    try {
                        return ((short)(this[this.tableProforma.ID_KONTAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_KONTA\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ID_KONTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool EKSPORT {
                get {
                    return ((bool)(this[this.tableProforma.EKSPORTColumn]));
                }
                set {
                    this[this.tableProforma.EKSPORTColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool EXPORTED {
                get {
                    return ((bool)(this[this.tableProforma.EXPORTEDColumn]));
                }
                set {
                    this[this.tableProforma.EXPORTEDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short ID_TYTUL {
                get {
                    try {
                        return ((short)(this[this.tableProforma.ID_TYTULColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_TYTUL\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ID_TYTULColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime EXPORTED_DATA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.EXPORTED_DATAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'EXPORTED_DATA\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.EXPORTED_DATAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal suma_zaplat {
                get {
                    try {
                        return ((decimal)(this[this.tableProforma.suma_zaplatColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'suma_zaplat\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.suma_zaplatColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ID_FK_KOR {
                get {
                    try {
                        return ((int)(this[this.tableProforma.ID_FK_KORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID_FK_KOR\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.ID_FK_KORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte KOREKTA {
                get {
                    return ((byte)(this[this.tableProforma.KOREKTAColumn]));
                }
                set {
                    this[this.tableProforma.KOREKTAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime zaplata_data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.zaplata_dataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_data\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.zaplata_dataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zaplata_opis {
                get {
                    try {
                        return ((string)(this[this.tableProforma.zaplata_opisColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zaplata_opis\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.zaplata_opisColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal Zaliczka_Brutto {
                get {
                    try {
                        return ((decimal)(this[this.tableProforma.Zaliczka_BruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Brutto\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.Zaliczka_BruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime Zaliczka_Data {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.Zaliczka_DataColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Zaliczka_Data\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.Zaliczka_DataColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_brutto {
                get {
                    try {
                        return ((double)(this[this.tableProforma.waluta_bruttoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_brutto\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.waluta_bruttoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_miano {
                get {
                    try {
                        return ((string)(this[this.tableProforma.waluta_mianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_miano\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.waluta_mianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double waluta_kurs {
                get {
                    try {
                        return ((double)(this[this.tableProforma.waluta_kursColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_kurs\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.waluta_kursColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int waluta_przelicznik {
                get {
                    try {
                        return ((int)(this[this.tableProforma.waluta_przelicznikColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_przelicznik\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.waluta_przelicznikColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime waluta_kurs_z_dnia {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableProforma.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 \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.waluta_kurs_z_dniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string waluta_tabela_nr {
                get {
                    try {
                        return ((string)(this[this.tableProforma.waluta_tabela_nrColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'waluta_tabela_nr\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.waluta_tabela_nrColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KONTO {
                get {
                    try {
                        return ((string)(this[this.tableProforma.KONTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KONTO\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.KONTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string HASŁO_REKLAMOWE {
                get {
                    try {
                        return ((string)(this[this.tableProforma.HASŁO_REKLAMOWEColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'HASŁO REKLAMOWE\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.HASŁO_REKLAMOWEColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string RejestrFaktur_Symbol {
                get {
                    try {
                        return ((string)(this[this.tableProforma.RejestrFaktur_SymbolColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RejestrFaktur_Symbol\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.RejestrFaktur_SymbolColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Kor {
                get {
                    try {
                        return ((string)(this[this.tableProforma.Adres_KorColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Kor\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.Adres_KorColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Kor_Agencji {
                get {
                    try {
                        return ((string)(this[this.tableProforma.Adres_Kor_AgencjiColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Kor_Agencji\' in table \'Proforma\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableProforma.Adres_Kor_AgencjiColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableProforma.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableProforma.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableProforma.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableProforma.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZNull() {
                return this.IsNull(this.tableProforma.NUMER_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZNull() {
                this[this.tableProforma.NUMER_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROKNull() {
                return this.IsNull(this.tableProforma.NUMER_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROKNull() {
                this[this.tableProforma.NUMER_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableProforma.DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_WYSTAWIENIANull() {
                this[this.tableProforma.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMIEJSCOWOSC_WYSTAWIENIANull() {
                return this.IsNull(this.tableProforma.MIEJSCOWOSC_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMIEJSCOWOSC_WYSTAWIENIANull() {
                this[this.tableProforma.MIEJSCOWOSC_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_SPRZEDAWCYNull() {
                return this.IsNull(this.tableProforma.ID_SPRZEDAWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_SPRZEDAWCYNull() {
                this[this.tableProforma.ID_SPRZEDAWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_NABYWCYNull() {
                return this.IsNull(this.tableProforma.ID_NABYWCYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_NABYWCYNull() {
                this[this.tableProforma.ID_NABYWCYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_SPRZEDAZYNull() {
                return this.IsNull(this.tableProforma.DATA_SPRZEDAZYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_SPRZEDAZYNull() {
                this[this.tableProforma.DATA_SPRZEDAZYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODPIS_WYSTAWILNull() {
                return this.IsNull(this.tableProforma.PODPIS_WYSTAWILColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODPIS_WYSTAWILNull() {
                this[this.tableProforma.PODPIS_WYSTAWILColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPODPIS_ODEBRALNull() {
                return this.IsNull(this.tableProforma.PODPIS_ODEBRALColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPODPIS_ODEBRALNull() {
                this[this.tableProforma.PODPIS_ODEBRALColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsopisNull() {
                return this.IsNull(this.tableProforma.opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetopisNull() {
                this[this.tableProforma.opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPOSOB_ZAPLATYNull() {
                return this.IsNull(this.tableProforma.SPOSOB_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPOSOB_ZAPLATYNull() {
                this[this.tableProforma.SPOSOB_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableProforma.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableProforma.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZAPLACONONull() {
                return this.IsNull(this.tableProforma.ZAPLACONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZAPLACONONull() {
                this[this.tableProforma.ZAPLACONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBYL_WYDRUKNull() {
                return this.IsNull(this.tableProforma.BYL_WYDRUKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBYL_WYDRUKNull() {
                this[this.tableProforma.BYL_WYDRUKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNABYWCA_ADRESNull() {
                return this.IsNull(this.tableProforma.NABYWCA_ADRESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNABYWCA_ADRESNull() {
                this[this.tableProforma.NABYWCA_ADRESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPRZEDAWCA_ADRESNull() {
                return this.IsNull(this.tableProforma.SPRZEDAWCA_ADRESColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPRZEDAWCA_ADRESNull() {
                this[this.tableProforma.SPRZEDAWCA_ADRESColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPRZEDAWCA_NIPNull() {
                return this.IsNull(this.tableProforma.SPRZEDAWCA_NIPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPRZEDAWCA_NIPNull() {
                this[this.tableProforma.SPRZEDAWCA_NIPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNABYWCA_NIPNull() {
                return this.IsNull(this.tableProforma.NABYWCA_NIPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNABYWCA_NIPNull() {
                this[this.tableProforma.NABYWCA_NIPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_TYPNull() {
                return this.IsNull(this.tableProforma.FAKTURA_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_TYPNull() {
                this[this.tableProforma.FAKTURA_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_PODTYPNull() {
                return this.IsNull(this.tableProforma.FAKTURA_PODTYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_PODTYPNull() {
                this[this.tableProforma.FAKTURA_PODTYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_KONTANull() {
                return this.IsNull(this.tableProforma.ID_KONTAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_KONTANull() {
                this[this.tableProforma.ID_KONTAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_TYTULNull() {
                return this.IsNull(this.tableProforma.ID_TYTULColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_TYTULNull() {
                this[this.tableProforma.ID_TYTULColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsEXPORTED_DATANull() {
                return this.IsNull(this.tableProforma.EXPORTED_DATAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetEXPORTED_DATANull() {
                this[this.tableProforma.EXPORTED_DATAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Issuma_zaplatNull() {
                return this.IsNull(this.tableProforma.suma_zaplatColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setsuma_zaplatNull() {
                this[this.tableProforma.suma_zaplatColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_FK_KORNull() {
                return this.IsNull(this.tableProforma.ID_FK_KORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_FK_KORNull() {
                this[this.tableProforma.ID_FK_KORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_dataNull() {
                return this.IsNull(this.tableProforma.zaplata_dataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_dataNull() {
                this[this.tableProforma.zaplata_dataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszaplata_opisNull() {
                return this.IsNull(this.tableProforma.zaplata_opisColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzaplata_opisNull() {
                this[this.tableProforma.zaplata_opisColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_BruttoNull() {
                return this.IsNull(this.tableProforma.Zaliczka_BruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_BruttoNull() {
                this[this.tableProforma.Zaliczka_BruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsZaliczka_DataNull() {
                return this.IsNull(this.tableProforma.Zaliczka_DataColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetZaliczka_DataNull() {
                this[this.tableProforma.Zaliczka_DataColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_bruttoNull() {
                return this.IsNull(this.tableProforma.waluta_bruttoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_bruttoNull() {
                this[this.tableProforma.waluta_bruttoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_mianoNull() {
                return this.IsNull(this.tableProforma.waluta_mianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_mianoNull() {
                this[this.tableProforma.waluta_mianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kursNull() {
                return this.IsNull(this.tableProforma.waluta_kursColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kursNull() {
                this[this.tableProforma.waluta_kursColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_przelicznikNull() {
                return this.IsNull(this.tableProforma.waluta_przelicznikColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_przelicznikNull() {
                this[this.tableProforma.waluta_przelicznikColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_kurs_z_dniaNull() {
                return this.IsNull(this.tableProforma.waluta_kurs_z_dniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_kurs_z_dniaNull() {
                this[this.tableProforma.waluta_kurs_z_dniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswaluta_tabela_nrNull() {
                return this.IsNull(this.tableProforma.waluta_tabela_nrColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwaluta_tabela_nrNull() {
                this[this.tableProforma.waluta_tabela_nrColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKONTONull() {
                return this.IsNull(this.tableProforma.KONTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKONTONull() {
                this[this.tableProforma.KONTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsHASŁO_REKLAMOWENull() {
                return this.IsNull(this.tableProforma.HASŁO_REKLAMOWEColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetHASŁO_REKLAMOWENull() {
                this[this.tableProforma.HASŁO_REKLAMOWEColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRejestrFaktur_SymbolNull() {
                return this.IsNull(this.tableProforma.RejestrFaktur_SymbolColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRejestrFaktur_SymbolNull() {
                this[this.tableProforma.RejestrFaktur_SymbolColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_KorNull() {
                return this.IsNull(this.tableProforma.Adres_KorColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_KorNull() {
                this[this.tableProforma.Adres_KorColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_Kor_AgencjiNull() {
                return this.IsNull(this.tableProforma.Adres_Kor_AgencjiColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_Kor_AgencjiNull() {
                this[this.tableProforma.Adres_Kor_AgencjiColumn] = 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 ZamowienieRow : global::System.Data.DataRow {
            
            private ZamowienieDataTable tableZamowienie;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal ZamowienieRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableZamowienie = ((ZamowienieDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUŁ {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.TYTUŁColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUŁ\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.TYTUŁColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string STRONA {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.STRONAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STRONA\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double CENA_JEDN {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.CENA_JEDNColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA JEDN\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.CENA_JEDNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SZER {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.SZERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SZER\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.SZERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double WYS {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.WYSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WYS\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.WYSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAMÓWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZamowienie.DATA_ZAMÓWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAMÓWIENIA\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.DATA_ZAMÓWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KOLOR {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.KOLORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KOLOR\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.KOLORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.RABATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.RABATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT_WARTOŚĆ {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.RABAT_WARTOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT WARTOŚĆ\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.RABAT_WARTOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short KROTNOŚĆ {
                get {
                    try {
                        return ((short)(this[this.tableZamowienie.KROTNOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KROTNOŚĆ\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.KROTNOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NETTO {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double VAT {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PVAT {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.PVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PVAT\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.PVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string INFO {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.INFOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'INFO\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.INFOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double BRUTTO {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Imię {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.ImięColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Imię\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.ImięColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Nazwisko {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.NazwiskoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Nazwisko\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.NazwiskoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Fkatura {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.Adres_FkaturaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Fkatura\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.Adres_FkaturaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Nip {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.NipColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Nip\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.NipColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ulica {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.ulicaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ulica\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.ulicaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kod {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.kodColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kod\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.kodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string miasto {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.miastoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'miasto\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.miastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string telefon {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.telefonColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'telefon\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.telefonColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string fax {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.faxColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'fax\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.faxColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool FAKTURA_WYSTAWIONO {
                get {
                    try {
                        return ((bool)(this[this.tableZamowienie.FAKTURA_WYSTAWIONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA WYSTAWIONO\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.FAKTURA_WYSTAWIONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KONTO {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.KONTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KONTO\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.KONTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zam_notatka {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.zam_notatkaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zam_notatka\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.zam_notatkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Brutto_Euro {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.Brutto_EuroColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.Brutto_EuroColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Brutto_Euro_Miano {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.Brutto_Euro_MianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro_Miano\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.Brutto_Euro_MianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZamowienie.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte SPOSOB_ZAPLATY {
                get {
                    try {
                        return ((byte)(this[this.tableZamowienie.SPOSOB_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPOSOB_ZAPLATY\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.SPOSOB_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER {
                get {
                    try {
                        return ((int)(this[this.tableZamowienie.NUMERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.NUMERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NUMER_ROZ {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.NUMER_ROZColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROZ\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.NUMER_ROZColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int NUMER_ROK {
                get {
                    try {
                        return ((int)(this[this.tableZamowienie.NUMER_ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NUMER_ROK\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.NUMER_ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_WYSTAWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZamowienie.DATA_WYSTAWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA_WYSTAWIENIA\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.DATA_WYSTAWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double wyroznienie_kwota {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie.wyroznienie_kwotaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wyroznienie_kwota\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.wyroznienie_kwotaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie {
                get {
                    return ((bool)(this[this.tableZamowienie.wyroznienieColumn]));
                }
                set {
                    this[this.tableZamowienie.wyroznienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nipKraj {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.nipKrajColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nipKraj\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.nipKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MOD_TYP {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.MOD_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MOD_TYP\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.MOD_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string adres_biura {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.adres_biuraColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'adres_biura\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.adres_biuraColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string emisje {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie.emisjeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'emisje\' in table \'Zamowienie\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie.emisjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableZamowienie.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableZamowienie.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTUŁNull() {
                return this.IsNull(this.tableZamowienie.TYTUŁColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTUŁNull() {
                this[this.tableZamowienie.TYTUŁColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTRONANull() {
                return this.IsNull(this.tableZamowienie.STRONAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTRONANull() {
                this[this.tableZamowienie.STRONAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_JEDNNull() {
                return this.IsNull(this.tableZamowienie.CENA_JEDNColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_JEDNNull() {
                this[this.tableZamowienie.CENA_JEDNColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSZERNull() {
                return this.IsNull(this.tableZamowienie.SZERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSZERNull() {
                this[this.tableZamowienie.SZERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWYSNull() {
                return this.IsNull(this.tableZamowienie.WYSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWYSNull() {
                this[this.tableZamowienie.WYSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAMÓWIENIANull() {
                return this.IsNull(this.tableZamowienie.DATA_ZAMÓWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAMÓWIENIANull() {
                this[this.tableZamowienie.DATA_ZAMÓWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKOLORNull() {
                return this.IsNull(this.tableZamowienie.KOLORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKOLORNull() {
                this[this.tableZamowienie.KOLORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABATNull() {
                return this.IsNull(this.tableZamowienie.RABATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABATNull() {
                this[this.tableZamowienie.RABATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABAT_WARTOŚĆNull() {
                return this.IsNull(this.tableZamowienie.RABAT_WARTOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABAT_WARTOŚĆNull() {
                this[this.tableZamowienie.RABAT_WARTOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKROTNOŚĆNull() {
                return this.IsNull(this.tableZamowienie.KROTNOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKROTNOŚĆNull() {
                this[this.tableZamowienie.KROTNOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableZamowienie.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableZamowienie.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableZamowienie.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableZamowienie.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPVATNull() {
                return this.IsNull(this.tableZamowienie.PVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPVATNull() {
                this[this.tableZamowienie.PVATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsINFONull() {
                return this.IsNull(this.tableZamowienie.INFOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetINFONull() {
                this[this.tableZamowienie.INFOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableZamowienie.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableZamowienie.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsImięNull() {
                return this.IsNull(this.tableZamowienie.ImięColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetImięNull() {
                this[this.tableZamowienie.ImięColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNazwiskoNull() {
                return this.IsNull(this.tableZamowienie.NazwiskoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNazwiskoNull() {
                this[this.tableZamowienie.NazwiskoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_FkaturaNull() {
                return this.IsNull(this.tableZamowienie.Adres_FkaturaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_FkaturaNull() {
                this[this.tableZamowienie.Adres_FkaturaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNipNull() {
                return this.IsNull(this.tableZamowienie.NipColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNipNull() {
                this[this.tableZamowienie.NipColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsulicaNull() {
                return this.IsNull(this.tableZamowienie.ulicaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetulicaNull() {
                this[this.tableZamowienie.ulicaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodNull() {
                return this.IsNull(this.tableZamowienie.kodColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodNull() {
                this[this.tableZamowienie.kodColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsmiastoNull() {
                return this.IsNull(this.tableZamowienie.miastoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetmiastoNull() {
                this[this.tableZamowienie.miastoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IstelefonNull() {
                return this.IsNull(this.tableZamowienie.telefonColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SettelefonNull() {
                this[this.tableZamowienie.telefonColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsfaxNull() {
                return this.IsNull(this.tableZamowienie.faxColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetfaxNull() {
                this[this.tableZamowienie.faxColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_WYSTAWIONONull() {
                return this.IsNull(this.tableZamowienie.FAKTURA_WYSTAWIONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_WYSTAWIONONull() {
                this[this.tableZamowienie.FAKTURA_WYSTAWIONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKONTONull() {
                return this.IsNull(this.tableZamowienie.KONTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKONTONull() {
                this[this.tableZamowienie.KONTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszam_notatkaNull() {
                return this.IsNull(this.tableZamowienie.zam_notatkaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzam_notatkaNull() {
                this[this.tableZamowienie.zam_notatkaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_EuroNull() {
                return this.IsNull(this.tableZamowienie.Brutto_EuroColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_EuroNull() {
                this[this.tableZamowienie.Brutto_EuroColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_Euro_MianoNull() {
                return this.IsNull(this.tableZamowienie.Brutto_Euro_MianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_Euro_MianoNull() {
                this[this.tableZamowienie.Brutto_Euro_MianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableZamowienie.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableZamowienie.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPOSOB_ZAPLATYNull() {
                return this.IsNull(this.tableZamowienie.SPOSOB_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPOSOB_ZAPLATYNull() {
                this[this.tableZamowienie.SPOSOB_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMERNull() {
                return this.IsNull(this.tableZamowienie.NUMERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMERNull() {
                this[this.tableZamowienie.NUMERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROZNull() {
                return this.IsNull(this.tableZamowienie.NUMER_ROZColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROZNull() {
                this[this.tableZamowienie.NUMER_ROZColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNUMER_ROKNull() {
                return this.IsNull(this.tableZamowienie.NUMER_ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNUMER_ROKNull() {
                this[this.tableZamowienie.NUMER_ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_WYSTAWIENIANull() {
                return this.IsNull(this.tableZamowienie.DATA_WYSTAWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_WYSTAWIENIANull() {
                this[this.tableZamowienie.DATA_WYSTAWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswyroznienie_kwotaNull() {
                return this.IsNull(this.tableZamowienie.wyroznienie_kwotaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwyroznienie_kwotaNull() {
                this[this.tableZamowienie.wyroznienie_kwotaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnipKrajNull() {
                return this.IsNull(this.tableZamowienie.nipKrajColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnipKrajNull() {
                this[this.tableZamowienie.nipKrajColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMOD_TYPNull() {
                return this.IsNull(this.tableZamowienie.MOD_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMOD_TYPNull() {
                this[this.tableZamowienie.MOD_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isadres_biuraNull() {
                return this.IsNull(this.tableZamowienie.adres_biuraColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setadres_biuraNull() {
                this[this.tableZamowienie.adres_biuraColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsemisjeNull() {
                return this.IsNull(this.tableZamowienie.emisjeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetemisjeNull() {
                this[this.tableZamowienie.emisjeColumn] = 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 FAKTURA_DETAILS2Row : global::System.Data.DataRow {
            
            private FAKTURA_DETAILS2DataTable tableFAKTURA_DETAILS2;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal FAKTURA_DETAILS2Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableFAKTURA_DETAILS2 = ((FAKTURA_DETAILS2DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string JM {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURA_DETAILS2.JMColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'JM\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.JMColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ILOSC {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS2.ILOSCColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ILOSC\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.ILOSCColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal NETTO {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS2.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double S_VAT {
                get {
                    try {
                        return ((double)(this[this.tableFAKTURA_DETAILS2.S_VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'S_VAT\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.S_VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal BRUTTO {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS2.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal VAT {
                get {
                    try {
                        return ((decimal)(this[this.tableFAKTURA_DETAILS2.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string SYMB {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURA_DETAILS2.SYMBColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SYMB\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.SYMBColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short NR_WYDANIA {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS2.NR_WYDANIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NR_WYDANIA\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.NR_WYDANIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string NAZWA_USLUGI {
                get {
                    try {
                        return ((string)(this[this.tableFAKTURA_DETAILS2.NAZWA_USLUGIColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NAZWA_USLUGI\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.NAZWA_USLUGIColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short MIESIAC {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS2.MIESIACColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MIESIAC\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.MIESIACColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int ROK {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS2.ROKColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.ROKColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int reklamaId {
                get {
                    try {
                        return ((int)(this[this.tableFAKTURA_DETAILS2.reklamaIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'reklamaId\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.reklamaIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short TYP {
                get {
                    try {
                        return ((short)(this[this.tableFAKTURA_DETAILS2.TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYP\' in table \'FAKTURA_DETAILS2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableFAKTURA_DETAILS2.TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsJMNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.JMColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetJMNull() {
                this[this.tableFAKTURA_DETAILS2.JMColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsILOSCNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.ILOSCColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetILOSCNull() {
                this[this.tableFAKTURA_DETAILS2.ILOSCColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableFAKTURA_DETAILS2.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsS_VATNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.S_VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetS_VATNull() {
                this[this.tableFAKTURA_DETAILS2.S_VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableFAKTURA_DETAILS2.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableFAKTURA_DETAILS2.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSYMBNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.SYMBColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSYMBNull() {
                this[this.tableFAKTURA_DETAILS2.SYMBColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNR_WYDANIANull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.NR_WYDANIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNR_WYDANIANull() {
                this[this.tableFAKTURA_DETAILS2.NR_WYDANIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNAZWA_USLUGINull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.NAZWA_USLUGIColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNAZWA_USLUGINull() {
                this[this.tableFAKTURA_DETAILS2.NAZWA_USLUGIColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMIESIACNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.MIESIACColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMIESIACNull() {
                this[this.tableFAKTURA_DETAILS2.MIESIACColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsROKNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.ROKColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetROKNull() {
                this[this.tableFAKTURA_DETAILS2.ROKColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsreklamaIdNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.reklamaIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetreklamaIdNull() {
                this[this.tableFAKTURA_DETAILS2.reklamaIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYPNull() {
                return this.IsNull(this.tableFAKTURA_DETAILS2.TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYPNull() {
                this[this.tableFAKTURA_DETAILS2.TYPColumn] = 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 Zamowienie2Row : global::System.Data.DataRow {
            
            private Zamowienie2DataTable tableZamowienie2;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Zamowienie2Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableZamowienie2 = ((Zamowienie2DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID_REKLAMY {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.ID_REKLAMYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID REKLAMY\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.ID_REKLAMYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TYTUŁ {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.TYTUŁColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TYTUŁ\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.TYTUŁColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string STRONA {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.STRONAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'STRONA\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.STRONAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double CENA_JEDN {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.CENA_JEDNColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'CENA JEDN\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.CENA_JEDNColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double SZER {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.SZERColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SZER\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.SZERColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double WYS {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.WYSColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'WYS\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.WYSColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime DATA_ZAMÓWIENIA {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZamowienie2.DATA_ZAMÓWIENIAColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'DATA ZAMÓWIENIA\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.DATA_ZAMÓWIENIAColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string KOLOR {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.KOLORColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KOLOR\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.KOLORColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.RABATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.RABATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double RABAT_WARTOŚĆ {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.RABAT_WARTOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'RABAT WARTOŚĆ\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.RABAT_WARTOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short KROTNOŚĆ {
                get {
                    try {
                        return ((short)(this[this.tableZamowienie2.KROTNOŚĆColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'KROTNOŚĆ\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.KROTNOŚĆColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double NETTO {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.NETTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.NETTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double VAT {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.VATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'VAT\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.VATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double PVAT {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.PVATColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PVAT\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.PVATColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string INFO {
                get {
                    if (this.IsINFONull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableZamowienie2.INFOColumn]));
                    }
                }
                set {
                    this[this.tableZamowienie2.INFOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double BRUTTO {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.BRUTTOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.BRUTTOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Imię {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.ImięColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Imię\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.ImięColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Nazwisko {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.NazwiskoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Nazwisko\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.NazwiskoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Adres_Fkatura {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.Adres_FkaturaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Adres_Fkatura\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.Adres_FkaturaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Nip {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.NipColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Nip\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.NipColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nipKraj {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.nipKrajColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nipKraj\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.nipKrajColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ulica {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.ulicaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ulica\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.ulicaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string kod {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.kodColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'kod\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.kodColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string miasto {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.miastoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'miasto\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.miastoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string telefon {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.telefonColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'telefon\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.telefonColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string fax {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.faxColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'fax\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.faxColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool FAKTURA_WYSTAWIONO {
                get {
                    try {
                        return ((bool)(this[this.tableZamowienie2.FAKTURA_WYSTAWIONOColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'FAKTURA WYSTAWIONO\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.FAKTURA_WYSTAWIONOColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime TERMIN_ZAPLATY {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableZamowienie2.TERMIN_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TERMIN_ZAPLATY\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.TERMIN_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte SPOSOB_ZAPLATY {
                get {
                    try {
                        return ((byte)(this[this.tableZamowienie2.SPOSOB_ZAPLATYColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SPOSOB_ZAPLATY\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.SPOSOB_ZAPLATYColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string zam_notatka {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.zam_notatkaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'zam_notatka\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.zam_notatkaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string adres_biura {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.adres_biuraColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'adres_biura\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.adres_biuraColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double Brutto_Euro {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.Brutto_EuroColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.Brutto_EuroColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Brutto_Euro_Miano {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.Brutto_Euro_MianoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Brutto_Euro_Miano\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.Brutto_Euro_MianoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double wyroznienie_kwota {
                get {
                    try {
                        return ((double)(this[this.tableZamowienie2.wyroznienie_kwotaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wyroznienie_kwota\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.wyroznienie_kwotaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool wyroznienie {
                get {
                    try {
                        return ((bool)(this[this.tableZamowienie2.wyroznienieColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'wyroznienie\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.wyroznienieColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string MOD_TYP {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.MOD_TYPColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'MOD_TYP\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.MOD_TYPColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string emisje {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.emisjeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'emisje\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.emisjeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string nrZamowienia {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.nrZamowieniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'nrZamowienia\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.nrZamowieniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public short rodzajFakturowania {
                get {
                    try {
                        return ((short)(this[this.tableZamowienie2.rodzajFakturowaniaColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'rodzajFakturowania\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.rodzajFakturowaniaColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string typProd {
                get {
                    try {
                        return ((string)(this[this.tableZamowienie2.typProdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'typProd\' in table \'Zamowienie2\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableZamowienie2.typProdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsID_REKLAMYNull() {
                return this.IsNull(this.tableZamowienie2.ID_REKLAMYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetID_REKLAMYNull() {
                this[this.tableZamowienie2.ID_REKLAMYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTYTUŁNull() {
                return this.IsNull(this.tableZamowienie2.TYTUŁColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTYTUŁNull() {
                this[this.tableZamowienie2.TYTUŁColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSTRONANull() {
                return this.IsNull(this.tableZamowienie2.STRONAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSTRONANull() {
                this[this.tableZamowienie2.STRONAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCENA_JEDNNull() {
                return this.IsNull(this.tableZamowienie2.CENA_JEDNColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCENA_JEDNNull() {
                this[this.tableZamowienie2.CENA_JEDNColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSZERNull() {
                return this.IsNull(this.tableZamowienie2.SZERColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSZERNull() {
                this[this.tableZamowienie2.SZERColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsWYSNull() {
                return this.IsNull(this.tableZamowienie2.WYSColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetWYSNull() {
                this[this.tableZamowienie2.WYSColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsDATA_ZAMÓWIENIANull() {
                return this.IsNull(this.tableZamowienie2.DATA_ZAMÓWIENIAColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetDATA_ZAMÓWIENIANull() {
                this[this.tableZamowienie2.DATA_ZAMÓWIENIAColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKOLORNull() {
                return this.IsNull(this.tableZamowienie2.KOLORColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKOLORNull() {
                this[this.tableZamowienie2.KOLORColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABATNull() {
                return this.IsNull(this.tableZamowienie2.RABATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABATNull() {
                this[this.tableZamowienie2.RABATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRABAT_WARTOŚĆNull() {
                return this.IsNull(this.tableZamowienie2.RABAT_WARTOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRABAT_WARTOŚĆNull() {
                this[this.tableZamowienie2.RABAT_WARTOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsKROTNOŚĆNull() {
                return this.IsNull(this.tableZamowienie2.KROTNOŚĆColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetKROTNOŚĆNull() {
                this[this.tableZamowienie2.KROTNOŚĆColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNETTONull() {
                return this.IsNull(this.tableZamowienie2.NETTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNETTONull() {
                this[this.tableZamowienie2.NETTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsVATNull() {
                return this.IsNull(this.tableZamowienie2.VATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetVATNull() {
                this[this.tableZamowienie2.VATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPVATNull() {
                return this.IsNull(this.tableZamowienie2.PVATColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPVATNull() {
                this[this.tableZamowienie2.PVATColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsINFONull() {
                return this.IsNull(this.tableZamowienie2.INFOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetINFONull() {
                this[this.tableZamowienie2.INFOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBRUTTONull() {
                return this.IsNull(this.tableZamowienie2.BRUTTOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBRUTTONull() {
                this[this.tableZamowienie2.BRUTTOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsImięNull() {
                return this.IsNull(this.tableZamowienie2.ImięColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetImięNull() {
                this[this.tableZamowienie2.ImięColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNazwiskoNull() {
                return this.IsNull(this.tableZamowienie2.NazwiskoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNazwiskoNull() {
                this[this.tableZamowienie2.NazwiskoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsAdres_FkaturaNull() {
                return this.IsNull(this.tableZamowienie2.Adres_FkaturaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetAdres_FkaturaNull() {
                this[this.tableZamowienie2.Adres_FkaturaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNipNull() {
                return this.IsNull(this.tableZamowienie2.NipColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNipNull() {
                this[this.tableZamowienie2.NipColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnipKrajNull() {
                return this.IsNull(this.tableZamowienie2.nipKrajColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnipKrajNull() {
                this[this.tableZamowienie2.nipKrajColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsulicaNull() {
                return this.IsNull(this.tableZamowienie2.ulicaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetulicaNull() {
                this[this.tableZamowienie2.ulicaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IskodNull() {
                return this.IsNull(this.tableZamowienie2.kodColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetkodNull() {
                this[this.tableZamowienie2.kodColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsmiastoNull() {
                return this.IsNull(this.tableZamowienie2.miastoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetmiastoNull() {
                this[this.tableZamowienie2.miastoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IstelefonNull() {
                return this.IsNull(this.tableZamowienie2.telefonColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SettelefonNull() {
                this[this.tableZamowienie2.telefonColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsfaxNull() {
                return this.IsNull(this.tableZamowienie2.faxColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetfaxNull() {
                this[this.tableZamowienie2.faxColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFAKTURA_WYSTAWIONONull() {
                return this.IsNull(this.tableZamowienie2.FAKTURA_WYSTAWIONOColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFAKTURA_WYSTAWIONONull() {
                this[this.tableZamowienie2.FAKTURA_WYSTAWIONOColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTERMIN_ZAPLATYNull() {
                return this.IsNull(this.tableZamowienie2.TERMIN_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTERMIN_ZAPLATYNull() {
                this[this.tableZamowienie2.TERMIN_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSPOSOB_ZAPLATYNull() {
                return this.IsNull(this.tableZamowienie2.SPOSOB_ZAPLATYColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSPOSOB_ZAPLATYNull() {
                this[this.tableZamowienie2.SPOSOB_ZAPLATYColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iszam_notatkaNull() {
                return this.IsNull(this.tableZamowienie2.zam_notatkaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setzam_notatkaNull() {
                this[this.tableZamowienie2.zam_notatkaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isadres_biuraNull() {
                return this.IsNull(this.tableZamowienie2.adres_biuraColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setadres_biuraNull() {
                this[this.tableZamowienie2.adres_biuraColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_EuroNull() {
                return this.IsNull(this.tableZamowienie2.Brutto_EuroColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_EuroNull() {
                this[this.tableZamowienie2.Brutto_EuroColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsBrutto_Euro_MianoNull() {
                return this.IsNull(this.tableZamowienie2.Brutto_Euro_MianoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetBrutto_Euro_MianoNull() {
                this[this.tableZamowienie2.Brutto_Euro_MianoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Iswyroznienie_kwotaNull() {
                return this.IsNull(this.tableZamowienie2.wyroznienie_kwotaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setwyroznienie_kwotaNull() {
                this[this.tableZamowienie2.wyroznienie_kwotaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IswyroznienieNull() {
                return this.IsNull(this.tableZamowienie2.wyroznienieColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetwyroznienieNull() {
                this[this.tableZamowienie2.wyroznienieColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMOD_TYPNull() {
                return this.IsNull(this.tableZamowienie2.MOD_TYPColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMOD_TYPNull() {
                this[this.tableZamowienie2.MOD_TYPColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsemisjeNull() {
                return this.IsNull(this.tableZamowienie2.emisjeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetemisjeNull() {
                this[this.tableZamowienie2.emisjeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsnrZamowieniaNull() {
                return this.IsNull(this.tableZamowienie2.nrZamowieniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetnrZamowieniaNull() {
                this[this.tableZamowienie2.nrZamowieniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsrodzajFakturowaniaNull() {
                return this.IsNull(this.tableZamowienie2.rodzajFakturowaniaColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetrodzajFakturowaniaNull() {
                this[this.tableZamowienie2.rodzajFakturowaniaColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IstypProdNull() {
                return this.IsNull(this.tableZamowienie2.typProdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SettypProdNull() {
                this[this.tableZamowienie2.typProdColumn] = 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 InvoiceProviderRow : global::System.Data.DataRow {
            
            private InvoiceProviderDataTable tableInvoiceProvider;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal InvoiceProviderRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableInvoiceProvider = ((InvoiceProviderDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Id {
                get {
                    return ((int)(this[this.tableInvoiceProvider.IdColumn]));
                }
                set {
                    this[this.tableInvoiceProvider.IdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ShortName {
                get {
                    return ((string)(this[this.tableInvoiceProvider.ShortNameColumn]));
                }
                set {
                    this[this.tableInvoiceProvider.ShortNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Name {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.NameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Name\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.NameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Street {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.StreetColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Street\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.StreetColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string City {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.CityColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'City\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.CityColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string PostCode {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.PostCodeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PostCode\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.PostCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Country {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.CountryColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Country\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.CountryColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string Phone {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.PhoneColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'Phone\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.PhoneColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TaxNumber {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.TaxNumberColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TaxNumber\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.TaxNumberColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TaxCountryPrefix {
                get {
                    try {
                        return ((string)(this[this.tableInvoiceProvider.TaxCountryPrefixColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'TaxCountryPrefix\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.TaxCountryPrefixColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte SystemKsiegowyId {
                get {
                    try {
                        return ((byte)(this[this.tableInvoiceProvider.SystemKsiegowyIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'SystemKsiegowyId\' in table \'InvoiceProvider\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableInvoiceProvider.SystemKsiegowyIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsNameNull() {
                return this.IsNull(this.tableInvoiceProvider.NameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetNameNull() {
                this[this.tableInvoiceProvider.NameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsStreetNull() {
                return this.IsNull(this.tableInvoiceProvider.StreetColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetStreetNull() {
                this[this.tableInvoiceProvider.StreetColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCityNull() {
                return this.IsNull(this.tableInvoiceProvider.CityColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCityNull() {
                this[this.tableInvoiceProvider.CityColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPostCodeNull() {
                return this.IsNull(this.tableInvoiceProvider.PostCodeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPostCodeNull() {
                this[this.tableInvoiceProvider.PostCodeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsCountryNull() {
                return this.IsNull(this.tableInvoiceProvider.CountryColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetCountryNull() {
                this[this.tableInvoiceProvider.CountryColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsPhoneNull() {
                return this.IsNull(this.tableInvoiceProvider.PhoneColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetPhoneNull() {
                this[this.tableInvoiceProvider.PhoneColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTaxNumberNull() {
                return this.IsNull(this.tableInvoiceProvider.TaxNumberColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTaxNumberNull() {
                this[this.tableInvoiceProvider.TaxNumberColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTaxCountryPrefixNull() {
                return this.IsNull(this.tableInvoiceProvider.TaxCountryPrefixColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTaxCountryPrefixNull() {
                this[this.tableInvoiceProvider.TaxCountryPrefixColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsSystemKsiegowyIdNull() {
                return this.IsNull(this.tableInvoiceProvider.SystemKsiegowyIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetSystemKsiegowyIdNull() {
                this[this.tableInvoiceProvider.SystemKsiegowyIdColumn] = 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 emisjeRow : global::System.Data.DataRow {
            
            private emisjeDataTable tableemisje;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal emisjeRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableemisje = ((emisjeDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string ID {
                get {
                    try {
                        return ((string)(this[this.tableemisje.IDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'ID\' in table \'emisje\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tableemisje.IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsIDNull() {
                return this.IsNull(this.tableemisje.IDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetIDNull() {
                this[this.tableemisje.IDColumn] = 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 FakturaRowChangeEvent : global::System.EventArgs {
            
            private FakturaRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaRowChangeEvent(FakturaRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FakturaRow 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 ProformaRowChangeEvent : global::System.EventArgs {
            
            private ProformaRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaRowChangeEvent(ProformaRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ProformaRow 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 ZamowienieRowChangeEvent : global::System.EventArgs {
            
            private ZamowienieRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZamowienieRowChangeEvent(ZamowienieRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public ZamowienieRow 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_DETAILS2RowChangeEvent : global::System.EventArgs {
            
            private FAKTURA_DETAILS2Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILS2RowChangeEvent(FAKTURA_DETAILS2Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public FAKTURA_DETAILS2Row 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 Zamowienie2RowChangeEvent : global::System.EventArgs {
            
            private Zamowienie2Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Zamowienie2RowChangeEvent(Zamowienie2Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Zamowienie2Row 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 InvoiceProviderRowChangeEvent : global::System.EventArgs {
            
            private InvoiceProviderRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderRowChangeEvent(InvoiceProviderRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public InvoiceProviderRow 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 emisjeRowChangeEvent : global::System.EventArgs {
            
            private emisjeRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public emisjeRowChangeEvent(emisjeRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public emisjeRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace Baza_Reklam.raportyTableAdapters {
    
    
    /// <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 FakturaTableAdapter : 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 FakturaTableAdapter() {
            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";
            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("KONTO", "KONTO");
            tableMapping.ColumnMappings.Add("HASŁO REKLAMOWE", "HASŁO REKLAMOWE");
            tableMapping.ColumnMappings.Add("RejestrFaktur_Symbol", "RejestrFaktur_Symbol");
            tableMapping.ColumnMappings.Add("Adres_Kor", "Adres_Kor");
            tableMapping.ColumnMappings.Add("Adres_Kor_Agencji", "Adres_Kor_Agencji");
            tableMapping.ColumnMappings.Add("KOREKTA", "KOREKTA");
            tableMapping.ColumnMappings.Add("idZamowienia", "idZamowienia");
            tableMapping.ColumnMappings.Add("idFakturyKorekta", "idFakturyKorekta");
            tableMapping.ColumnMappings.Add("idFakturyVAT", "idFakturyVAT");
            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.Baza_ReklamConnectionString;
        }
        
        [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     F.ID_FAKTURY, F.NUMER, F.NUMER_ROZ, F.NUMER_ROK, F.DATA_WYSTAWIENIA, F.MIEJSCOWOSC_WYSTAWIENIA, F.ID_SPRZEDAWCY, 
                      F.ID_NABYWCY, F.DATA_SPRZEDAZY, F.PODPIS_WYSTAWIL, F.PODPIS_ODEBRAL, F.opis, F.SPOSOB_ZAPLATY, F.TERMIN_ZAPLATY, 
                      F.ZAPLACONO, F.BYL_WYDRUK, F.NABYWCA_ADRES, F.SPRZEDAWCA_ADRES, F.SPRZEDAWCA_NIP, F.NABYWCA_NIP, F.FAKTURA_TYP, 
                      F.FAKTURA_PODTYP, F.ID_KONTA, F.EKSPORT, F.EXPORTED, F.ID_TYTUL, F.EXPORTED_DATA, F.suma_zaplat, F.ID_FK_KOR, F.zaplata_data, 
                      F.zaplata_opis, F.Zaliczka_Brutto, F.Zaliczka_Data, F.waluta_brutto, F.waluta_miano, F.waluta_kurs, F.waluta_przelicznik, F.waluta_kurs_z_dnia, 
                      F.waluta_tabela_nr, K.KONTO, T.[HASŁO REKLAMOWE], a.RejestrFaktur_Symbol, K2.Adres_Kor, a.Adres_Kor AS Adres_Kor_Agencji, F.idZamowienia, 
                      F.KOREKTA, F.idFakturyKorekta, F.idFakturyVAT
FROM         FAKTURY AS F LEFT OUTER JOIN
                      KONTA AS K ON K.id = F.ID_KONTA LEFT OUTER JOIN
                      [LISTA TYTUŁÓW] AS T ON F.ID_TYTUL = T.id LEFT OUTER JOIN
                      AGENCJE AS a ON F.ID_SPRZEDAWCY = a.Id_agencji LEFT OUTER JOIN
                      KLIENCI AS K2 ON K2.CustomerID = F.ID_NABYWCY
WHERE     (F.ID_FAKTURY = @idFaktury)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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 FillByIdFaktury(raporty.FakturaDataTable dataTable, int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.FakturaDataTable GetDataByIdFaktury(int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury));
            raporty.FakturaDataTable dataTable = new raporty.FakturaDataTable();
            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 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("ReklamaId", "ReklamaId");
            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.Baza_ReklamConnectionString;
        }
        
        [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_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, ReklamaId
FROM            FAKTURA_DETAILS
WHERE        (ID_FAKTURY = @idFaktury)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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 FillByIdFaktury(raporty.FAKTURA_DETAILSDataTable dataTable, global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.FAKTURA_DETAILSDataTable GetDataByIdFaktury(global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((idFaktury.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            raporty.FAKTURA_DETAILSDataTable dataTable = new raporty.FAKTURA_DETAILSDataTable();
            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 ProformaTableAdapter : 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 ProformaTableAdapter() {
            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 = "Proforma";
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            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("KOREKTA", "KOREKTA");
            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("KONTO", "KONTO");
            tableMapping.ColumnMappings.Add("HASŁO REKLAMOWE", "HASŁO REKLAMOWE");
            tableMapping.ColumnMappings.Add("RejestrFaktur_Symbol", "RejestrFaktur_Symbol");
            tableMapping.ColumnMappings.Add("Adres_Kor", "Adres_Kor");
            tableMapping.ColumnMappings.Add("Adres_Kor_Agencji", "Adres_Kor_Agencji");
            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.Baza_ReklamConnectionString;
        }
        
        [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        R.[ID REKLAMY], F.ID_FAKTURY, F.NUMER, F.NUMER_ROZ, F.NUMER_ROK, F.DATA_WYSTAWIENIA, F.MIEJSCOWOSC_WYSTAWIENIA, 
                         F.ID_SPRZEDAWCY, F.ID_NABYWCY, F.DATA_SPRZEDAZY, F.PODPIS_WYSTAWIL, F.PODPIS_ODEBRAL, F.opis, F.SPOSOB_ZAPLATY, 
                         F.TERMIN_ZAPLATY, F.ZAPLACONO, F.BYL_WYDRUK, F.NABYWCA_ADRES, F.SPRZEDAWCA_ADRES, F.SPRZEDAWCA_NIP, F.NABYWCA_NIP, 
                         F.FAKTURA_TYP, F.FAKTURA_PODTYP, F.ID_KONTA, F.EKSPORT, F.EXPORTED, F.ID_TYTUL, F.EXPORTED_DATA, F.suma_zaplat, F.ID_FK_KOR, 
                         F.KOREKTA, F.zaplata_data, F.zaplata_opis, F.Zaliczka_Brutto, F.Zaliczka_Data, F.waluta_brutto, F.waluta_miano, F.waluta_kurs, F.waluta_przelicznik, 
                         F.waluta_kurs_z_dnia, F.waluta_tabela_nr, K.KONTO, T.[HASŁO REKLAMOWE], a.RejestrFaktur_Symbol, K2.Adres_Kor, 
                         a.Adres_Kor AS Adres_Kor_Agencji
FROM            REKLAMA AS R RIGHT OUTER JOIN
                         FAKTURY AS F ON R.ID_FAKTURY = F.ID_FAKTURY LEFT OUTER JOIN
                         KONTA AS K ON K.id = F.ID_KONTA LEFT OUTER JOIN
                         [LISTA TYTUŁÓW] AS T ON F.ID_TYTUL = T.id LEFT OUTER JOIN
                         AGENCJE AS a ON F.ID_SPRZEDAWCY = a.Id_agencji LEFT OUTER JOIN
                         KLIENCI AS K2 ON K2.CustomerID = F.ID_NABYWCY
WHERE        (F.ID_FAKTURY = @idFaktury)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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 FillByIdFaktury(raporty.ProformaDataTable dataTable, int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.ProformaDataTable GetDataByIdFaktury(int idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury));
            raporty.ProformaDataTable dataTable = new raporty.ProformaDataTable();
            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 ZamowienieTableAdapter : 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 ZamowienieTableAdapter() {
            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 = "Zamowienie";
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            tableMapping.ColumnMappings.Add("TYTUŁ", "TYTUŁ");
            tableMapping.ColumnMappings.Add("STRONA", "STRONA");
            tableMapping.ColumnMappings.Add("CENA JEDN", "CENA JEDN");
            tableMapping.ColumnMappings.Add("SZER", "SZER");
            tableMapping.ColumnMappings.Add("WYS", "WYS");
            tableMapping.ColumnMappings.Add("DATA ZAMÓWIENIA", "DATA ZAMÓWIENIA");
            tableMapping.ColumnMappings.Add("KOLOR", "KOLOR");
            tableMapping.ColumnMappings.Add("RABAT", "RABAT");
            tableMapping.ColumnMappings.Add("RABAT WARTOŚĆ", "RABAT WARTOŚĆ");
            tableMapping.ColumnMappings.Add("KROTNOŚĆ", "KROTNOŚĆ");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("PVAT", "PVAT");
            tableMapping.ColumnMappings.Add("INFO", "INFO");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("Imię", "Imię");
            tableMapping.ColumnMappings.Add("Nazwisko", "Nazwisko");
            tableMapping.ColumnMappings.Add("Adres_Fkatura", "Adres_Fkatura");
            tableMapping.ColumnMappings.Add("Nip", "Nip");
            tableMapping.ColumnMappings.Add("ulica", "ulica");
            tableMapping.ColumnMappings.Add("kod", "kod");
            tableMapping.ColumnMappings.Add("miasto", "miasto");
            tableMapping.ColumnMappings.Add("telefon", "telefon");
            tableMapping.ColumnMappings.Add("fax", "fax");
            tableMapping.ColumnMappings.Add("FAKTURA WYSTAWIONO", "FAKTURA WYSTAWIONO");
            tableMapping.ColumnMappings.Add("KONTO", "KONTO");
            tableMapping.ColumnMappings.Add("zam_notatka", "zam_notatka");
            tableMapping.ColumnMappings.Add("Brutto_Euro", "Brutto_Euro");
            tableMapping.ColumnMappings.Add("Brutto_Euro_Miano", "Brutto_Euro_Miano");
            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
            tableMapping.ColumnMappings.Add("SPOSOB_ZAPLATY", "SPOSOB_ZAPLATY");
            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("wyroznienie_kwota", "wyroznienie_kwota");
            tableMapping.ColumnMappings.Add("wyroznienie", "wyroznienie");
            tableMapping.ColumnMappings.Add("nipKraj", "nipKraj");
            tableMapping.ColumnMappings.Add("MOD_TYP", "MOD_TYP");
            tableMapping.ColumnMappings.Add("adres_biura", "adres_biura");
            tableMapping.ColumnMappings.Add("emisje", "emisje");
            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.Baza_ReklamConnectionString;
        }
        
        [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     R.[ID REKLAMY], R.TYTUŁ, R.STRONA, R.[CENA JEDN], R.SZER, R.WYS, R.[DATA ZAMÓWIENIA], R.KOLOR, R.RABAT, R.[RABAT WARTOŚĆ], 
                      R.KROTNOŚĆ, R.NETTO, R.VAT, R.PVAT, R.INFO, R.BRUTTO, A.Imię, A.Nazwisko, K.Adres_Fkatura, K.Nip, K.nipKraj, A2.ulica, A2.kod, A2.miasto, 
                      A2.telefon, A2.fax, R.[FAKTURA WYSTAWIONO], R.[FAKTURA TERMIN ZAPŁATY] AS TERMIN_ZAPLATY, 
                      R.[FAKTURA FORMA PŁATNOŚCI] AS SPOSOB_ZAPLATY, K2.KONTO, F.NUMER, F.NUMER_ROZ, F.NUMER_ROK, F.DATA_WYSTAWIENIA, 
                      R.zam_notatka, A2.adres_biura, R.Brutto_Euro, R.Brutto_Euro_Miano, R.wyroznienie_kwota, R.wyroznienie, R.MOD_TYP, 
                      dbo.podajEmisje(R.ReklamaID) AS emisje
FROM         REKLAMA AS R LEFT OUTER JOIN
                      AGENCI AS A ON R.[SYMBOL AKWIZYTORA] = A.Symbol LEFT OUTER JOIN
                      AGENCJE AS A2 ON A.ID_AGENCJI = A2.Id_agencji LEFT OUTER JOIN
                      KLIENCI AS K ON K.CustomerID = R.CustomerID LEFT OUTER JOIN
                      FAKTURY AS F ON R.ID_FAKTURY = F.ID_FAKTURY LEFT OUTER JOIN
                      KONTA AS K2 ON A.ID_AGENCJI = K2.idAgencji AND K2.IdKonta = R.[FAKTURA ID KONTA]
WHERE     (R.ReklamaID = @param)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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 FillByReklamaId(raporty.ZamowienieDataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.ZamowienieDataTable GetDataByReklamaId(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            raporty.ZamowienieDataTable dataTable = new raporty.ZamowienieDataTable();
            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 FAKTURA_DETAILS2TableAdapter : 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_DETAILS2TableAdapter() {
            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_DETAILS2";
            tableMapping.ColumnMappings.Add("JM", "JM");
            tableMapping.ColumnMappings.Add("ILOSC", "ILOSC");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("S_VAT", "S_VAT");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("SYMB", "SYMB");
            tableMapping.ColumnMappings.Add("NR_WYDANIA", "NR_WYDANIA");
            tableMapping.ColumnMappings.Add("NAZWA_USLUGI", "NAZWA_USLUGI");
            tableMapping.ColumnMappings.Add("MIESIAC", "MIESIAC");
            tableMapping.ColumnMappings.Add("ROK", "ROK");
            tableMapping.ColumnMappings.Add("reklamaId", "reklamaId");
            tableMapping.ColumnMappings.Add("TYP", "TYP");
            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.Baza_ReklamConnectionString;
        }
        
        [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        FAKTURA_DETAILS.JM, SUM(FAKTURA_DETAILS.ILOSC) AS ILOSC, SUM(FAKTURA_DETAILS.NETTO) AS NETTO, FAKTURA_DETAILS.S_VAT, 
                         SUM(FAKTURA_DETAILS.BRUTTO) AS BRUTTO, SUM(FAKTURA_DETAILS.VAT) AS VAT, [LISTA TYTUŁÓW].[TYT FULL NAME] AS SYMB, 
                         FAKTURA_DETAILS.NR_WYDANIA, FAKTURA_DETAILS.NAZWA_USLUGI, FAKTURA_DETAILS.MIESIAC, FAKTURA_DETAILS.ROK, 
                         FAKTURA_DETAILS.reklamaId, FAKTURA_DETAILS.TYP
FROM            FAKTURA_DETAILS LEFT OUTER JOIN
                         [LISTA TYTUŁÓW] ON FAKTURA_DETAILS.TYTUL = [LISTA TYTUŁÓW ].id
GROUP BY FAKTURA_DETAILS.JM, FAKTURA_DETAILS.S_VAT, FAKTURA_DETAILS.ID_FAKTURY, [LISTA TYTUŁÓW].[TYT FULL NAME], 
                         FAKTURA_DETAILS.NR_WYDANIA, FAKTURA_DETAILS.NAZWA_USLUGI, FAKTURA_DETAILS.MIESIAC, FAKTURA_DETAILS.ROK, 
                         FAKTURA_DETAILS.reklamaId, FAKTURA_DETAILS.TYP
HAVING        (FAKTURA_DETAILS.ID_FAKTURY = @idFaktury)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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 FillByIdFaktury(raporty.FAKTURA_DETAILS2DataTable dataTable, global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.FAKTURA_DETAILS2DataTable GetDataIdFaktury(global::System.Nullable<int> idFaktury) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((idFaktury.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idFaktury.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            raporty.FAKTURA_DETAILS2DataTable dataTable = new raporty.FAKTURA_DETAILS2DataTable();
            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 Zamowienie2TableAdapter : 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 Zamowienie2TableAdapter() {
            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 = "Zamowienie2";
            tableMapping.ColumnMappings.Add("ID REKLAMY", "ID REKLAMY");
            tableMapping.ColumnMappings.Add("TYTUŁ", "TYTUŁ");
            tableMapping.ColumnMappings.Add("STRONA", "STRONA");
            tableMapping.ColumnMappings.Add("CENA JEDN", "CENA JEDN");
            tableMapping.ColumnMappings.Add("SZER", "SZER");
            tableMapping.ColumnMappings.Add("WYS", "WYS");
            tableMapping.ColumnMappings.Add("DATA ZAMÓWIENIA", "DATA ZAMÓWIENIA");
            tableMapping.ColumnMappings.Add("KOLOR", "KOLOR");
            tableMapping.ColumnMappings.Add("RABAT", "RABAT");
            tableMapping.ColumnMappings.Add("RABAT WARTOŚĆ", "RABAT WARTOŚĆ");
            tableMapping.ColumnMappings.Add("KROTNOŚĆ", "KROTNOŚĆ");
            tableMapping.ColumnMappings.Add("NETTO", "NETTO");
            tableMapping.ColumnMappings.Add("VAT", "VAT");
            tableMapping.ColumnMappings.Add("PVAT", "PVAT");
            tableMapping.ColumnMappings.Add("INFO", "INFO");
            tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO");
            tableMapping.ColumnMappings.Add("Imię", "Imię");
            tableMapping.ColumnMappings.Add("Nazwisko", "Nazwisko");
            tableMapping.ColumnMappings.Add("Adres_Fkatura", "Adres_Fkatura");
            tableMapping.ColumnMappings.Add("Nip", "Nip");
            tableMapping.ColumnMappings.Add("nipKraj", "nipKraj");
            tableMapping.ColumnMappings.Add("ulica", "ulica");
            tableMapping.ColumnMappings.Add("kod", "kod");
            tableMapping.ColumnMappings.Add("miasto", "miasto");
            tableMapping.ColumnMappings.Add("telefon", "telefon");
            tableMapping.ColumnMappings.Add("fax", "fax");
            tableMapping.ColumnMappings.Add("FAKTURA WYSTAWIONO", "FAKTURA WYSTAWIONO");
            tableMapping.ColumnMappings.Add("TERMIN_ZAPLATY", "TERMIN_ZAPLATY");
            tableMapping.ColumnMappings.Add("SPOSOB_ZAPLATY", "SPOSOB_ZAPLATY");
            tableMapping.ColumnMappings.Add("zam_notatka", "zam_notatka");
            tableMapping.ColumnMappings.Add("adres_biura", "adres_biura");
            tableMapping.ColumnMappings.Add("Brutto_Euro", "Brutto_Euro");
            tableMapping.ColumnMappings.Add("Brutto_Euro_Miano", "Brutto_Euro_Miano");
            tableMapping.ColumnMappings.Add("wyroznienie_kwota", "wyroznienie_kwota");
            tableMapping.ColumnMappings.Add("wyroznienie", "wyroznienie");
            tableMapping.ColumnMappings.Add("MOD_TYP", "MOD_TYP");
            tableMapping.ColumnMappings.Add("emisje", "emisje");
            tableMapping.ColumnMappings.Add("nrZamowienia", "nrZamowienia");
            tableMapping.ColumnMappings.Add("rodzajFakturowania", "rodzajFakturowania");
            tableMapping.ColumnMappings.Add("typProd", "typProd");
            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.Baza_ReklamConnectionString;
        }
        
        [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 Z.notatkaZamowienie AS zam_notatka, Z.rodzajFakturowania,
    K.kodKlienta + '/' + CAST(Z.nrZamowienia AS nvarchar) + '/' + Z.kodAgenta + '/' + CAST(Z.rokZamowienia AS nvarchar) AS nrZamowienia, 
    K.Adres_Fkatura, K.Nip, K.nipKraj, 

    R.[ID REKLAMY], R.TYTUŁ, R.STRONA, R.[CENA JEDN], R.SZER, R.WYS, R.[DATA ZAMÓWIENIA], R.KOLOR, R.RABAT, R.[RABAT WARTOŚĆ], R.KROTNOŚĆ, R.NETTO, R.VAT,
    R.PVAT, R.INFO, R.BRUTTO, R.[FAKTURA WYSTAWIONO], R.[FAKTURA TERMIN ZAPŁATY] AS TERMIN_ZAPLATY, R.[FAKTURA FORMA PŁATNOŚCI] AS SPOSOB_ZAPLATY,
    R.Brutto_Euro_Miano, R.wyroznienie_kwota, R.wyroznienie, R.MOD_TYP, dbo.podajEmisje(R.ReklamaID) AS emisje, R.Brutto_Euro,

    A.Imię, A.Nazwisko,

    A2.ulica, A2.kod, A2.miasto, A2.telefon, A2.fax, A2.adres_biura,

    typProd = CASE WHEN R.[ID REKLAMY] IS NOT NULL THEN 'R' ELSE 'A' END

FROM zamowienia AS Z
 LEFT OUTER JOIN REKLAMA AS R ON R.idZamowienia = Z.idZamowienia
 LEFT OUTER JOIN AGENCI AS A ON Z.kodAgenta = A.F_ROZ /*R.[SYMBOL AKWIZYTORA] = A.Symbol*/
 LEFT OUTER JOIN AGENCJE AS A2 ON A.ID_AGENCJI = A2.Id_agencji
 LEFT OUTER JOIN KLIENCI AS K ON K.CustomerID = Z.idKlienta
WHERE Z.idZamowienia = @param";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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, "", "", ""));
        }
        
        [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 FillByIdZamowienia(raporty.Zamowienie2DataTable dataTable, int param) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.Zamowienie2DataTable GetDataByIdZamowienia(int param) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param));
            raporty.Zamowienie2DataTable dataTable = new raporty.Zamowienie2DataTable();
            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 InvoiceProviderTableAdapter : 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 InvoiceProviderTableAdapter() {
            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 = "InvoiceProvider";
            tableMapping.ColumnMappings.Add("Id", "Id");
            tableMapping.ColumnMappings.Add("ShortName", "ShortName");
            tableMapping.ColumnMappings.Add("Name", "Name");
            tableMapping.ColumnMappings.Add("Street", "Street");
            tableMapping.ColumnMappings.Add("City", "City");
            tableMapping.ColumnMappings.Add("PostCode", "PostCode");
            tableMapping.ColumnMappings.Add("Country", "Country");
            tableMapping.ColumnMappings.Add("Phone", "Phone");
            tableMapping.ColumnMappings.Add("TaxNumber", "TaxNumber");
            tableMapping.ColumnMappings.Add("TaxCountryPrefix", "TaxCountryPrefix");
            tableMapping.ColumnMappings.Add("SystemKsiegowyId", "SystemKsiegowyId");
            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.Baza_ReklamConnectionString;
        }
        
        [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 I.* FROM dbo.InvoiceProvider I\r\nINNER JOIN Agenci A ON A.InvoiceProviderId" +
                "=I.Id\r\nINNER JOIN Zamowienia Z ON Z.kodAgenta=A.F_Roz\r\nWHERE Z.idZamowienia=@idZ" +
                "amowienia";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].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 FillByIdZamowienia(raporty.InvoiceProviderDataTable dataTable, int idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            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, true)]
        public virtual raporty.InvoiceProviderDataTable GetDataByIdZamowienia(int idZamowienia) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idZamowienia));
            raporty.InvoiceProviderDataTable dataTable = new raporty.InvoiceProviderDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
}

#pragma warning restore 1591