28,406
社区成员
发帖
与我相关
我的任务
分享
Function GetProductModel(productid)
Set conn1=Server.CreateObject("ADODB.Connection")
Set rs1=Server.CreateObject("ADODB.Recordset")
conn1.open DBCONN
sql1="select * from product where productid = "&productid
rs1.open sql1,conn1
if not rs1.eof then
GetProductModel = rs1("productmodel")
else
GetProductModel =""
end if
end Function
其他的好像没什么错误