G
Guest
I'm writing a .NET 2.0 windows forms application to do Phone maintenance. I
have 2 databases that exist on separate database servers, Employees and
Phones. They both use a common key, EmployeeNumber. I have been using a
subquery approach to populate a combo box with the Employees not in the
Phones database to help with inputting new employees. I utilize a linked
server to make it work and that works fine. I also populate a couple of
datasets in my application, Employees and Phones using 2 different connection
strings.
I was thinking since I already have this data in my application it seems
foolish to have to maintain a linked server and make a separate trip to the
server to get this data. I'd like to figure out how to do my query/subquery
inside my application instead of making a trip to the database. Is there a
way to do this?
Thanks,
John
have 2 databases that exist on separate database servers, Employees and
Phones. They both use a common key, EmployeeNumber. I have been using a
subquery approach to populate a combo box with the Employees not in the
Phones database to help with inputting new employees. I utilize a linked
server to make it work and that works fine. I also populate a couple of
datasets in my application, Employees and Phones using 2 different connection
strings.
I was thinking since I already have this data in my application it seems
foolish to have to maintain a linked server and make a separate trip to the
server to get this data. I'd like to figure out how to do my query/subquery
inside my application instead of making a trip to the database. Is there a
way to do this?
Thanks,
John