以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  datatype.name将返回什么值?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=91711)

--  作者:cqlwsam
--  发布时间:2016/10/17 14:59:00
--  datatype.name将返回什么值?
如题。如果使用datatype.name将会返回什么值?




--  作者:cqlwsam
--  发布时间:2016/10/17 15:02:00
--  
我要通过获取的类型进行判断,如果是“数值型”就需要将其转化为字符串,如果是“日期型”,也需要转化为字符串
--  作者:有点蓝
--  发布时间:2016/10/17 15:15:00
--  
Dim s  ="123"
Dim i  = 12
If Typeof s Is String Then Output.Show("is String")
If Typeof i Is Integer Then Output.Show("is Integer")