<appSettings> <add key="strCon" value="Data Source=数据库服务器地址;Initial Catalog=数据库名称;User ID=登录用户名;Password=密码;Max Pool Size=512"/> </appSettings>