日期:2014-05-17  浏览次数:20916 次

我想问问网址上的?后面的页面该怎么在DW8中找到它的编辑视图?
VBScript code
<%

lm2 =trim(request("lm2"))
lm=trim(request("lm"))
if lm2="" then lm2=lm
if lm="" then lm=lm2
if lm2="" then lm2=0

if (not isNumeric(lm)) then
    lm=0
end if


  sql2 = "select * from lm where id="&lm2
  Set rs2 = Server.CreateObject("ADODB.RecordSet")
  rs2.Open sql2,conn,1,1
   if rs2.recordcount=0 then
      sql2 = "select * from lm order by id asc"
      Set rs2 = Server.CreateObject("ADODB.RecordSet")
      rs2.Open sql2,conn,1,1
   end if
   if rs2.recordcount <> 0 then
     mb=trim(rs2("mb"))
     lmm=rs2("lm")&rs2("lm2")&rs2("lm3")
     'Response.Write lmm
     if lm2="0" then lmm="所有栏目"
     
     if mb<>"" then

     sql3 = "select * from newsmb where id="&clng(mb)
     Set rs3 = Server.CreateObject("ADODB.RecordSet")
     rs3.Open sql3,conn,1,1
     if rs3.recordcount<>0 then
         listmb=rs3("listmb")
         listshu=rs3("list")
         tb=rs3("tb")
         lmnameid=rs3("lmname")
         newstime=rs3("newstime")
         newshit=rs3("newshit")
         openwindow=rs3("openwindow")
         icon=rs3("icon")
         listmb=replace(listmb,"$$栏目名$$",lmm)
         listmb=replace(listmb,"$$路径$$",lmaa())
         listmb=replace(listmb,"$$LMID$$",trim(request("lm2")))
         else
            Response.Write "模版设置不正确或已经被删除!"
         end if     
         if instr(listmb,"$$列表$$")<>0 then
             nr=split(listmb,"$$列表$$")
             Response.Write lmid
             response.write nr(0)
             
             Response.Write newslist(listshu,tb,lmnameid,openwindow,icon)
             Response.Write nr(1)
         else
             Response.Write "模版代码不正确,没有找到“$$列表$$”,不知道应该显示在哪里?"
         end if
         rs3.close:set rs3=nothing
      else
          Response.Write "模版代码不正确或已经被删除!"
      end if
      
   else
     Response.Write "模版没有找到或者没有设置"
   end if
%>
<%
conn.close:set conn=nothing
%>

就是用浏览器页面浏览时地址栏显示http://localhost/news_more.asp?lm2=73,我该如何找到这个页面并对它的内容进行一个修改。

------解决方案--------------------
listmb=rs3("listmb")

存在数据库中, 取出来 就可以了 
可以在这里
listmb=rs3("listmb")
response.write listmb
response.end
打印出来 然后 复制 编辑