下拉框连动菜单(要支持数据库的)

来源:百度知道 编辑:UC知道 时间:2024/07/01 03:07:30
我在做一个下拉狂连动的小代码,但数据库中存进的数据是数字的,但我想存下拉框中的汉字,请问如何实现,还望指教,由于本人技术能力有限,希望大家在代码后标一下注释

哪有看不明白的问我.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<style type="text/css">
<!--
.style1 { font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>

<body>
<form name="myform1" method="post" action="">
<table width="100%" border="1">
<tr>
<td colspan="2"><div align="center">
<!--#include file="conn.asp"-->

</div>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<div align="center">
<%dim count
set rs=server.createobject("adodb.recordset")
rs.open "select * from xiaolei ",conn