在aspx定义了一个CheckBoxList,其值通过DataSource连接数据库取得:
  <asp:CheckBoxList ID="Vertical" runat="server" DataSourceID="SqlDataSource1" DataTextField="BUName"
       DataValueField="BUName" RepeatDirection="Horizontal" RepeatColumns="5" TextAlign="Right">
  </asp:CheckBoxList>
  <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:CSHInternalConnectionString %>"SelectCommand="SELECT [BUID], [BUName] FROM [BU]">    </asp:SqlDataSource>
   页面初始化之之后形成一组复选框。
   我的疑问是,这个CheckBoxList的Items.Count的值是0?