"打開數(shù)據(jù)庫連接 <!--#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 "調(diào)用指定欄目名稱并將其信息指定給typename typename=rstype("type") "關(guān)閉記錄集 rstype.close %> <head> <title>ASP動(dòng)網(wǎng)先鋒|http://asky.on.net.cn</title> <link rel="stylesheet" href="style.CSS"> </head>