难题:如果让IList在dataSource下拉列表中能显示出来?象dataset就能被IDE识别,用于ListBox等作为datasource

steeven 2003-10-03 09:59:17
我们的程序中没有使用ds,dt,dv,虽然是IList接口的数据,但是vs的desinger不识别,在property窗口中,datasource下拉列表中不会出现,在程序中可以设置。

怎样让IList接口的数据能出现在datasource的下拉列表中呢?
我搜索了很久, 请各位大侠指点~~~谢谢!
...全文
58 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
rainbowjjx 2004-01-14
  • 打赏
  • 举报
回复
up
rainbowjjx 2004-01-13
  • 打赏
  • 举报
回复
gz
tjq_tang 2004-01-13
  • 打赏
  • 举报
回复
dongtianjie 2004-01-13
  • 打赏
  • 举报
回复
xuzhengchang1029 2004-01-13
  • 打赏
  • 举报
回复
顶一下,回去查书
13880079673 2004-01-13
  • 打赏
  • 举报
回复
不会是property.Add(DateSourse)吧,呵呵,猜的
SaSBYa 2004-01-13
  • 打赏
  • 举报
回复
偶回去看看
rainbowjjx 2004-01-13
  • 打赏
  • 举报
回复
gz
rainbowjjx 2004-01-13
  • 打赏
  • 举报
回复
up
JGTM2000 2003-10-29
  • 打赏
  • 举报
回复
Try to declare those data source instances as public fields in the form class and instantiate them in the InitializeComponent() method. The data source classes may need to be descendants of Component class. Cannot remember now. Please check for product's documentation for more information.

FYI.
steeven 2003-10-28
  • 打赏
  • 举报
回复
这个帖子怎么结啊?
steeven 2003-10-07
  • 打赏
  • 举报
回复
绝望的up一下
steeven 2003-10-04
  • 打赏
  • 举报
回复
自己up一下,难道dao的鼓吹者没有碰到这个问题?

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧