Foxtable(狐表)用户栏目专家坐堂 → DataList的DrawCell出错!系统的BUG?


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

主题:DataList的DrawCell出错!系统的BUG?

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


加好友 发短信
等级:管理员 帖子:47480 积分:251289 威望:0 精华:91 注册:2008/6/17 17:14:00
  发帖心情 Post By:2009/3/18 19:25:00 [显示全部帖子]

老兄,你的错误很低级啊



不过也是常见错误,正确的代码:

dim dr as datarow = datatables("表B").find("[第一列]=" & e.datarow("第一列"))
 if
dr isnot nothing then
     if
e.colname="第一列" or e.colname="第四列"
         if
e.datarow("第二列") <> dr("第二列")
             e.style=
"BBb"
        
else
             e.style=
"AAA"
        
end if
     end
if
 end
if

 回到顶部