Foxtable(狐表)用户栏目专家坐堂 → 表的问题


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

主题:表的问题

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


加好友 发短信
等级:小狐 帖子:367 积分:2805 威望:0 精华:0 注册:2015/4/12 12:13:00
  发帖心情 Post By:2018/7/3 14:31:00 [显示全部帖子]

If e.DataCol.name = "开奖号" AndAlso e.DataRow("开奖号").length >= 5 Then

        Dim t As Table = Tables("老时时彩")
        For i As Integer = 0 To t.rows.count-10
            Dim r1 As Row = t.rows(i)
            Dim flag As String = "无"
            For j As Integer = i+1 To i+9
                Dim r2 As Row = t.rows(j)
                If r1("开奖号").substring(0,1) = r2("开奖号").substring(0,1) Then
                    flag = "有"
                    Exit For
                End If
            Next
           If IsNumeric(r1("开奖号")) Then     r1("第四列") = flag
        Next

End If


 回到顶部