ASP怎么读取需要的值
set rs= Server.CreateObject("ADODB.Recordset")
sql="select teacherid from teacher where techername='"&techername&"' "
rs.Open sql,conn,1,3
xh=
我想把上面里
select teacherid from teacher where techername='"&techername&"'
的teacherid 赋值给 XH怎么做到啊
------解决方案--------------------XH = rs("teacherid").value;