有没有高手能解决这个问提,多字段查询搜索全部内容
这是一个搜索列表代码,没有条件能搜索出所有的数据,采购单位全部搜索显示为:北京,上海,武汉,天津等等。我只要搜索出纵向采购单位为武汉的所有数据(包括编号,帐号,姓名,联系,电话电子邮件,采购单位,采购物品,确认方式)横向全部内容
,如何修改,请高手解答。在线等。
<html>
<head>
<title> 企业采购信息管理 </title>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<link rel= "stylesheet " href= "system/style.css " type= "text/css "> </head>
<body>
<br>
<%
set rs=server.createobject( "adodb.recordset ")
sqltext= "select * from orderb where 1=1 order by id desc "
rs.open sqltext,conn,1,1
If rs.eof and rs.bof then
call showempty
Else
call list
End if
Sub list()%>
<table width= "95% " border=1 align= "center " cellPadding=0 cellSpacing=0 bordercolor= "#999999 " borderColorDark=#ffffff bgcolor= "#F9F9F9 ">
<tr class=main2>
<td width= "5% " height= "25 " align= "center " background= "Images/topBar_bg.gif "> 编号 </td>
<td width= "9% " align= "center " background= "Images/topBar_bg.gif "> 帐号 </td>
<td width= "7% " align= "center " background= "Images/topBar_bg.gif "> 姓名 </td>
<td width= "15% " align= "center " background= "Images/topBar_bg.gif "> 联系电话 </td>
<td width= "15% " align= "center " background= "Images/topBar_bg.gif "> 电子邮件 </td>
<td width= "17% " align= "center " background= "Images/topBar_bg.gif "> 采购单位 </td>
<td width= "11% " align= "center " background= "Images/topBar_bg.gif "> 采购物品 </td>
<td width= "9% " align= "center " background= "Images/topBar_bg.gif "> 确认方式 </td>