以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  获取行号  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=79315)

--  作者:文道古月
--  发布时间:2015/12/28 22:46:00
--  获取行号

老师好:要获取行的行号,下面代码该怎么改呢?

 

For Each dr1 As DataRow In DataTables("过账预览").DataRows
    If dr1.IsNull("移动数量") = False Then

        MessageBox.show(""& dr1("移动数量")(_Identify) & ”为空!")
    End If
Next


--  作者:大红袍
--  发布时间:2015/12/28 22:53:00
--  

For Each dr1 As Row In Tables("过账预览").Rows
    If dr1.IsNull("移动数量") = False Then

        MessageBox.show(dr1.Index & ”为空!")
    End If
Next