asp内存溢出,我查找f_user_name字段里的内容如果没有就显示内存溢出了, 如果有就正常能查询出来?怎么解
name=request.QueryString("name")ifname<>""thenstrSQL="SELECT*FROM"&tablename&"wheref_...
name=request.QueryString("name")
if name<>"" then
strSQL="SELECT * FROM " & tablename &" where f_user_name like '%"& name &"%' "
else
strSQL="SELECT * FROM " & tablename &" order by f_user_id asc"
end if
<form action="datlist.asp?table=t_user" method="get">
<input type="text" name="name" id="name">
<input type="submit" name="button" id="button" value="查找"></from> 展开
if name<>"" then
strSQL="SELECT * FROM " & tablename &" where f_user_name like '%"& name &"%' "
else
strSQL="SELECT * FROM " & tablename &" order by f_user_id asc"
end if
<form action="datlist.asp?table=t_user" method="get">
<input type="text" name="name" id="name">
<input type="submit" name="button" id="button" value="查找"></from> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询