前端:
<asp:DropDownList ID="industry" runat="server"></asp:DropDownList>
后端:
//加载行业 DataTable hydt = SqlEasy.ExecuteDataTable("select * from Sys_Dics where CategoryId=102"); this.industry.DataSource = hydt;//指定行业控件数据源 this.industry.DataTextField = "Title"; //this.industry.DataValueField = "Ttile"; this.industry.DataBind();//绑定行业空间数据源
Copyright © 2004-2024 Ynicp.com 版权所有 法律顾问:建纬(昆明)律师事务所 昆明市网翼通科技有限公司 滇ICP备08002592号-4