What is the best way to dynamic load connection strings

前端 未结 2 1930
栀梦
栀梦 2021-01-24 23:26

I\'ve seen some other posts in this topic, but thought I would ask the qustion with a description on my problem.

I have a login page wich uses SQL provider for the user

2条回答
  •  面向向阳花
    2021-01-25 00:28

    Use ConnectionStrings in Web.Config. Check this link for more information : How to: Read Connection Strings from the Web.config File. You can create a Key as the Name of the organization and value as the connection string that corresponds to the organization.

提交回复
热议问题