两条数据当然要进行绑定才可以显示呀!!
写出你的绑定我看看 有没有错??

解决方案 »

  1.   

    this.lstBox.datasource=DatSet
    this.lstbox.valuemember="tablename.fields"
    this.lstbox.displaymember="tablename.fields"
    问题应该在绑定对象上
    this.mybind=this.bindingcontext[Ds,"tablename"]
    我每给dr_selected赋一次值listbox_selectindexchange就会被触发一次我想应该是不停的运行“dr_selected=((DataRowView)this.lstbox.selecteditem).row”这句出错了
      

  2.   

    应该可以的,再好好试试吧!