MultipleActiveResultSets

MultipleActiveResultSets

C#常用错误-LMLPHP

解决方法:

在配置文件连接数据库设置后加 MultipleActiveResultSets=true;

<add key="ConnectionString" value="server=115.28.152.167;database=JD_Business;uid=sa;pwd=Q1w2e3;MultipleActiveResultSets=true;"/>


04-14 12:17