📄 search.asp
字号:
<% option explicit%>
<!-- #include virtual="include/DataEnvi.asp" -->
<%
If Request.Form.Count > 0 Then
Dim ObjDB
Dim C
Dim StrWhere
Set ObjDB = Server.CreateObject("ADODB.Connection")
OpenDB ObjDB
Set C = Server.CreateObject ("CMS2003.DBhandle")
C.Init(ObjDB)
StrWhere = C.Search("Is")
Response.Redirect "List.asp?W="& Server.URLEncode(StrWhere)
ObjDB.Close
Set ObjDB = Nothing
End If
%>
<%'==================================================================%>
<%Sub Main%>
<%'------------------------------------------------------------------%>
<form action="" method="post" onsubmit="return(CheckForm(this))" id=form1 name=form1>
<table class=Ltable cellspacing=1 cellpadding=3>
<tr class=LHtr>
<td width="15%">搜索</td>
<td width="85%" colspan=2></td>
</tr>
<tr class=Ltr><td colspan=2><input type="checkbox" name=IsCLBH>车辆编号</td><td><input type=text class=input name="CLBH"></td></tr>
<tr class=Ltr><td colspan=2><input type="checkbox" name=IsCPHM>车牌号码</td><td><input type=text class=input name="CPHM"></td></tr>
<tr class=Ltr><td colspan=2><input type="checkbox" name=IsCLLX>车辆类型</td><td><input type=text class=input name="CLLX"></td></tr>
<tr class=Ltr><td colspan=2><input type="checkbox" name=IsFDJH>发动机号</td><td><input type=text class=input name="FDJH"></td></tr>
<table cellspacing=1 cellpadding=3>
<tr>
<td>
<input type="submit" name="Submit" class=Button value="搜 索">
<input type="button" class=Button value="取 消" onclick="doList()"></td>
</tr>
</table>
</form>
<%
End Sub
%>
<!-- #include file="Templet.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -