Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
下载信息 [文件大小: 下载次数: ] | |
![]() |
帮忙看下怎么实现 谢谢!
月份 可以 以30天为基准..
这是计算年?
知道怎么算月了。 yyyy 年 q 季 m 月 y 一年的日数 d 日 w 一周的日数 ww 周 h 时 n 分钟 s 秒
那怎么变成 文字版的呢? 如果函数 怎么写? 用表达式可以么?
If e.DataRow("工龄") > 0 And e.DataRow("工龄") <= 3 Then
e.DataRow("工龄") = "0-3个月"
Else If e.DataRow("工龄") > 3 And e.DataRow("工龄") <= 6 Then
e.DataRow("工龄") = "3个月到半年"
End If
这样写会报错。
请问:在表A中订单号列要做成是必填写记录。不能空记录,这样的话怎么才能做好呀? |
if e.datacol.name="xxxx" then
if e.datarow.isnull("订单号") then
MessageBox.Show("订单号列不许为空")
e.Cancel = True
end if
end if