<asp:DropDownList runat="server" ID="yourDDL"> <asp:ListItem Text="Add something" Value="theValue" /> </asp:DropDownList>
您还可以绑定数据:
yourDDL.DataSource = YourIEnumberableObject; yourDDL.DataBind();
编辑:如评论中所述,您还可以以编程方式添加项目:
yourDDL.Items.Add(YourSelectListItem);