一样的,学会变通
Dim pbx As WinForm.PictureBox = e.Sender
Dim r As Row = Tables("订单").Current
If r IsNot Nothing Then
If r("审核") = True Then
Dim drFile As DataRow = DataTables("印章表").Find(CExp("单位='{0}'",r("单位")))
If drFile IsNot Nothing Then
e.File = drFile("印章图片") '显示已审核印章图片
Else
e.File = "" '不显示图片
End If
Else
e.File = "" '不显示图片
End If
Else
e.File = "" '不显示图片
End If