标题:求助dropdownlist数据绑定问题
取消只看楼主
girl0001
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:56
专家分:118
注 册:2010-7-17
结帖率:68.75%
已结贴  问题点数:20 回复次数:0 
求助dropdownlist数据绑定问题
DropDownList ddlWorkTypeTitle = (DropDownList)dlsviewEmployee.FindControl("ddlWorkTypeTitle");
  this.dbForEmployee = new DataBaseForEmployee();
  ddlWorkTypeTitle.DataSource = this.dbForEmployee.GetEmpWorkTypeDt();   
  ddlWorkTypeTitle.DataTextField = "WorkTypeTitle";
  ddlWorkTypeTitle.DataValueField = "WorkTypeNum";
  ddlWorkTypeTitle.DataBind();

ddlWorkTypeTitle.Item.Count不为0,但是页面上的DropDownList不显示数据
搜索更多相关主题的帖子: 绑定 dropdownlist 数据 
2010-10-18 01:24



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-323201-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.293706 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved