1、不要用关键字作为列名,也就是不要把列名改成比如 date 之类的。
2、试试改成
Dim max As Date = t.Compute("max([Date])")Dim min As Date = t.Compute("min([Date])")