Dim d1 As Date = e.Row("提醒_最近")Dim t As TimeSpan = Date.Now - d1
If val(e.Row("提醒_间隔")) < t.Hours AndAlso e.Row("完成_状态") <>"已完成" AndAlso e.Row("完成_状态") <>"取消" Then e.Style = "任务未完成"End If