Listview 컨트롤을 사용하여 사진 갤러리를 만드는 방법이 있습니까?ListView의 사진 갤러리
이 템플릿으로 재생 중이지만 한 줄로 다양한 사진을 얻을 수 없습니다.
한 줄에 3 장의 사진이 있습니다. 뭔가해야만
같이 는그림 1 그림 2 그림 3
는 그림 4 그림 5 그림 6 지금
제가
그림 1 그림 1 그림 1
그림이 그림이 그림처럼 가지고 2
내 코드
<LayoutTemplate>
<table>
<asp:PlaceHolder ID="groupPlaceholder" runat="server"></asp:PlaceHolder>
</table>
</LayoutTemplate>
<GroupTemplate>
<tr>
<asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
</tr>
</GroupTemplate>
<ItemTemplate>
<tr>
<td>
<img alt="" src="<%# "http://" + Request.Url.Authority + "/" + Eval("thumbnailPath") %>" />
</td>
<td>
<img alt="" src="<%# "http://" + Request.Url.Authority + "/" + Eval("thumbnailPath") %>" />
</td>
<td>
<img alt="" src="<%# "http://" + Request.Url.Authority + "/" + Eval("thumbnailPath") %>" />
</td>
</tr>
</ItemTemplate>
컬렉션의 그림에 대한 URL을 가져 오는 중이므로 ListView.
시작하는 데 도움이? 나는 html에 아주 좋지 않다. 너를 고맙다. – user137348