if sql_where="" then
sql ="Select * From bzglsw where jsc<>'2' order by id desc"
else
sql ="Select * From bzglsw "&sql_where&" and jsc<>'2' order by id desc"
end if
去掉下面的正确没错误
但是同时加上下面的有错误 提示语句为结束 请问如何组织
if Session("UserName") = "user" or Session("UserName") ="admin" then
sql ="Select * From bzglsw where jsc<>'2' order by id desc"
else
sql ="Select * From bzglsw where jsc<>'2'and userid=Session("userid") order by id desc"
end if