-5
如何獲取子記錄頁面中複選框控件的選定值?獲取子記錄中複選框控件的值頁面
int missingCellValue = missingcell.ToInteger;
int irrelevantCellValue = irrelevantCell.ToInteger;
如何獲取子記錄頁面中複選框控件的選定值?獲取子記錄中複選框控件的值頁面
int missingCellValue = missingcell.ToInteger;
int irrelevantCellValue = irrelevantCell.ToInteger;
請添加更多代碼並解釋您的問題。一般的回答了這個問題:
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();
}
請讓我知道,如果這個工程
歡迎SO。請看[遊覽]。您可能還想檢查[我可以詢問哪些主題](http://stackoverflow.com/help/on-topic)和[問],以及如何創建[mcve]。發佈您嘗試過的代碼以及收到的錯誤。儘可能具體,因爲它會導致更好的答案。 – happymacarts