Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有数据网格,它绑定到实体框架中的对象列表,并使用数据分页器进行分页。我的问题是 - 我如何只刷新它所在的当前“页面”?例如,如果我在第 17 页(共 100 页)并单击刷新,我希望查询出去并仅刷新第 17 页的数据。
在我看来,您应该将页码保存在变量中,并在 dataPager pageIndex 属性中刷新后使用它