这个查询语句有什么问题??
Oer 2003-08-21 10:18:36 <form method="post" action="sg1hbCX.asp" name="CXsg1hb" >
供货单位:<input type="text" name="ghdw" size=10>
<input type="submit" name="find" value="查询">
</form>
以下是sg1hbCX.asp
if request("find")<> Empty then
strghdw=trim(request("ghdw"))
end if
strSQL=" select gbsj,ghdw from tab_jlqcb where 1=1"
if len(strghdw)<>0 then
sqlghdw=" and ghdw = ' " & strghdw & " ' "
strSQL=strSQL +SQLghdw
else
strsql=strsql
end if
再问一个问题:
我在E:\sgdzwl\adoconn.asp(这是一个连接后台)
E:\sgdzwl\sgdzwl\sg1hb.asp
在sg1hb.asp中怎么调用adoconn.asp
我在sg1hb.asp中这样写
<!-- #include file="adoConn.asp" -->
不行,那怎么写??