How to enable wap programming in visual Interdev?


[ Follow Ups ] [ Post Followup ] [ WAP Technical Discussion Forum ] [ FAQ ]

Posted by Balaji (202.9.147.198) on June 14, 2000 at 13:15:45:

Hi, This is balaji. I am very new to wap programming. I have knowledge in ASP. I have download some WAP and Asp programs but its not working.

When I try to run the asp page, onw window is coming like DO YOU WANT TO SAVE THE FILE OR OPEN? WHY?

How want to do database programming using asp, wml and xml.

I have added all the MIME type in IIS but still I am not able to view the output of the asp pages in the browser(IE 5).

IS it possible to view the asp page in a wap browser.

What will be the problem? Please any one reply me ASAP.

BELOW IS THE CODE in my ASP PAGE which is not working.

<% Response.ContentType = "text/vnd.wap.wml" %>



<%
Dim conn, rs
Set conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
conn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("Stock.mdb") & ";"
%>




<%
sqlQuery = "SELECT * FROM Staff WHERE StaffID='" & Request.Form("StaffID") & "' AND Password='" & Request.Form("Password") & "'"
set rs = conn.Execute(SQLquery)

if rs.EOF then
Response.Write "Invalid Login"
Response.Write ""
Response.Write " "
Response.Write "
"
'---override the