请高手帮下忙。现在遇到问题是无法在ObjectList控件中将读取的数据显示前面加序号。请高手指点下。
<mobile:ObjectList ID="ObjectList1" Runat="server" CommandStyle-StyleReference="subcommand"
LabelStyle-StyleReference="title" BreakAfter="False" ItemsPerPage="5">
<DeviceSpecific>
<Choice Xmlns="http://schemas.microsoft.com/mobile/html32template">
<ItemTemplate> <--我要在这里加显示的数据前系号。-->
<%#((ObjectListItem)Container)["name1"] %>
</ItemTemplate>
<ItemDetailsTemplate>
</ItemDetailsTemplate>
</Choice>
</DeviceSpecific>
</mobile:ObjectList>
<mobile:ObjectList ID="ObjectList1" Runat="server" CommandStyle-StyleReference="subcommand"
LabelStyle-StyleReference="title" BreakAfter="False" ItemsPerPage="5">
<DeviceSpecific>
<Choice Xmlns="http://schemas.microsoft.com/mobile/html32template">
<ItemTemplate> <--我要在这里加显示的数据前系号。-->
<%#((ObjectListItem)Container)["name1"] %>
</ItemTemplate>
<ItemDetailsTemplate>
</ItemDetailsTemplate>
</Choice>
</DeviceSpecific>
</mobile:ObjectList>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货