The data source does not support server-side data paging

后端 未结 8 1227
眼角桃花
眼角桃花 2020-11-29 07:20

I have a GridView on my screen and need it to allow paging.

Markup:



        
8条回答
  •  抹茶落季
    2020-11-29 07:29

    .ToList() at the end of the DataSource, I am assigning worked for me like below:

    gvCaseLabelsLeft.DataSource = caseLabelsList.OrderBy(c=>c.caseLabelNumber).ToList();
    

提交回复
热议问题