指引网

当前位置: 主页 > 编程开发 > ASP >

asp数据库查询代码

来源:网络 作者:佚名 点击: 时间:2017-08-23 21:47
[摘要] 指引教程为您提供asp数据库查询代码等资源,欢迎您收藏本站,我们将为您提供最新的asp数据库查询代码资源
<script>ec(2);</script>

 call per.getPermition("news",0)
 Dim title,sql,rs
 title = Lib.safeRequest("/",0)
 sql = "select Id From [" & cfg.TablePrefix & "news] where title = '" & title & "'"
 rs = dbo.Query(sql)
 If isEmpty(rs) Or isNull(rs) Then
  Response.Write(0)
 Else
  Response.Write(1)
 End If
 Set Lib = Nothing : Set Dbo = Nothing

------分隔线----------------------------