DataSet in DLL, ConnectionString from web.config

  • Thread starter Willy Van den Driessche
  • Start date
W

Willy Van den Driessche

I put my datasets inside a DLL (I have moved them out of app_code to avoid
the clutter). These are typed datasets for which the code is generated by
dotnet.
To be able to generate them I have found little else than to add a "setting"
to my DLL.

How can I configure them to read their settings from the main app's
web.config instead of the my.settings.... infrastructure ?

I can of course add code to these partial classes and initialize them
myself. But I have the (naive) feeling that there is a simple no-code
solution I am missing.

Willy Van den Driessche.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top