[求助]定义一函数不知道参数怎么传?????
function showsname(username)
set conn_l=opendb
set rs_1=server.createobject("adodb.recordset")
sql_1="select * from StuInfo where StuID=_____"
rs_1.open sql_1,conn_l,1
if not rs_1.eof and not rs_1.bof then
showsname=rs_1("StuName")
else
showsname=" "
end if
set rs_1=nothing
call closedb(conn_l)
end function
不知道参数username 怎样形式写到横线上.它的数据类型是char