📅  最后修改于: 2022-03-11 14:49:10.094000             🧑  作者: Mango
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;
}
}