这是我在Pics中的代码
Controller Pic 1
Controller Pic 2
Controller Pic 3
Layout Pic 1
Model Class Pic
database Table data Pic
Database Table Definition Pic
Error Pic
帮助我解决此错误。
如果您愿意,我可以为您提供解决方案文件夹。
最佳答案
我假设您在模型类中无法将数据库中的tec_cell强制转换为Int32。
关于c# - 在对模型类应用Crud操作时,我在ASP.Net Mvc项目中出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64729406/