Int32 DisplayStaff(string LastNameFilter)
        {
            //var to store the primary key
            Int32 StaffNo;
            //va to store the manufacturer
            string LastName;
            //var to store laptop name
            string FirstName;
            //create an instance of the laptop collection class
            clsStaffCollection Staff = new clsStaffCollection();

            Staff.FilterByLastName(LastNameFilter);
            //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 = Staff.Count;
            //clear the list box
            lstStaff.Items.Clear();
            //while there are records to process
            while (Index < RecordCount)
            {
                //get the primary key
                StaffNo = Staff.StaffList[Index].StaffNo;
                //get the manufacturer
                LastName = Staff.StaffList[Index].LastName;
                //get the laptop name
                FirstName = Staff.StaffList[Index].FirstName;
                //create a new entry for the list box
                ListItem NewEntry = new ListItem(LastName + " " + FirstName, StaffNo.ToString());
                //add the laptp to the list
                lstStaff.Items.Add(NewEntry);
                //move the index to the next record
                Index++;
            }
            //return the count of records found
            return(RecordCount);
        }