public DeviceRegstrationTableRow(int id)
        {
            NameCell       = new TableCell();
            DeviceTypeCell = new TableCell();
            MacAddressCell = new TableCell();
            IPAddressCell  = new TableCell();
            ControllsCell  = new TableCell();

            CompletedCB = new CheckBox()
            {
                Text = "Request Completed", Checked = false
            };
            RejectedCB = new CheckBox()
            {
                Text = "Request Denied", Checked = false
            };
            ProctorCB = new CheckBox()
            {
                Text = "Is Proctor", Checked = false
            };

            ControllsCell.Controls.Add(CompletedCB);
            ControllsCell.Controls.Add(RejectedCB);
            ControllsCell.Controls.Add(ProctorCB);

            this.Cells.Add(NameCell);
            this.Cells.Add(DeviceTypeCell);
            this.Cells.Add(MacAddressCell);
            this.Cells.Add(IPAddressCell);
            this.Cells.Add(ControllsCell);

            RegistrationId = id;
            using (WebhostEntities db = new WebhostEntities())
            {
                WebhostMySQLConnection.RegistrationRequest request = db.RegistrationRequests.Where(req => req.id == id).Single();
                StudentName = String.Format("{0} {1} [{2}]", request.Student.FirstName, request.Student.LastName, request.Student.GraduationYear);
                DeviceType  = request.DeviceType;
                MacAddress  = request.MacAddress;
                Completed   = request.RequestCompleted;
                Rejected    = request.RequestDenied;
                isProctor   = PermissionControl.GetProctors().Contains(request.Student.ID);
                IPAddress   = Completed?"Already Assigned":Rejected?"Will Not Be Assigned":"";
            }
        }