【发布时间】:2013-03-15 23:43:19
【问题描述】:
我有一个集合,其中包含由 Id 作为 Integer、Name 作为 String 和 IconImage 作为 Byte() 的项目。
我想在 gridview 中显示名称和图像,但不确定如何将 IconImage 绑定到 gridview?
<itemtemplate>
<asp:label id="LabelName" runat="server" text='<%# Eval("Name")%>'></asp:label>
</itemtemplate>
<!-- Bind and Display the image here-->
请帮我提供一些示例代码..
谢谢
【问题讨论】:
-
我发现了另一篇关于这个主题的好文章:here