If e.DataCol.Name = "日期" Then If e.NewValue Is Nothing Then e.DataRow("节日名称") = Nothing Else Dim dr As DataRow dr = DataTables("节假日清单").Find("[日期] = #" & e.NewValue.Date & "#") If dr IsNot Nothing Then e.DataRow("节日名称") = dr("节日名称") End If End If End If