
加好友 发短信
等级:狐神
帖子:4872
积分:35356
威望:0
精华:0
注册:2008/8/31 22:44:00
|
Post By:2013/7/13 7:56:00 [显示全部帖子]
If e.DataCol.Name = "长度" For Each dr As DataRow In DataTables("表A").Select("长度>0","长度 DESC") If e.NewValue >= dr("长度") Dim dr1 As DataRow = DataTables("表A").Find("长度=" & dr("长度")) e.DataRow("单位") = dr1("单位") Exit For End If Next End If
|
|