例如: RadioButtonList rbtl = new RadioButtonList();
Place1.Controls.Add(rbtl);
rbtl.ID = "rbtl" + count.ToString();
rbtl.RepeatColumns = 4;
//rbtl.RepeatDirection = Horizontal;(这样设置报错)
rbtl.DataTextField = "Cho_Content";
rbtl.DataValueField = "Cho_Id";
rbtl.DataSource = ds.Tables[0].DefaultView;
rbtl.DataBind();