这个不能用表达式的,只能用代码,设置DataColChanged事件:
Select Case e.DataCol.Name
Case “开始时间", "延长天数"
If e.DataRowIsNull("开始天数") Then
dr("第三列") = Nothing
Else
dr("第三列") = e.DataRow("开始日期").AddDays(e.DataRow(”延长天数")
End If
End Select