日期:2014-05-18  浏览次数:20380 次

select传值问题,高手给点思路
<select name="select" size="10" class="wenbenkuang">
  <option >选择商品分类</option>
  <%set rs=server.createobject("adodb.recordset")
rs.Open "select * from product_bigclass order by top",conn,1,1
do while not rs.eof %>
  <option value="pud_sclass.asp?id=<%=rs("id")%>&anclass=<%=rs("nbigarea")%>" <%if rs("id")=cint(request.QueryString("id")) then %>selected<%end if%>><%=trim(rs("nbigarea"))%></option>
  <%rs.movenext
  loop
  rs.close
  set rs=nothing
  %>
</select>

我要做三个这样从数据库拉取数据的select框,想一级一级传到第三个,然后按第三选取的值执行相应操作,主要想知道传值的方法

------解决方案--------------------
前段时间项目中用到了,低级的玩出来了,看看去吧GridView中多个DropDownList的联动问题 .