1、SA 认证:
<add key="DbHelperConnectionString" value="Data Source=WS-JACKCH-03\SQLEXPRESS;Initial Catalog=POS;User ID=sa;Password=Password01!"/>
2、Windows 认证:
<add key="DbHelperConnectionString" value="Data Source=localhost\SQLEXPRESS;Initial Catalog=POS;Integrated Security=True"/>
转载于:https://www.cnblogs.com/Jack-Chang/archive/2009/06/22/1508226.html