<%@ Page language="c#" Codebehind="Index.aspx.cs" Inherits="aaa.Index" AutoEventWireup="false" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>
<HEAD>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="http://schemas.microsoft.com/Mobile/Page" name="vs_targetSchema">
</HEAD>
<body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
<mobile:form id="MainForm" title="首页" runat="server">
<mobile:ObjectList id="objList" runat="server" LabelStyle-StyleReference="title" CommandStyle-StyleReference="subcommand" BreakAfter="False">
<DeviceSpecific>
<Choice Xmlns="http://schemas.microsoft.com/mobile/html32template">
<ItemTemplate>
<table>
<tr>
<td>
<mobile:Image id="Image1" ImageUrl="aaa.png" runat="server"></mobile:Image>
</td>
<td>
<mobile:Command runat="server" Text='<%# DataBinder.Eval(((ObjectListItem)Container).DataItem, "TypeName") %>' Format="Link">Command</mobile:Command>
</td>
</tr>
</table>
</ItemTemplate>
</Choice>
</DeviceSpecific>
</mobile:ObjectList>
</mobile:form>
</body>
mobile ObjectList 控件
最新推荐文章于 2024-09-11 09:06:17 发布