⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 location.asp

📁 是一个wap+java的不错的例子
💻 ASP
字号:
		<?xml version="1.0" encoding="UTF-8"?>
		<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
		<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
		<head>
		<title>gps locations</title>
		</head>
		<body>
		<%
	set dbConn=Server.CreateObject("ADODB.Connection")
	dbConn.Open("dsn=gps")
	set gps1=dbConn.execute("SELECT * from gps")
	%>
	<%
	While not gps1.eof
	%>
	<%
	if gps1(0)=request.form("latitude") and gps1(1)=request.form("longitude") then
	%>
	<table border="1">
	<tr>
	<td widht="15"><font face="arial" size="2">latitude:</font></td>
	<td width="5"><font face="arial" size="2"><%=gps1("latitude")%></font></td>
	</tr>
	<tr>
	<td widht="15"><font face="arial" size="2">longitude:</font></td>
	<td widht="5"><font face="arial" size="2"><%=gps1("longitude")%></font></td>
	</tr>	
	<tr><td widht="15"><font face="arial" size="2">resturants:</font></td>
	<td widht="5"><font face="arial" size="2"><%=gps1("resturants")%></font></td>
	</tr>	
	<tr>
	<td widht="15"><font face="arial" size="2">hospitals</font></td>
	<td widht="5"><font face="arial" size="2"><%=gps1("hospitals")%></font></td>
	</tr>
	</table>
	<%
		end if
		gps1.MoveNext
			Wend
	%>
	<% 
			gps1.close
			dbConn.close
	%>
	</body>
	</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -