用 RaidoButtonList 绑定数据表中的图片,这是前台绑定代码
<asp:RadioButtonList id="fdsf".... DataTextField="IconPicID" DataTextFormatString="<image src='IconPicShow.aspx?Guid={0}'".../> //显示绑定图片
本文介绍了一种使用ASP.NET中RadioButtonList控件绑定数据表中的图片的方法。通过设置DataTextField属性为IconPicID并利用DataTextFormatString指定图片路径,实现了图片的有效显示。
用 RaidoButtonList 绑定数据表中的图片,这是前台绑定代码
<asp:RadioButtonList id="fdsf".... DataTextField="IconPicID" DataTextFormatString="<image src='IconPicShow.aspx?Guid={0}'".../> //显示绑定图片
被折叠的 条评论
为什么被折叠?