mingcheng = String(Request("mingcheng"));
}else{
mingcheng = "";}
var zhanghao = "%";
if (Request("zhanghao") != null&&String(Request("zhanghao"))!="undefined") {
zhanghao = String(Request("zhanghao"));
}else{
zhanghao = "";}
var searchsql="select * from yonghu where yonghu.mingcheng like '%"+mingcheng+"%' and yonghu.zhanghao like '%"+zhanghao+"%' ";
rs.Open(searchsql,ConnectObj,1,1);
RecordCount = rs.RecordCount;
MaxPage = RecordCount % PageSize;
if (RecordCount % PageSize == 0) {
MaxPage = DivINT(RecordCount , PageSize);
} else {
MaxPage = DivINT(RecordCount , PageSize) + 1;}
if(PageNo>MaxPage) PageNo = MaxPage;%>