Foxtable(狐表)用户栏目专家坐堂 → 代码出错(已解决)


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

主题:代码出错(已解决)

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:109719 积分:558305 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2024/9/30 11:04:00 [显示全部帖子]


Dim nf As Integer = val(e.Sender.text)
e.Form.Controls("TextBox22").text = Nothing
If nf > 1623 Then 
    Dim fdr As DataRow = DataTables("年号").Find("年份 = '" & nf & "'")
    If fdr Isnot Nothing Then
        e.Form.Controls("TextBox22").text = fdr("年号")
    End If
End If

 回到顶部