"打开数据库连接 <!--#include file="conn.asp"--> <html> <% "定义变量 dim sql dim rs dim typename dim typeid dim rstype,typesql "接受返回的栏目信息并打开指定栏目记录集type typeid=request("typeid") set rstype=server.createobject("adodb.recordset") typesql="select * from type where typeID="&cstr(typeid) rstype.open typesql,conn,1,1 "调用指定栏目名称并将其信息指定给typename typename=rstype("type") "关闭记录集 rstype.close %> <head> <title>ASP动网先锋|http://asky.on.net.cn</title> <link rel="stylesheet" href="style.CSS"> </head>