[Solved] Get values of checkbox controls in sub records page [closed]


Please add more code and explain your question. A general answer to this question:

for (int i = 0; i < action.RecordsCount(); i++)
        {
            RetrievalRecord uiRecord = action.GetRecord(i);
            Action_v_Record dbRecord = uiRecord.DataRecord as Action_v_Record;
            CheckboxRetrievalCell missingcell = uiRecord.GetCell(action.missingAction) as CheckboxRetrievalCell;
            CheckboxRetrievalCell irrelevantCell = uiRecord.GetCell(action.irrelevantAction) as CheckboxRetrievalCell;

            int missingCellValue = missingcell.ToInteger;
            int irrelevantCellValue = irrelevantCell.ToInteger;

            dbRecord.Missing.NewValue = missingCellValue;
            dbRecord.irrelevant.NewValue = irrelevantCellValue;

            dbRecord.Update();
        }

Please let me know if this works

solved Get values of checkbox controls in sub records page [closed]