摘要:
前几天做了个项目,需要是客户端通过更改ip来实现读取服务器端的数据库通过我的实验!原来这样是需要通过更改连接字符串来实现这样的功能,而且在程序中不能出现绝对路径!我的app.config是这个样子的<?xml version="1.0" encoding="utf-8"?><configuration><configSections></configSections><connectionStrings> <add name="constr" connectionStr 阅读全文