62,074
社区成员
发帖
与我相关
我的任务
分享
<asp:DropDownList ID="xType" runat="server" Width="120px">
</asp:DropDownList>
DataTable dt = this.GetTypeList();
this.xType.DataSource = dt;
this.xType.DataTextField = "TypeName";
this.xType.DataValueField = "TypeName";
this.xType.DataBind();
this.xType.Items.Insert(0,"请选择");