<!-- #include file="conn.inc.asp"-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<form action="" method="post" name="form" id="form">
<label>
<select name="f_leib" id="f_leib">
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from leib order by l_id ",conn,1,1
While NOT Rs.EOF
tmid=rs("l_id")
%>
<option value="<%=rs("l_id")%>" selected><%=rs("l_name")%></option>
<%
Rs.MoveNext
Wend
rs.close
%>
<option value="" selected>-请选择类别-</option>
</select>
<select name="f_boards" id="f_boards">
<%
rs.open "select * from boards where b_lid='"&tmid&"'",conn,1,1
While NOT Rs.EOF
%>
<option value="<%=rs("b_id")%>" ><%=rs("b_name")%></option>
<%
Rs.MoveNext
Wend
rs.close
%>
<option value="" selected>-请选择版块-</option>
</select></label>
</form>
</body>
</html>
如何实现联动效果?请大家帮忙一下 谢谢了 l_id 和 b_lid 是关系字段