protected bool UpdateApplyEquipment(int applyRecordId) { int count = this.gvEquipment.Rows.Count; int[] array = new int[count]; int num = 0; foreach (GridViewRow gridViewRow in this.gvEquipment.Rows) { array[num] = (int)this.gvEquipment.DataKeys[gridViewRow.RowIndex]["RecordID"]; num++; } return(ConferenceManage.ApplyEquipment(applyRecordId, array)); }