Hi,
I have a issue for session object is reassigned. Here I explain detail,
I have a page with Grid which the data will bind using List. Which the list contains a property for a class each row. Like this,
Class Order
{
public string OrderNo{get;set;}
public string Quantity{get;set;}
}
List<order> Here the list object having 1000 rows. I have stored the list in a session variable which is used some other manipulation. For Grid Binding, I can not bind 1000rows at a time. Based on page size i will get the list from order list object. Like this,
OrderList.Skip(start).Take(limit).ToList();
For example, it will return 15 rows to bind the grid only. After binding the data i will get total list (1000 rows) and manipulate some process based on session variable. But session variable object having 15 rows only.
How it is possible to change the session object? I could not reassigned 15 rows to session object.
Please help me solve this problem