<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#"%>
<Mobile:Form Runat="Server">
<DeviceSpecific>
<Choice Filter="IsWML">
<HeaderTemplate>
<b>Welcome to this Web site!</b>
<br/>
</HeaderTemplate>
<FooterTemplate>
<small>All Content Copyrighted 2001</small>
</FooterTemplate>
</Choice>

<Choice Filter="IsHTML32">
<HeaderTemplate>
<table width="100%" bgcolor="yellow">
<tr>
<td>
welcome to this Web site!
</td>
</tr>
</table>
</HeaderTemplate>
<FooterTemplate>
<hr>
<small>All Content Copyrighted &copy; 2001 </small>
</FooterTemplate>
  </Choice>
<Choice>
<HeaderTemplate>
<b>Welcome to this Web Site!</b>
<br/>
</HeaderTemplate>
</Choice>
</DeviceSpecific>
<Mobile:Label
 Runat="Server">
Here is the main body of the page!
</Mobile:Label>
</Mobile:Form>
错误提示:
“/s”应用程序中的服务器错误。
--------------------------------------------------------------------------------在名为“IsWML”的页(该页返回 System.Boolean 并将 System.Web.Mobile.MobileCapabilities 和 System.String 视为参数)上既找不到名为“IsWML”的设备功能,也找不到公共非静态方法。 
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: 在名为“IsWML”的页(该页返回 System.Boolean 并将 System.Web.Mobile.MobileCapabilities 和 System.String 视为参数)上既找不到名为“IsWML”的设备功能,也找不到公共非静态方法。