Wrox Programmer Forums
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2011, 07:19 PM
Authorized User
 
Join Date: Oct 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default Bind data into DIV

Hello everyone
Please help me how can i bind data into "IMG" by using the "DIV".I do not want to use gird or another one

<div id="divloading" runat="server" onload="<%#loading() %>" style="overflow: hidden; z-index: 9;" class="product-image product-image-zoom">
<img alt="<%# Eval("Tourname").Tostring %>" title="<%# Eval("Tourname") %>" src="<%# "../../../App_Themes/Image/" & Eval("Image") %>" style="width: 400px; left: -94px; top: -94px;" id="image" />
</div>
------ CODE
Public Function loading() As Data.DataTable
Dim v As String = Request.QueryString("h")
v = Replace(v, "-", " ")
Dim bo As New tblTourBO
Dim dt As Data.DataTable = bo.loading_DetailTour(v)
Return dt
End Function

Thanks all
Phuc Hoang





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Bind Data in DataGrid akumarp2p C# 2005 2 December 30th, 2006 12:11 PM
Bind result set to Html Div Controls jazzcatone ASP.NET 1.0 and 1.1 Basics 1 August 10th, 2006 07:35 AM
How to bind data from a recordset to a combobox? wayne62682 Access VBA 6 April 2nd, 2006 08:45 PM
how to bind a data() lsxx Classic ASP Components 4 April 20th, 2005 02:35 AM
How to bind data to a dropdown in a datalist thats broushly ASP.NET 1.0 and 1.1 Basics 1 April 28th, 2004 01:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.