Int32 DisplayStock(string ManufacturerNameFilter)
        {
            //var to store the primary key
            Int32 ShoeNo;
            //va to store the manufacturer
            string ManufacturerName;
            //var to store laptop name
            string ShoeName;
            //create an instance of the laptop collection class
            clsStockCollection Stock = new clsStockCollection();

            Stock.FilterByManufacturerName(ManufacturerNameFilter);
            //var to store the count of records
            Int32 RecordCount;
            //var to store the index for the loop
            Int32 Index = 0;

            //get the count of records
            RecordCount = Stock.Count;
            //clear the list box
            lstStock.Items.Clear();
            //while there are records to process
            while (Index < RecordCount)
            {
                //get the primary key
                ShoeNo = Stock.StockList[Index].ShoeNo;
                //get the manufacturer
                ManufacturerName = Stock.StockList[Index].ManufacturerName;
                //get the laptop name
                ShoeName = Stock.StockList[Index].ShoeName;
                //create a new entry for the list box
                ListItem NewEntry = new ListItem(ManufacturerName + " " + ShoeName, ShoeNo.ToString());
                //add the laptp to the list
                lstStock.Items.Add(NewEntry);
                //move the index to the next record
                Index++;
            }
            //return the count of records found
            return(RecordCount);
        }//