当前位置: 代码迷 >> ASP.NET >> select传值有关问题,高手给点思路
  详细解决方案

select传值有关问题,高手给点思路

热度:1480   发布时间:2013-02-25 00:00:00.0
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的联动问题 .
  相关解决方案