我在AfterOpenProject 事件中写了以下两句话,
Dim tjrqs As List(Of Date)tjrqs = DataTables("资金占用").GetValues("统计日期")
(其中资金占用表中统计日期为日期时间型数据)
执行时报错
无法将类型为“System.Collections.Generic.List`1[System.String]”的对象强制转换为类型“System.Collections.Generic.List`1[System.DateTime]”。
这句话应该怎么写
谢谢各位老师