private void assignHardwareToPeople()
        {
            String strNameAD     = grvRequests.SelectedDataKey["nameAD"].ToString();
            String strInternalNr = grvRequests.SelectedDataKey["internalNr"].ToString();
            String strSerialNr   = grvRequests.SelectedDataKey["serialNr"].ToString();

            Models.User getIndex  = new Models.User(strNameAD);
            int         userIndex = getIndex.ReturnEventID();
            var         request   = new Hardware(userIndex, strInternalNr);

            request.BindEventID();
            Hardware requestedHardware = new Hardware();

            requestedHardware.ArchiveAssignedHardware(strSerialNr, strInternalNr, userIndex); //Archive the assigned hardware
            String strModelNr      = "";
            String strManufacturer = "";

            requestedHardware.CreateXML("AssignedHardware", strSerialNr, strInternalNr, strManufacturer, strNameAD, strNameAD, strModelNr); //Temporary
        }
        private void assignHardware(int index, String internalNr)
        {
            var assignedHardware = new Hardware(index, internalNr);

            assignedHardware.BindEventID();
        }