asp.net 直接Response输出WML页面

2016-12-30 09:56:08来源:oschina作者:深圳大道人点击

protected void Page_Load(object sender, EventArgs e)
{
Response.ContentType = "text/vnd.wap.wml";
StringBuilder builder = new StringBuilder();
builder.AppendLine("<?xml version=/"1.0/" encoding=/"UTF-8/" ?>");
builder.AppendLine("");
builder.AppendLine("");
builder.AppendLine("");
builder.AppendLine("");
builder.AppendLine("");
builder.AppendLine("");
builder.AppendLine("

/"公开信息查阅中心/"
");
builder.AppendLine("新闻动态|部门机构
");
builder.AppendLine("档案文件|最新文件
");
builder.AppendLine("");
builder.AppendLine("

");
builder.AppendLine("
");
Response.Write(builder.ToString());
Response.End();
}

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台