Foxtable(狐表)用户栏目专家坐堂 → Lines


  共有1805人关注过本帖平板打印复制链接

主题:Lines

帅哥哟,离线,有人找我吗?
恒隆君
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:二尾狐 帖子:496 积分:4055 威望:0 精华:0 注册:2017/7/5 16:15:00
Lines  发帖心情 Post By:2018/4/27 14:01:00 [只看该作者]

根据 e.DataRow("主色墨_墨桶编号") 第一条 查找内容。只有
MessageBox.show("1")  
 才出来。
哪里出错了

.NET Framework 版本:2.0.50727.8825
Foxtable 版本:2018.3.9.1
错误所在事件:表,调制墨信息,DataColChanged
详细错误信息:
Exception has been thrown by the target of an invocation.
未找到类型“String”的公共成员“Lines”。

 Case "主色墨_墨桶编号"
MessageBox.show("1")
        Dim ls As List (of String) = e.DataRow("主色墨_墨桶编号").Lines
MessageBox.show("4")
        If e.newvalue IsNot Nothing Then
MessageBox.show("2")
            Dim dr As DataRow
            dr = DataTables("原色墨信息").Find("[墨桶编号] = ls(0)")
MessageBox.show("3")
            If dr Is Nothing Then
                MessageBox.Show("<原色墨信息>中无此记录","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
            Else
                
                e.DataRow("主色墨_品名") = dr("品名")


 回到顶部