asp¼ÓÔØXMLÎÊÌâ
ÎÒÒªÓÃASP¼ÓÔØÒ»¸öXML£¬ÓÐÁ½¸öÎļþ£¬sxml.aspÕâ¸öÎļþÓÃÀ´ÏÔʾXML£¬search.asp Õâ¸öÎļþ¼ÓÔØXML
´úÂëÈçÏ£º
sxml.asp
VBScript code:
<%
response.ContentType = "text/xml"
response.Write("<?xml version=""1.0"" encoding=""utf-8""?><Root><Citys RowCounts=""2""><row><SubRowId>1</SubRowId><CityID>489</CityID><CityName>È«¹ú</CityName></row><row><SubRowId>2</SubRowId><CityID>530</CityID><CityName>±±¾©</CityName></row></Citys></Root>")
%>
XMLͼ£º
search.asp
VBScript code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
response.Charset = "uft-8"
dim xmlcontentCity,xmldocCity
function SearchCity()
set xmlHttp = server.CreateObject("Msxml2.XMLHTTP")
xmlHttp.open "GET","sxml.asp",false
xmlHttp.send
if xmlHttp.readyState = 4 then
xmlcontentCity = xmlHttp.responseText
set xmldocCity = server.CreateObject("Microsoft.XMLDOM")
xmldocCity.async = false
xmldocCity.l
Ïà¹ØÎÊ´ð£º
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
conn.asp
<%
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&server.MapPath("Connt ......
ÎÒÔ±¾ÊÇѧjspµÄ¿ÉÕÒÁËÒ»¸öASPµÄ¹«Ë¾£¡ÎÒÒªÖØÐÂѧϰ£¡ ѧϰASP£¡ Ï£Íû´ó¼ÒÍÆ¼öÒ»±¾ºÃÊ鏸ÎÒлл
<ASP3.0¸ß¼¶±à³Ì> ÍøÉÏÓеç×Ó°æµÄ
·¢ÏÖÍøÉÏaspÐÅϢʱ×î¶àµÄ ±ÈÆäËûµÄ¶¼¶àºÃ¶à
yun
ÕÒ±¾ÓÐÓ¦ÓÃÊÂÀýµÄA ......
ÓÉÓÚ¶ÔÒ³ÃæÊ¹ÓÃÁËα¾²Ì¬
²¢ÇÒ¶ÔID½øÐÐÁ˼ÓÃÜ¡£
Ö÷Òª´úÂëÈçÏ£º
httpd.ini
RewriteRule /List-([0-9,a-z]*).html /List.asp\?ComId=$1 [N,I]
³ÌÐò´úÂë
AΪ¼ÓÃÜ£¬BΪ½âÃܺ¯Êý
<a href=&q ......
½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£
µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£
¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£
¶÷ÔõôȡÏûÄØ£¿
Òªµ ......