帮你顶以下
我也想知道怎么做的
很想学wap
共同努力呀

解决方案 »

  1.   

    跟XML差不多。http://wapsite.elong.com/toolbox/pda.html
      

  2.   

    用微软的移动开发包工具吧
    VS2003自带该工具,
    VS2002需要自己去微软网站下载安装即可。开发很简单,和写ASPNET程序没区别。
    比以前用ASP/JSP来写WML好多了。需要注意,手机WML表单提交编码与IIS5不兼容,IIS升级即可。
      

  3.   

    to stevejobs
    我用vs2003写了一个,如何才能看到标准wml代码呢?
      

  4.   

    我是用模拟器看的,但看到的source不是标准的wml代码
    我想问,用什么方面可以看到.net编写的wap的标准wml代码?
      

  5.   

    treecy(紫盈燕)
    用模拟器就可以看到。没有什么标不标准的WML代码,这没关系的吧?
    能实现功能就行啊
      

  6.   

    xuu27(乐者为王(xuu27)) IE是浏览不到的WML的。
    一个HTML一个是WML两者不同的吧?
      

  7.   

    一般可以这样:public string Header(string id,string title)
    {
    string sHeader="<?xml version=\"1.0\" ?> \r\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\r\n<wml>";
    string sCard=" <card id=\""+id+"\" title=\""+title+"\">";
    return sHeader+sCard+"\r\n";
    }private void Page_Load(object sender, System.EventArgs e)
    {
    Response.ContentType="text/vnd.wap.wml";
    Response.Write(Header("main","测试"));
    Response.End();
    }
      

  8.   

    我现在用.net写了一个,MobileWebForm1.aspx代码如下<%@ Page language="c#" Codebehind="MobileWebForm1.aspx.cs" Inherits="smgserver.MobileWebForm1" AutoEventWireup="false" %>
    <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
    <HEAD>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="C#">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/Mobile/Page">
    </HEAD>
    <body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
    <mobile:Form id="Form1" runat="server">
    <mobile:Label id="Label1" runat="server">Hello World</mobile:Label>
    </mobile:Form>
    </body>
    而我在模拟器中看到的source为<!-- WBXML public ID number 0x0004: "-//WAPFORUM//DTD WML 1.1//EN" -->
    <html>
      <p:card>
        <p>Hello World</p>
      </p:card>
    </html>我怎么才能看到标准的wml代码呢?
      

  9.   

    你用Openwave SDK 5.1来测试就能看见标准的Wml代码