I want call connection string dynamically without mofifying connection string in web config.As i am creating project for SAAS.So i can handle multiple users request with multiple databases.
I have tried to update it by passing variable but it showing error.So please let me know the righ t way.Thanks in advance.
My code:
string name="";
db_hrEntities context = new db_hrEntities(name); Now this name variable i cant paas.