Search code examples
c#asp.netlistviewdatasetdatapager

Listview not showing first row per each page


I have a list view with which I am displaying a dataset. There is also a datapager.

The problem is, per each page, the first row of the dataset is not displayed in the list view.

So, the datapager displays text "showing element 1-10 of 22" but on the page, only 9 elements are displayed. The code is too big and complicated to paste here.

My question is, generally : what can be the problem when the DataSet is right but after the binding, the listview shows 1 row less on each page.

I know my question is not specific enough, but I have to solve this problem and I need general ideas on where to look or how to debug, or what generally causes this kind of "first row not shown" problem.

Thanx


Solution

  • The problem is solved. I dont know exactly what the problem was. This is a project developed by a team of programmers, and the bug was caused by something irrelevant to the context that I explained. Thank you all for the discussion.