Function getResultValue () {var oxmlhttp = new activXObject ("Microsoft.xmlhttp"); OXMLHTTP.Open ("Post", "ProcessReport.aspx", False); OXMLHTTP.SEND ("
" DateFrom "
" Type "
" dateto "
"); //Window.alert (oxmlhttp.responsext); if (oxmlhttp.responsetext! =" ") {window.document.all.presult.style.display =" "; window.document.all.presult.innerhtml = OXMLHTTP.RESPONSETEXT; Window.Document.All.divwait.style.display = "none"; document.all.btnlogin.style.display = '; window.document.all.divprint.style.display ='; ////// Window.Document.all.btnexport.style.display = ""; return;} settimeout ("getResultValue ()", 1000);}
XMLDocument Xmldoc = new xmldocument (); xmldoc.load (request.inputstream);
TYPE = Xmldoc.selectsinglenode ("// type"). InnerText; if (Type == "Close") {return;
DateFrom = Xmldoc.selectsinglenode ("// DateFrom"). InnerText; DateTo = XmLDoc.selectsinglenode ("// DateTo"). innerText;