listView
これがとの私のコードですData Pager
。
<asp:ListView runat="server" ID="PageHorizon">
<LayoutTemplate>
<asp:PlaceHolder ID="itemPlaceholder" runat="server">
</asp:PlaceHolder>
</LayoutTemplate>
<ItemTemplate>
<table width="100%">
<tr>
<td width="25%">
<img src='<%#Eval("ImagePath")%>' alt="Single Image"
width="64px" height="64px" />
</td>
</tr>
</table>
</ItemTemplate>
</asp:ListView>
<br />
<hr />
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="PageHorizon"
PageSize="3">
<Fields>
<asp:NextPreviousPagerField ShowFirstPageButton="True"
ShowNextPageButton="True" />
<asp:NumericPagerField />
<asp:NextPreviousPagerField ShowLastPageButton="True"
ShowPreviousPageButton="True" />
</Fields>
</asp:DataPager>
このコードで、listView
画像を縦に表示し、画像を横に表示したい。
の向きを変更するにはどうすればよいlistView
ですか?