Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]计算

1楼
苏州老街 发表于:2025/4/13 17:36:00
老师好,我想让剩余_总天数的最后一天停止计算,不出现负数。


If e.DataCol.Name = "结束时间" Then
    Dim s As TimeSpan = CDate(e.DataRow("结束时间")) - Date.Today
    e.DataRow("剩余_总天数") = s.Days
End If

2楼
有点蓝 发表于:2025/4/13 20:22:00
If e.DataCol.Name = "结束时间" and e.DataRow("结束时间") > Date.Today Then
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.