1、“在xml文件里写sql语句时,写错一个单词

 

2、“return Mapper().QueryForList("List", null);改为了return Mapper().QueryForList("Admin.List", null);  居然可以了,

使用了Satement命名空间,应用的时候必须加上命名空间”

 

3、“检查你的Web.config”  自己补充的

相关文章:

  • 2022-12-23
  • 2021-07-12
  • 2021-04-09
  • 2022-12-23
  • 2021-05-08
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-04
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案