我遇到了一个难题耶!
代码如下:
--------------------------------
slctdwgSQL = "select * from pro_part where pro_num ="&fir&" and part_num ="&sec&""
set RSslctdwg = conn.execute(slctdwgSQL)
part_exited_dwg = RSslctdwg("part_exited_dwg") + dwgsize
--------------------------------
就是在两个变量相加的时候出错。
可是如果我将两个结果使用函数——cint转换成整数就没有问题了。
难道是数据类型不好用吗?
为什么ASP里面没有单精度、双精度与string转换的函数?
等待中!…………
part_exited_dwg=CDbl(RSslctdwg("part_exited_dwg")) + CDbl(dwgsize)