日期:2014-05-16 浏览次数:20375 次
function getPage(url){
var xhr=window.ActiveXObject? new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();
xhr.open('get',url,false);
xhr.send(null);
return xhr.responseText
}
function login_onblur()
{
var content= getPage(login_onblur.asp)
alert(content)
}
var sql
sql = "select A.User_code,A.User_name,A.User_PSD,CONVERT(varchar(100), P.Begin_date, 23) as Begin_date, CONVERT(varchar(100), P.END_date, 23) as END_date,Q.vendorCode,Q.cvenname FROM vendor_username A LEFT JOIN vendor_JiaoFei P ON A.vendorid=P.vendorid LEFT JOIN ba_vendor_all Q ON A.vendorid=Q.vendorid where A.if_active=1 and getDATE()>=P.Begin_date and getDATE()<=P.END_date and A.User_Code="
Response.Write(sql)