如果是属于“父”command的则不要写datamember属性,直接
写datafield,如是“子”的command的则datamember写“子”command的名字
我调试了很久才发现这点的:)

解决方案 »

  1.   

    DataReport1.Sections.Item(4).Controls("text2").DataMember = Command2
    DataReport1.Sections.Item(4).Controls("text2").DataField = “**”那应该是这样写吗?(command2是子command)
      

  2.   

    up       以上数据来自: SourceCode Explorer(源代码数据库)
               当前版本: 1.0.690
                   作者: Shawls
               个人主页: Http://Shawls.Yeah.Net
                 E-Mail: [email protected]
                     QQ: 9181729
      

  3.   

    敬请关注!!!!!!!
    http://www.csdn.net/expert/topic/755/755275.xml?temp=.6427271