mcavanilla
Member
- Joined
- Apr 2, 2013
- Messages
- 5
- Programming Experience
- Beginner
Hello,
I'm trying to develop an application in VB.net, for search informations in 3 tables (TBClient with 3 columns "Company", "Address" and "Fone", TBContact with 2 columns "Name" and "Email" and TBContract with 2 columns "ContractNumber" and "Date").
I'm using a combo box (for select the column of the TBClient), and a Text box to write what i'm looking for. The result is showed in a datagrid (i'm using dataset)
My question is, how can I make this search to show the result of the 3 tables in the same datagrid? Example: If I search for the company name, I would like to see the informations of the other two tables related to the company name.
I'm using the Visual Studio 2010 and SQL server 2008.
sorry for my poor english
thanks
Marco
I'm trying to develop an application in VB.net, for search informations in 3 tables (TBClient with 3 columns "Company", "Address" and "Fone", TBContact with 2 columns "Name" and "Email" and TBContract with 2 columns "ContractNumber" and "Date").
I'm using a combo box (for select the column of the TBClient), and a Text box to write what i'm looking for. The result is showed in a datagrid (i'm using dataset)
My question is, how can I make this search to show the result of the 3 tables in the same datagrid? Example: If I search for the company name, I would like to see the informations of the other two tables related to the company name.
I'm using the Visual Studio 2010 and SQL server 2008.
sorry for my poor english
thanks
Marco
Last edited: