In ASP.NET,I Have A GridView On A WebForm..Now I Have TO Retrieve The Images From Two Different Tables In Database And Display The Images In Single Column.
To Display The Images in The GridView I Had Used:
Collapse | Copy Code
<asp:GridView ID="grdCart" runat="server" AutoGenerateColumns="False" DataKeyNames="ProductID" OnRowCancelingEdit="grdCart_RowCancelingEdit" OnRowDeleting="grdCart_RowDeleting" OnRowEditing="grdCart_RowEditing" OnRowUpdating="grdCart_RowUpdating">
<Columns>
<asp:TemplateField HeaderText="Product Image">
<ItemTemplate>
<asp:Image ID="Image1" runat="server" width="100" ImageUrl='<%# "DisplayAllItems.aspx?id="+Eval("ProductID")+"&DisplayAllProducts.aspx?id="+Eval("ProductID")%>' />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
But Only Single Image Of Item Is Displaying And The Product Image Is Not Displaying...Pls Help Me....