"翻开数据库毗连
<!--#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>