There is already an open DataReader associated with this Connection which must be closed first

使用MVC4 EF Linq获取foreach列表循环的时候遇到了如下的问题:报错提示 There is already an open DataReader associated with this Connection which must be closed first 解决方法如下红色所示: @foreach (var item in Model.ToList()) {  @Html.Ac
相关文章
相关标签/搜索