rs.Fields.Append "oneStar", 200, 50 是价格类型?怎么装成数字类型
rs.Fields.Append "oneStar ", 200, 50
rs.Fields.Append "week_re ", 200, 50
这个方法后面参数是什么意思,价格字段吗,如何写成数字类型?
------解决方案--------------------整数 3,4
双精度浮点数 5,8
------解决方案--------------------http://www.yesky.com/imagesnew/software/ado/html/mdmthappend.htm
不要用数字,要养成用枚举的习惯
在ASP文件最上方用 <!--METADATA--> 标签引用ADO的TypeLIB库
<!--METADATA TYPE= "TypeLib " NAME= "Microsoft ActiveX Data Objects 2.5 Library " UUID= "{00000205-0000-0010-8000-00AA006D2EA4} " VERSION= "2.5 "-->
rs.Fields.Append "oneStar ", 200, 50
rs.Fields.Append "week_re ", 200, 50
既
rs.Fields.Append "oneStar ", adVarChar, 50
rs.Fields.Append "week_re ", adVarChar, 50
这样子看就很清晰了