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
相關文章
相關標籤/搜索