Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection Strings

Status
Not open for further replies.

blar9

Programmer
Mar 12, 2007
39
US
Setup:

Application: - the app references Assembly1 and 2
- App.Config - has connection strings for everything in it
- form1
- form2

Assembly1:
- class1
- class2
- dataset1
- dataset2

Assembly2:
- class1
- class2
- dataset1

I need to tell assembly 1 and 2 to use the app.config connection string. How do I do this?

Thanks for any help!

 
DAL (Data Access Layer) = dataset right? When you go to add a new item to project it says dataset which creates the .xsd file.
 
you should put all the datasets that belong together in one project and keep the connectionstring in there.

DAL (Data Access Layer) = dataset right?

Yeah (shiver).

Christiaan Baes
Belgium

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top