public string cbBox = "";    protected void Page_Load(object sender, EventArgs e)
    {
        cbBoxBind();
    }    private void cbBoxBind()
    {
        //string cbBox = "";
        string sql = "select * from IShop_CM";
        SqlDataReader dr = null;
        dr = sqlHelper.GetReader(sql);
        int i = 1;
        cbBox += "<tr><td>";
        while (dr.Read())
        {
            cbBox += "<asp:CheckBox ID='CheckBox";
            cbBox += i.ToString();
            cbBox += "' runat='server' Text='";
            cbBox += dr["CM"].ToString();
            cbBox += "'/>";
            cbBox += "<asp:TextBox ID='TextBox";
            cbBox += i.ToString();
            cbBox += "' runat='server' Width='25px'></asp:TextBox>";            i++;
        }
        cbBox += "</td></tr>"; ;
        dr.Close();
    }<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#AACCEE" class="Table">
                    
                    <%=cbBox %>
                    
</table>
<%=cbBox %>为什么这个值都是空的,好郁闷