1 用户名密码 . 也可以换成ip地址 也可以换成 Localhost
<connectionStrings>
<add name="jghua" connectionString="Data Source=.;Initial Catalog=chy;Persist Security Info=True;User ID=sa;Password=sasa" />
</connectionStrings>
2 window 身份验证
<connectionStrings>
<add name="jghua" connectionString="Data Source=.;Initial Catalog=MILAIshop;Integrated Security=True" />
</connectionStrings>