|
|
当前位置:首页 > > select列表框数据库导入 |
<select name="style" style="width:80"> <% set rs2=server.createobject("adodb.recordset") rs2.open "select * from sort",conn,1,1 if not rs2.eof then do while not rs2.eof %> <option value="<%=rs2("type")%>" <% If isedit then if rs("type")=rs2("type") then%> selected="selected"<% End If %><% End If %>><%=rs2("type")%></option> <% rs2.movenext loop end if rs2.close set rs2=nothing %> </select>
|
|