G
Guest
The connection string used by the typed dataset that is in the Class library
is placed in the Settings and then accessed using the generated code.
What is the best approach for having the actual connectionstring details
externalised when this class library is referenced from a web application?
Currently all that happens is that the default value is used and NOT the one
specified in the app.config.. have trawled the net and seen lots of comments
about moving stuff into the web.config but for the connection strings this
doesn't seem t work and the only solution I have found out there is to modify
the generated code int the class library which can't be a good idea...
Does anyone have an approach for this that actually makes sense?
is placed in the Settings and then accessed using the generated code.
What is the best approach for having the actual connectionstring details
externalised when this class library is referenced from a web application?
Currently all that happens is that the default value is used and NOT the one
specified in the app.config.. have trawled the net and seen lots of comments
about moving stuff into the web.config but for the connection strings this
doesn't seem t work and the only solution I have found out there is to modify
the generated code int the class library which can't be a good idea...
Does anyone have an approach for this that actually makes sense?