TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
CHAITANYA KIRAN KASANI
NA
335
133.2k
Hw To Pass Multiple urls to Imageurl in Gridview in ASP.NET
Dec 31 2012 12:30 AM
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....
Reply
Answers (
0
)
how to subtract two txtbox datetime value
Microsoft.ACE.OLEDB.12.0' provider is not registered on the