G
Guest
(Using SQL Server and Vs 2003.net - C#)
I have TableA on Database1: //Clients Database
CodCli -- Name -- Age
(...) (...) (...) (several Rows of Information)
I have TableB on Database2: //Contrats of the Clients.(Client can have 2
contrats)
Key -- CodCli -- Date -- Value -- Vend
(...) (...) (...) (...) (...) (several Rows of
Information)
I need a dataset to be printed, that as this:
SQL = "Select * from TableA(Database1) and TableB(Database2)
Where Vend in TableB(Database2) = " &StrVar
In Database1 the primarykey in CodCli.
in Database2 the primarykey is Key
StrVar in a value that the user inputs.
Thanks all.
I have TableA on Database1: //Clients Database
CodCli -- Name -- Age
(...) (...) (...) (several Rows of Information)
I have TableB on Database2: //Contrats of the Clients.(Client can have 2
contrats)
Key -- CodCli -- Date -- Value -- Vend
(...) (...) (...) (...) (...) (several Rows of
Information)
I need a dataset to be printed, that as this:
SQL = "Select * from TableA(Database1) and TableB(Database2)
Where Vend in TableB(Database2) = " &StrVar
In Database1 the primarykey in CodCli.
in Database2 the primarykey is Key
StrVar in a value that the user inputs.
Thanks all.