一、问题 Object reference not set to an instance of an object. (你调用的对象是空的) 二、解决问题 在使用 c# 的查询时,先筛选后在关联其他表。 在查询时先 pageby 在 orderby 导致。 相关文章: 2021-10-27 2022-12-23 2021-07-11 2021-06-04 2021-12-16 2022-01-24 2021-11-17 2022-12-23