有字符型和整数型,怎么改代码啊? Post By:2017/3/24 16:30:00 [显示全部帖子]
Case "遗属身份证号码" Dim nms() As String = {"每月享受补助金额","调标后每月补助金额","遗属姓名"} If e.Newvalue Is Nothing Then For Each nm As String In nms e.DataRow(nm) = Nothing Next Else Dim pr As DataRow pr = DataTables("遗属基础信息").Find("遗属身份证号码 ='" & e.Newvalue &"'") If pr IsNot Nothing Then For Each nm As String In nms e.DataRow(nm) = pr(nm) Next End If End If