Zbiór zmian 781

Pokaż
Ignoruj:
Data:
2009-07-27 11:56:22 (17 years ago)
Autor:
marek
Opis:

re #195 - dodano kolumne rozdzial i lokalizacja

Lokalizacja:
branches/Emisje/BazaReklam
Pliki:
7 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/Emisje/BazaReklam/OrderDetails.Designer.cs

    r780 r781  
    7474            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); 
    7575            System.Windows.Forms.DataGridViewCellStyle dzialColumnCellStyle = new System.Windows.Forms.DataGridViewCellStyle(); 
     76            System.Windows.Forms.DataGridViewCellStyle rozdzialColumnCellStyle = new System.Windows.Forms.DataGridViewCellStyle(); 
     77            System.Windows.Forms.DataGridViewCellStyle lokalizacjaColumnCellStyle = new System.Windows.Forms.DataGridViewCellStyle(); 
    7678            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OrderDetails)); 
    7779            this.rEKLAMADataSet = new Baza_Reklam.REKLAMADataSet(); 
     
    112114            this.ReklamaIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    113115            this.DzialColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     116            this.RozdzialColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     117            this.LokalizacjaColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    114118            this.rEKLAMAUKAZESIEWNRBindingSource = new System.Windows.Forms.BindingSource(this.components); 
    115119            this.uKAZE_SIE_W_NRTableAdapter = new Baza_Reklam.REKLAMADataSetTableAdapters.UKAZE_SIE_W_NRTableAdapter(); 
     
    943947            this.netto, 
    944948            this.ReklamaIdColumn, 
    945             this.DzialColumn}); 
     949            this.DzialColumn, 
     950            this.RozdzialColumn, 
     951            this.LokalizacjaColumn}); 
    946952            this.ukazeSieDataGridView.DataSource = this.rEKLAMAUKAZESIEWNRBindingSource; 
    947953            this.ukazeSieDataGridView.Location = new System.Drawing.Point(435, 9); 
     
    10151021            this.DzialColumn.Visible = true; 
    10161022            this.DzialColumn.Width = 100; 
     1023            //  
     1024            // RozdzialColumn 
     1025            //  
     1026            rozdzialColumnCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
     1027            rozdzialColumnCellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     1028            this.RozdzialColumn.DefaultCellStyle = rozdzialColumnCellStyle; 
     1029            this.RozdzialColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1030            this.RozdzialColumn.DataPropertyName = "Rozdzial"; 
     1031            this.RozdzialColumn.HeaderText = "Rozdzia³"; 
     1032            this.RozdzialColumn.Name = "Rozdzial"; 
     1033            this.RozdzialColumn.ReadOnly = true; 
     1034            this.RozdzialColumn.Visible = true; 
     1035            this.RozdzialColumn.Width = 100; 
     1036            //  
     1037            // LokalizacjaColumn 
     1038            //  
     1039            lokalizacjaColumnCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 
     1040            lokalizacjaColumnCellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     1041            this.LokalizacjaColumn.DefaultCellStyle = lokalizacjaColumnCellStyle; 
     1042            this.LokalizacjaColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1043            this.LokalizacjaColumn.DataPropertyName = "Lokalizacja"; 
     1044            this.LokalizacjaColumn.HeaderText = "Lokalizacja"; 
     1045            this.LokalizacjaColumn.Name = "Lokalizacja"; 
     1046            this.LokalizacjaColumn.ReadOnly = true; 
     1047            this.LokalizacjaColumn.Visible = true; 
     1048            this.LokalizacjaColumn.Width = 100; 
    10171049            //  
    10181050            // rEKLAMAUKAZESIEWNRBindingSource 
     
    20232055        private System.Windows.Forms.DataGridViewTextBoxColumn ReklamaIdColumn; 
    20242056        private System.Windows.Forms.DataGridViewTextBoxColumn DzialColumn; 
     2057        private System.Windows.Forms.DataGridViewTextBoxColumn RozdzialColumn; 
     2058        private System.Windows.Forms.DataGridViewTextBoxColumn LokalizacjaColumn; 
    20252059        private System.Windows.Forms.DataGridViewTextBoxColumn nRWYDANIADataGridViewTextBoxColumn1; 
    20262060        private System.Windows.Forms.DataGridViewTextBoxColumn NR_WYDANIA; 
  • branches/Emisje/BazaReklam/OrderDetails.cs

    r780 r781  
    177177            rEKLAMADataSet.UKAZE_SIE_W_NR.TableNewRow += nowaEmisja; 
    178178 
    179             pROMOCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    180             lISTA_TYPOW_REKLAMYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    181             kursy_WalutTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    182             rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    183             uKAZE_SIE_W_NRTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    184             rEKLAMA_STRONATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    185             reklama_Info_DodTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    186             aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    187             zmianyEmisjiTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     179            //pROMOCJETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     180            //lISTA_TYPOW_REKLAMYTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     181            //kursy_WalutTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     182            //rEKLAMATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     183            //uKAZE_SIE_W_NRTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     184            //rEKLAMA_STRONATableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     185            //reklama_Info_DodTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     186            //aGENCITableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
     187            //zmianyEmisjiTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    188188 
    189189            pROMOCJETableAdapter.Fill(sLOWNIKDataSet.PROMOCJE); 
  • branches/Emisje/BazaReklam/Properties/Settings.Designer.cs

    r777 r781  
    4444        [global::System.Configuration.ApplicationScopedSettingAttribute()] 
    4545        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    46         [global::System.Configuration.DefaultSettingValueAttribute("http://10.0.0.39/ReportServer")] 
    47         public string reportsServerLocal { 
    48             get { 
    49                 return ((string)(this["reportsServerLocal"])); 
    50             } 
    51         } 
    52          
    53         [global::System.Configuration.ApplicationScopedSettingAttribute()] 
    54         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    5546        [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] 
    5647        [global::System.Configuration.DefaultSettingValueAttribute("Data Source=.\\sql2k;Initial Catalog=Baza_Reklam;User ID=sa;Password=mageroni")] 
  • branches/Emisje/BazaReklam/Properties/Settings.settings

    r777 r781  
    88    <Setting Name="reklamaPath" Type="System.String" Scope="Application"> 
    99      <Value Profile="(Default)">G:\ReklamaFiles\</Value> 
    10     </Setting> 
    11     <Setting Name="reportsServerLocal" Type="System.String" Scope="Application"> 
    12       <Value Profile="(Default)">http://10.0.0.39/ReportServer</Value> 
    1310    </Setting> 
    1411    <Setting Name="Baza_ReklamConnectionString" Type="(Connection string)" Scope="Application"> 
  • branches/Emisje/BazaReklam/REKLAMADataSet.Designer.cs

    r780 r781  
    28242824            private global::System.Data.DataColumn columnDzial; 
    28252825             
     2826            private global::System.Data.DataColumn columnRozdzial; 
     2827             
    28262828            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    28272829            public UKAZE_SIE_W_NRDataTable() { 
     
    29532955             
    29542956            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
     2957            public global::System.Data.DataColumn RozdzialColumn { 
     2958                get { 
     2959                    return this.columnRozdzial; 
     2960                } 
     2961            } 
     2962             
     2963            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    29552964            [global::System.ComponentModel.Browsable(false)] 
    29562965            public int Count { 
     
    29812990             
    29822991            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    2983             public UKAZE_SIE_W_NRRow AddUKAZE_SIE_W_NRRow(REKLAMARow parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR, short Nr_Wydania, short status, bool zafakturowana, FAKTURYRow parentFAKTURYRowByFAKTURY_UKAZE_SIE_W_NR, System.DateTime dataDodania, System.DateTime dataAnulowania, decimal netto, bool DoDruku, int LokalizacjaId, int DzialId, int RozdzialId, string Dzial) { 
     2992            public UKAZE_SIE_W_NRRow AddUKAZE_SIE_W_NRRow(REKLAMARow parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR, short Nr_Wydania, short status, bool zafakturowana, FAKTURYRow parentFAKTURYRowByFAKTURY_UKAZE_SIE_W_NR, System.DateTime dataDodania, System.DateTime dataAnulowania, decimal netto, bool DoDruku, int LokalizacjaId, int DzialId, int RozdzialId, string Dzial, string Rozdzial) { 
    29842993                UKAZE_SIE_W_NRRow rowUKAZE_SIE_W_NRRow = ((UKAZE_SIE_W_NRRow)(this.NewRow())); 
    29852994                object[] columnValuesArray = new object[] { 
     
    29973006                        DzialId, 
    29983007                        RozdzialId, 
    2999                         Dzial}; 
     3008                        Dzial, 
     3009                        Rozdzial}; 
    30003010                if ((parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR != null)) { 
    30013011                    columnValuesArray[1] = parentREKLAMARowByREKLAMA_UKAZE_SIE_W_NR[0]; 
     
    30483058                this.columnRozdzialId = base.Columns["RozdzialId"]; 
    30493059                this.columnDzial = base.Columns["Dzial"]; 
     3060                this.columnRozdzial = base.Columns["Rozdzial"]; 
    30503061            } 
    30513062             
     
    30803091                this.columnDzial = new global::System.Data.DataColumn("Dzial", typeof(string), null, global::System.Data.MappingType.Element); 
    30813092                base.Columns.Add(this.columnDzial); 
     3093                this.columnRozdzial = new global::System.Data.DataColumn("Rozdzial", typeof(string), null, global::System.Data.MappingType.Element); 
     3094                base.Columns.Add(this.columnRozdzial); 
    30823095                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { 
    30833096                                this.columnID}, true)); 
     
    2119621209             
    2119721210            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
     21211            public string Rozdzial { 
     21212                get { 
     21213                    try { 
     21214                        return ((string)(this[this.tableUKAZE_SIE_W_NR.RozdzialColumn])); 
     21215                    } 
     21216                    catch (global::System.InvalidCastException e) { 
     21217                        throw new global::System.Data.StrongTypingException("The value for column \'Rozdzial\' in table \'UKAZE_SIE_W_NR\' is DBNull.", e); 
     21218                    } 
     21219                } 
     21220                set { 
     21221                    this[this.tableUKAZE_SIE_W_NR.RozdzialColumn] = value; 
     21222                } 
     21223            } 
     21224             
     21225            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    2119821226            public FAKTURYRow FAKTURYRow { 
    2119921227                get { 
     
    2130321331            public void SetDzialNull() { 
    2130421332                this[this.tableUKAZE_SIE_W_NR.DzialColumn] = global::System.Convert.DBNull; 
     21333            } 
     21334             
     21335            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
     21336            public bool IsRozdzialNull() { 
     21337                return this.IsNull(this.tableUKAZE_SIE_W_NR.RozdzialColumn); 
     21338            } 
     21339             
     21340            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 
     21341            public void SetRozdzialNull() { 
     21342                this[this.tableUKAZE_SIE_W_NR.RozdzialColumn] = global::System.Convert.DBNull; 
    2130521343            } 
    2130621344             
     
    3825038288            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); 
    3825138289            this._commandCollection[5].Connection = this.Connection; 
    38252             this._commandCollection[5].CommandText = @"SELECT U.ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto, status, zafakturowana, DoDruku, LokalizacjaId, DzialId, RozdzialId, D.Name AS Dzial 
     38290            this._commandCollection[5].CommandText = @"SELECT U.ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto, status, zafakturowana, DoDruku, LokalizacjaId, U.DzialId, RozdzialId, D.Name AS Dzial, Roz.Name AS Rozdzial, Lok.[Text] AS Lokalizacja 
    3825338291FROM dbo.[UKAŻE SIĘ W NR] U 
    3825438292LEFT OUTER JOIN dbo.Dzial D ON U.DzialId = D.Id 
     38293LEFT OUTER JOIN dbo.Rozdzial Roz ON U.RozdzialId = Roz.Id 
     38294LEFT OUTER JOIN dbo.ReklamaLokalizacja Lok ON U.LokalizacjaId = Lok.Id 
    3825538295WHERE (ReklamaId = @param1) ORDER BY [Nr Wydania]"; 
    3825638296            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text; 
  • branches/Emisje/BazaReklam/REKLAMADataSet.xsd

    r780 r781  
    673673                <SelectCommand> 
    674674                  <DbCommand CommandType="Text" ModifiedByUser="True"> 
    675                     <CommandText>SELECT U.ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto, status, zafakturowana, DoDruku, LokalizacjaId, DzialId, RozdzialId, D.Name AS Dzial 
     675                    <CommandText>SELECT U.ID, [Nr Wydania], ReklamaId, dataAnulowania, dataDodania, idFaktury, netto, status, zafakturowana, DoDruku, LokalizacjaId, U.DzialId, RozdzialId, D.Name AS Dzial, Roz.Name AS Rozdzial, Lok.[Text] AS Lokalizacja 
    676676FROM dbo.[UKAŻE SIĘ W NR] U 
    677677LEFT OUTER JOIN dbo.Dzial D ON U.DzialId = D.Id 
     678LEFT OUTER JOIN dbo.Rozdzial Roz ON U.RozdzialId = Roz.Id 
     679LEFT OUTER JOIN dbo.ReklamaLokalizacja Lok ON U.LokalizacjaId = Lok.Id 
    678680WHERE (ReklamaId = @param1) ORDER BY [Nr Wydania]</CommandText> 
    679681                    <Parameters> 
     
    48554857              <xs:element name="RozdzialId" msprop:Generator_UserColumnName="RozdzialId" msprop:Generator_ColumnVarNameInTable="columnRozdzialId" msprop:Generator_ColumnPropNameInRow="RozdzialId" msprop:Generator_ColumnPropNameInTable="RozdzialIdColumn" type="xs:int" minOccurs="0" /> 
    48564858              <xs:element name="Dzial" msprop:Generator_UserColumnName="Dzial" msprop:Generator_ColumnPropNameInRow="Dzial" msprop:Generator_ColumnVarNameInTable="columnDzial" msprop:Generator_ColumnPropNameInTable="DzialColumn" type="xs:string" minOccurs="0" /> 
     4859              <xs:element name="Rozdzial" msprop:Generator_UserColumnName="Rozdzial" msprop:Generator_ColumnVarNameInTable="columnRozdzial" msprop:Generator_ColumnPropNameInRow="Rozdzial" msprop:Generator_ColumnPropNameInTable="RozdzialColumn" type="xs:string" minOccurs="0" /> 
    48574860            </xs:sequence> 
    48584861          </xs:complexType> 
  • branches/Emisje/BazaReklam/app.config

    r777 r781  
    2222        <value>G:\ReklamaFiles\</value> 
    2323      </setting> 
    24       <setting name="reportsServerLocal" serializeAs="String"> 
    25         <value>http://10.0.0.39/ReportServer</value> 
    26       </setting> 
    2724    </Baza_Reklam.Properties.Settings> 
    2825  </applicationSettings>