//sqlserver数据库 前两个是10.0.0.1上的两个数据库 后两个是10.0.0.2的数据库
<add name="gaosugonglu" connectionString="server=10.0.0.1;uid=sa;password=;database=dataname1" />
<add name="shizhengdaolu" connectionString="server=10.0.0.1;uid=sa;password=;database=dataname2" />
<add name="gongluqiaoliang" connectionString="server=10.0.0.2;uid=sa;password=;database=dataname3" />
<add name="shizhengqiaoliang" connectionString="server=10.0.0.2;uid=sa;password=;database=dataname4" />
//地图数据库
<add name="neiwangGis" connectionString="http://10.0.0.170/ArcGIS/rest/services/tjin/MapServer" />
<add name="waiwangGis" connectionString="http://10.0.0.170/ArcGIS/rest/services/tjin/MapServer" />
连接多台机子的多个数据库webconfig
最新推荐文章于 2023-02-21 10:21:51 发布