Foxtable(狐表)用户栏目专家坐堂 → [求助]请问代码哪里错了


  共有2250人关注过本帖树形打印复制链接

主题:[求助]请问代码哪里错了

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


加好友 发短信
等级:三尾狐 帖子:600 积分:4339 威望:0 精华:0 注册:2013/11/2 18:22:00
[求助]请问代码哪里错了  发帖心情 Post By:2014/9/9 15:38:00 [只看该作者]

.NET Framework 版本:2.0.50727.3053
Foxtable 版本:2014.9.2.1
错误所在事件:表,质量证明书,PrepareEdit
详细错误信息:
Exception has been thrown by the target of an invocation.
Items collection cannot be modified when the DataSource property is set.

 

PrepareEdit

Select Case e.Col.Name   
    Case "许可证编号","提货单位","执行标准","牌号","尺寸","长度","购货单位"
        e.Col.ComboList = DataTables("质量证明书").GetComboListString(e.Col.name)
End Select



 回到顶部
帅哥哟,离线,有人找我吗?
Bin
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2014/9/9 15:44:00 [只看该作者]

请上例子,代码没问题,我新建项目测试运行也没有错误.

 回到顶部