• λ我爱Aspx >> Asp.Net >> ASP连动下拉列表从数据库读取
  • ASP连动下拉列表从数据库读取

  • :未知  Դ:internet  :2007-5-20 16:39:49  ؼ:asp,数据库,数据
  • <!--#include file="conn.asp"--><html>

    <head>

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

    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">

    <meta name="ProgId" content="FrontPage.Editor.Document">

    <title>New Page 1</title>

    </head>

    <body>

    <%

    dim rs

    dim sql

    dim count

    set rs=server.createobject("adodb.recordset")

    sql = "select * from shiinfo order by id asc"

    rs.open sql,conn,1,1

    %>

    <SCRIPT language="JavaScript">

    var onecount;

    onecount=0;

    subcat = new Array();

    <%

    count = 0

    do while not rs.eof

    %>

    subcat[<%=count%>] = new Array("<%= trim(rs("shiname"))%>","<%= trim(rs("shengcode"))%>","<%= trim(rs("id"))%>");

    Ҷƪл˵?
  • һƪasp溢出漏洞
    һƪasp防注入函数