I am wondering if it is possible to search for records in two different SQL Server database tables. I need to have the ability to search for records using criteria provided by the user. As an example: "Return all records FROM tblTable1 and/or tblTable2 where CustID = "ABC"."
The tables that I am searching are both exactly the same except they have different names. I then need to be able to populate a gridview with the search result. Is this possible? Can someone give me examples of how to do this? Thanks. I am using vb.net and SQL server 2000.
Start Free Trial