标签:use web sele col check lse user items webform
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; } } }
标签:use web sele col check lse user items webform
原文地址:https://www.cnblogs.com/gyl5201314/p/9153814.html