且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET中的数据绑定控件

更新时间:2023-10-02 09:33:34

首先,您有多个块(多行),所以我建议使用中继器.在每个块中,您必须显示三列(图像为文本和小图像),并且应使用面板(以渲染).在第二个面板中,您可以使用多行文本,可以使用标签",因为它们允许呈现为a,这样您就可以包含一个类.

Well, first off you have multiple blocks (multiple rows) so I would suggest a Repeater. Within each block you must display three columns (the image the text and the small images), and you should use a Panel (renders as a ). In the second panel you have multiple lines of text for which you can use Labels because they allow for rendering as a so that you an include a class.

使用CSS很好地设置所有样式,您应该可以重新制作上图.

Style everything nicely with CSS and you should be able to remake the above picture.