//Bind data
this.IncomeGridView.DataSource = incomeData;
//If incomeData is not empty then Taking the value of the Id field of the first and the last row in data page
if (incomeData.Count() > 0)
{
this.incomePaging_IdAtTheEndOfCurrentPage = incomeData.ToList()[incomeData.Count() - 1].Id;
**this.incomePaging_IdAtTheStartOfCurrentPage = incomeData.ToList()[0].Id;**
}
I take a page data but at the bold line the incomeData object contains data of the next data page automatically. Why did the Entity Framework do like that?