Here is an interesting thing I noted the other day. I have an ASP.Net 2.0 application, and in one of the forms, I store the search criteria that you enter on that page in an instance of my ScheduleSearchCriteria class:
private class ScheduleSearchCriteria
{
public int WarehouseID;
public int ProductionGroupID = -1;
public bool ShowDetails = false;
public ScheduleSearchCriteria( int warehouseID)
{
WarehouseID = warehouseID;
}
}
This instance is placed in a Session variable, so that when you come back to the page, the search criteria can be reinitialized with the ...