setpopedom.asp
来自「红金羚v1.5办公自动化软件是基于大型数据库系统开发的应用系统」· ASP 代码 · 共 19 行
ASP
19 行
<%
function getpopedom(popedomtype,username)
dim errinfo
errinfo=""
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from userinf where username='" &username&"'"
rs.open sql,conn,1
if rs.eof and rs.bof then
errinfo="对不起,没有这个用户!"
elseif rs(popedomtype)="no" then
errinfo="对不起,您不能执行这个功能!"
end if
set rs=nothing
conn.close
set conn=nothing
getpopedom=errinfo
end function
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?