var checkItem = M_PermissionsBz.yz.GetModelList("UserId=" + userId); foreach (var item in checkItem) { foreach (ListItem listItem in ChkBoxList.Items) { if (item.TreeId.ToString() == listItem.Value) { listItem.Selected = true; } else { continue; } } }
webform checkboxlist回填数据
猜你喜欢
转载自www.cnblogs.com/gyl5201314/p/9153814.html
今日推荐
周排行