在Repeater控件水平方向 [英] Horizontal orientation in Repeater control

查看:228
本文介绍了在Repeater控件水平方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用来显示上传的图片Repeater控件。

I have a Repeater control used to display uploaded images.

我怎样才能显示水平中继器的图像?我怎么可以给标题为图片的这条底线?

How can I show the images in the repeater horizontally? How can i give the caption to the bottom of picture in this?

推荐答案

假设你有code是这样的:

assuming you have some code like this:

<asp:repeater ...>

</asp:repeater>

刚刚注入&LT;&ItemTemplate中GT;有一些HTML code的外观和感觉你想。没什么特别的显示水平或垂直它只是取决于你用​​什么html标签内的项目模板。

just inject "<itemtemplate>" with some html code with the look and feel you want to. nothing special about showing horizontal or vertical it just depends on what html tags you use inside item templates.

这篇关于在Repeater控件水平方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆