更新时间:2023-11-05 17:30:04
尝试使用此方法
Try to use this
<add name="strConnection" connectionstring="Data Source=<server IP / Name>;Initial Catalog=<database Name>;Persist Security Info=True;User ID=<Username>;Password=<UserPassword>" providername="System.Data.SqlClient" />