<div class="filter_list">
<asp:DataList ID="dtCarTypeTop10" runat="server" RepeatColumns="7" RepeatDirection="Horizontal" ItemStyle-HorizontalAlign="left" CellPadding="0" CellSpacing="0" Width="90%" OnItemCommand="dtCarTypeTop10_ItemCommand" OnItemDataBound="dtCarTypeTop10_ItemDataBound" OnSelectedIndexChanged="dtCarTypeTop10_SelectedIndexChanged">
<ItemTemplate>
<div style="font-size: 14px; line-height: 30px; width: 90px;" id="divCarType" runat="server">
<asp:LinkButton ID="lbtTypeName" runat="server" Text='<%#Eval("typename") %>' CommandName="Select" CommandArgument='<%#Eval("id") %>' OnClick="lbtTypeName_Click"></asp:LinkButton>
</div>
</ItemTemplate>
</asp:DataList>
</div>
判斷一下不就OK了,自己寫個方法轉換