摘要: BuyRecords=List<model>();//BuyRecords是list表 List<string> Shop_name = BuyRecords.Select(e => e.ddm_id).Distinct().ToList(); //过滤string字符串 if (!string.I 阅读全文
posted @ 2023-07-25 11:45 林子卿 阅读(207) 评论(0) 推荐(0)
摘要: InvalidOperationException: Unable to resolve service for type 'Cities.Models.IRepository' while attempting to activate 'Cities.Controllers.HomeControl 阅读全文
posted @ 2022-09-20 10:03 林子卿 阅读(15) 评论(0) 推荐(0)
摘要: 遇到了一个小问题,提交表单的时候,后台的action中验证的表单里的控件值居然是空值,调来调去不得其法. 我在前台的表单里控件用的是标准html控件 页面上使用下面语句发送form<%using (Html.BeginForm("AddNewPicGroups", "MetaData")){ %> 阅读全文
posted @ 2022-09-16 17:19 林子卿 阅读(116) 评论(0) 推荐(0)
摘要: 从8.15学到今天也有一个月了,期间组长让我学了很多东西,像ef core ,asp.net mvc,nunit test,IOC,DI这种既概念也实用的东西。 然后组长push了个微软的应用给我,对,没错,就是to do 我这一个月已经用web api的异步,亦或者是mvc的视图来实现这个list 阅读全文
posted @ 2022-09-15 17:33 林子卿 阅读(20) 评论(0) 推荐(0)