无法统计管理员总数
Can't count the total admins
每次我尝试访问我的 default.asp 都会给我错误
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/mysite/default.asp, line 65
根据第65行我有这个功能
Function GetTotalAdminsSys
Set RS = Conn.Execute("SELECT COUNT(id) as UserCount FROM Admins WHERE Role = admin ")
GetTotalAdminsSys = RS("UserCount")
RS.Close
End Function
有人可以帮忙吗?
@petepetey 您在管理员中缺少 '
应该是Role = 'admin'
每次我尝试访问我的 default.asp 都会给我错误
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/mysite/default.asp, line 65
根据第65行我有这个功能
Function GetTotalAdminsSys
Set RS = Conn.Execute("SELECT COUNT(id) as UserCount FROM Admins WHERE Role = admin ")
GetTotalAdminsSys = RS("UserCount")
RS.Close
End Function
有人可以帮忙吗?
@petepetey 您在管理员中缺少 '
应该是Role = 'admin'