Hello everyone,
I have tryed to get the values of a CheckBoxList.
The frontcode:
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal" CellSpacing="8">
<asp:ListItem Value="pid">????</asp:ListItem>
<asp:ListItem Value="dptname">??</asp:ListItem>
<asp:ListItem Value="ksname">??</asp:ListItem>
<asp:ListItem Value="logyear">?</asp:ListItem>
<asp:ListItem Value="logmonth">?</asp:ListItem>
<asp:ListItem Value="logday">?</asp:ListItem>
</asp:CheckBoxList>
The following is the code.
protected static string str = "";
protected Boolean CheckList()
{
Boolean flag = false;
...
Go to the complete details ...