La Comunidad de Desarrolladores WAP
@ Contacta con nosotros
  .WMLClub


APRENDIZAJE
- Tutoriales
- Código fuente / Demos
- FAQS
- Configuración móviles
- Demos en WAP

HERRAMIENTAS
- Programas / Download
- Creación de contenidos

ARCHIVO
- FAQS
- Terminales WAP
- Documentos
- Artículos
- Noticias
- Links
- Libros
- Índice WAP

    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