日期:2014-05-17  浏览次数:20756 次

求助,asp类型不匹配
<%option Explicit%>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/functions.asp"-->
<%
Checklogin()
CheckRight()
%>

<%
dim HouseTypeID,Room,Hall,Status,RegionID,xingzheng,HouseID,phone,i,page,sql,rs,bg,saleOrRent,price1,price2,area1,area2,district,jiegou,floor1,floor2
dim BeginDate,EndDate,pageStr,code,fwxz,tuijian,yaoshi
HouseID=Request("HouseID")
Code=Request("HouseID")
saleOrRent=Request("SaleOrRent")
HouseTypeID=Request("HouseTypeID")
fwxz=Request("fwxz")
jiegou=Request("jiegou")
RegionID=Request("RegionID")
floor1=Request("floor1")
floor2=Request("floor2")
xingzheng=Request("xingzheng")
district=Trim(Request("District"))
price1=Request("price1")
price2=Request("price2")
if request("tuijian")<>"" then
tuijian=1
end if
if request("yaoshi")<>"" then
yaoshi=1
end if
area1=Request("area1")
jiegou=Request("jiegou")
area2=Request("area2")
if RegionID="" then RegionID=0
if xingzheng="" then xingzheng=0
if HouseTypeID="" then HouseTypeID=0
Room=Trim(Request("Room"))
if Room="" then Room=-1
Hall=Trim(Request("Hall"))
if Hall="" then Hall=-1
Status=Request("Status")
if Status="" then 
Status=-2
else
Status=cint(Status)
end if
beginDate=Request("dteBegDate")
'If begindate<"2006-07-01" Then
'begindate="2006-07-01"
'End if
endDate=Request("dteEndDate")
'If endDate<"2006-07-01" Then
'endDate="2006-07-01"
'End if
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>房源查询</title>
<script language="JavaScript" src="../js/calendar.js"></script>
<script language=javascript>
function post_fun(id,strType){
//window.location = "house_search_info.asp?SaleOrRent="+strType+"&id="+id
window.location = "house_search_info.asp?id="+id
}
</script>
<link rel="stylesheet" href="../css/style.css" type="text/css">
<base target="_self">
</head>

<body topmargin="0" leftmargin="0" bgcolor="#FFFFCA">
<!--#include file="house_search_menu.asp"-->
<br>

<%
function Search(strTit)
%>
<div align="center">
<table width="800" border=0 ID="Table1" class=Xsmall height="79">
  <form name=form1 action="house_search.asp?SaleOrRent=<%=Request("SaleOrRent")%>&tuijian=<%=Request("tuijian")%>" method=post >
  <tr> 
  <td height="29" align=left> 房源编号:<input type='text' class="inpbox1" size=10 name='HouseID' value='<%=Request("HouseID")%>'>
  小区:<font color=#a52a2a><input type='text' class="inpbox1" size=10 name='district' value='<%=Request("district")%>' ></font>
  区域:<select name=RegionID sty