Data Source=DOROTA-PC\SQL2005MSDN;Initial Catalog=BAZA_REKLAM;Integrated Security=True
SQL
4591b562-c648-40e2-9985-a67d1d23b7a7
1cm
21cm
Integer
true
customerId
true
21cm
0.25cm
true
1cm
1.25cm
0.25cm
textbox6
1
true
NR_1
2
true
=Fields!NR.Value
0.21188cm
RTL
REKLAMADataSet_ListaReklamDoWydaniaNr
Equal
=Parameters!customerId.Value
=Fields!CustomerID.Value
textbox2
3
true
0.53812cm
NR_2
true
=Fields!NR.Value
0.75cm
0afcc0e8-4ade-480e-a186-b9d2cb83994f
1cm
GetData
REKLAMADataSet
Fill
ListaReklamDoWydaniaNrTableAdapter
ListaReklamDoWydaniaNr
true
SELECT R.ReklamaID, R.TYTUŁ, R.[ID REKLAMY], R.[NICK NAME], [UKAŻE SIĘ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], R.GRZBIET,
A.Symbol AS agencja, A.miasto, R.[SYMBOL AKWIZYTORA], CONVERT(smallint, 0) AS strona, CONVERT(bit, 0) AS jestCDR, CONVERT(bit, 0) AS jestEPS,
CONVERT(bit, 0) AS jestJPG, CONVERT(bit, 0) AS datyOK, REKLAMA_STRONA.STRONA AS strona_zlecenie, R.CustomerID, [UKAŻE SIĘ W NR].ID
FROM AGENCI AS A2 LEFT OUTER JOIN
AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN
REKLAMA AS R ON A2.Symbol = R.[SYMBOL AKWIZYTORA] INNER JOIN
[UKAŻE SIĘ W NR] ON R.ReklamaID = [UKAŻE SIĘ W NR].ReklamaId LEFT OUTER JOIN
REKLAMA_STRONA ON R.ReklamaID = REKLAMA_STRONA.ReklamaId AND [UKAŻE SIĘ W NR].[Nr Wydania] = REKLAMA_STRONA.NR_WYDANIA
WHERE (R.[ZATWIERDZONO DO DRUKU] = 1) AND (R.TYTUŁ = @tytul) AND ([UKAŻE SIĘ W NR].[Nr Wydania] = @nr)
testowe
System.Int32
ReklamaID
System.String
TYTUŁ
System.String
ID REKLAMY
System.String
NICK NAME
System.Int16
NR
System.Boolean
ZATWIERDZONO DO DRUKU
System.String
agencja
System.String
SYMBOL AKWIZYTORA
System.Int32
GRZBIET
System.String
miasto
System.Boolean
jestCDR
System.Boolean
jestEPS
System.Boolean
jestJPG
System.Boolean
datyOK
System.Int16
strona_zlecenie
System.Int32
CustomerID
System.Int16
strona
System.Decimal
ID
1.5cm
29.7cm
en-US
1cm
29.7cm