3
我試過下面的代碼,但它不工作。請幫我找到解決方案。在Asp.net代碼中設置滾動爲checkboxlist?
源代碼:
CheckBoxList chklstProducts = new CheckBoxList();
chklstProducts.DataSource = lstProduct;
chklstProducts.ID = "chklstProducts" + (i + 1);
chklstProducts.DataValueField = "ProductID";
chklstProducts.DataTextField = "ProductName";
chklstProducts.DataBind();
cell6.Height = 20;
在此先感謝