<asp:CheckBoxList ID="chkZt" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
<asp:ListItem Value="1">主题1</asp:ListItem>
<asp:ListItem Value="2">主题2</asp:ListItem>
<asp:ListItem Value="3">主题3</asp:ListItem>
<asp:ListItem Value="4">主题4</asp:ListItem>
<asp:ListItem Value="5">主题5</asp:ListItem>
<asp:ListItem Value="1">主题1</asp:ListItem>
<asp:ListItem Value="2">主题2</asp:ListItem>
<asp:ListItem Value="3">主题3</asp:ListItem>
<asp:ListItem Value="4">主题4</asp:ListItem>
<asp:ListItem Value="5">主题5</asp:ListItem>
</asp:CheckBoxList>
写入:model.zt_id = string.Join(",", chkZt.Items.Cast<ListItem>().Where(i => i.Selected).Select(i => i.Value));
显示:chkZt.Items.Cast<ListItem>().Where(i => model.zt_id.Contains(i.Value)).Select(i => i.Selected = true).ToList();