Data Source=DOROTA-PC\SQL2005MSDN;Initial Catalog=BAZA_REKLAM;Integrated Security=True
SQL
4591b562-c648-40e2-9985-a67d1d23b7a7
21cm
Integer
true
customerId
true
21cm
0.25cm
true
1cm
Equal
=Parameters!customerId.Value
=Fields!CustomerID.Value
REKLAMADataSet_ListaReklamDoWydaniaNr
ID_REKLAMY
3
true
=Fields!ID_REKLAMY.Value
TYTUŁ
2
true
=Fields!TYTUŁ.Value
NR
1
true
=Fields!NR.Value
strona_zlecenie
true
=Fields!strona_zlecenie.Value
0.63492cm
textbox2
7
true
Symbol reklamy
textbox3
6
true
Tytuł
textbox4
5
true
Nr wydania
textbox8
4
true
Strona
0.63492cm
2.75cm
2.75cm
2.75cm
2.75cm
1.26984cm
0afcc0e8-4ade-480e-a186-b9d2cb83994f
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
11cm
29.7cm
en-US
29.7cm