Label1的DataFormat事件代码:
If e.Value < Date.Today Then e.Sender.ForeColor = Color.redElse e.Sender.ForeColor = Color.BlackEnd If