PC6下载站

分类分类

用排序串字段实现树状结构(例程——删除贴子)

关注+2004-11-07作者:蓝点

程序名称:delrec.asp

程序功能:删除贴子(剪枝)





<%

flag=request("flag")

keyid=request("keyid")

pageno=request("pageno")

password=request.form("password")

if flag="1" then

  if password="你的管理密码" then

   set guestconn=Server.CreateObject("ADODB.connection")

   guestconn.Open lybstr

   set cm = Server.CreateObject("ADODB.Command")

   Set cm.ActiveConnection = guestconn

   cm.CommandText = "lybdel"

   cm.CommandType = 4

   set p = cm.Parameters

   p.Append cm.CreateParameter("@keyid",3,1,4)

   cm("@keyid")=keyid

   cm.execute

   guestconn.close

   set guestconn=nothing

   response.redirect "index.asp?pageno="&pageno

  end if

end if

%>



<a href="http://www.baidu.com/baidu?tn=sayyes&word=软件" target="_blank" rel="nofollow"><span class="unnamed8"><font color="#0000FF">软件</font></span></a>使用留言薄管理






















  

   

  

  



请输入管理密码:





展开全部

相关文章

更多+相同厂商

热门推荐

  • 最新排行
  • 最热排行
  • 评分最高
排行榜

    点击查看更多

      点击查看更多

        点击查看更多

        说两句网友评论

          我要评论...
          取消