retrieve images from database in a list view by their names?

Trounccrito

New Member
how can i retrieve and show a image from database in a list view , but the database contains image name only. i want to retrieve that img_name from db in listview and render the image corresponding to that img_name , so how can i map the img_path from that img_name ??????????????plz tell me how ?????????????????????????????\[code\]<div class="absolute-hover-product"> <div class="image"><a href="http://stackoverflow.com/questions/12734114/#"> <asp:Image runat="server" ImageUrl='<%# %>' <img src="http://stackoverflow.com/questions/12734114/Images/samsung_tab_1-140x140.jpg" alt="Samsung Galaxy Tab 10.1"/></a></div> <div class="name"><a href="http://stackoverflow.com/questions/12734114/#">Samsung Galaxy Tab 10.1</a></div> <div class="price">$199.99</div> <div class="cart"><a onclick="addToCart();" class="button"><span>Add to Cart</span></a></div> <div class="wish-list"><a onclick="addToWishList();">Add to Wish List</a><br /><a onclick="addToCompare();">Add to Compare</a></div> </div>\[/code\]
 
Back
Top