CÓDIGO
FUENTE/DEMOS
COMO SE REALIZA CON ASP UNA CONEXION CON BASE DE DATOS (EJEMPLO 1)
<% @LANGUAGE="VBScript" %>
<%
acceptString = Request.ServerVariables("HTTP_ACCEPT")
if Instr(LCase(acceptString),"wap") > 0 then
Response.ContentType = "text/vnd.wap.wml"
%>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="main">
<p>Acceso WAP</p>
</card>
</wml>
<%
else
Response.ContentType = "text/html"
%>
<html>
<body>
<p>Acceso WEB</p>
</body>
</html>
<%End If%>
Enviado por Antonio Sanz a wmlclub@listas.wmlclub.com