A
ad
I have a web application and a class library in a solution.
The class library is make of typed datasets, and include many Table in it.
The connection strings of the TableAdapters is come from the app.config of
that class library.
The Web application refer the class library, and the connection strings of
WebApp is come from the web.config of it.
It is ok in developing step, I can make both connection string identical in
both config files, but after I publish the web application or package the
web application for deployment, the app.config is vanish, so that if can
just change the connection if web.config, but can't change the connection is
app.config.
How can I do?
The class library is make of typed datasets, and include many Table in it.
The connection strings of the TableAdapters is come from the app.config of
that class library.
The Web application refer the class library, and the connection strings of
WebApp is come from the web.config of it.
It is ok in developing step, I can make both connection string identical in
both config files, but after I publish the web application or package the
web application for deployment, the app.config is vanish, so that if can
just change the connection if web.config, but can't change the connection is
app.config.
How can I do?