Check out example codes for "c# loop through repeater items". It will help you in understanding the concepts better.

Code Example 1

foreach (RepeaterItem item in repeater.Items)
{
    if (item.ItemType == ListItemType.Item || item.ItemType == ListItemType.AlternatingItem)
    {
        CheckBox chk = (CheckBox)item.FindControl("ckbActive");

        bool r = chk.Checked;
    }
}

Learn ReactJs, React Native from akashmittal.com