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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Enterprise Library inside a Class

Status
Not open for further replies.

SBendBuckeye

Programmer
Joined
May 22, 2002
Messages
2,166
Location
US
Hello all,

I am using Enterprise Library to encapsulate some data access into a class. Everything works great except the Windows form project can't find the config file. The work-a-round is to put a config file in the Windows form project but that defeats the purpose of encapsulation. Any one have any ideas or suggestions? Thanks!

Have a great day!

j2consulting@yahoo.com
 
Here is a work around. Put the Enterprise Library configuration stuff in the form project and pass it into the user control via a SetProperty method. Good Luck!

Have a great day!

j2consulting@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top