i m working on a distributed 3 tier app.

In this system mid layer dll have to access datalayer function for retriving the data.
The connection string is saved in a config file which is at the end of exe. in the senario i m not able to connect the database. bcoz mid layer cann't get connection string.

i m using remoting to send dataset like datalayer-->Mid layer-->UI

plz suggest the right way to solve the prob.

anand