473,322 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Adrotator In Asp.net(Vb)

2
Hi
I m new biew to asp.net.
I wanna use Adrotator in my page which shows the images from database
(Means the url of image is stored in database and images is saved in a folder)

For it i simply retrived all image url in dataset and bind it to the adrotator but it not worked properly

Dim sql As String
sql = "select ImageURL,NavigateURL,AlternateText,Keyword from image"

ad = New SqlDataAdapter(Sql, cnn)
ad.SelectCommand.CommandType = CommandType.Text
Me.ds = New DataSet
Me.ad.Fill(ds)
Me.cnn.Close()

Me.AdRotator1.DataSource = Me.ds.Tables(0)
Me.AdRotator1.DataBind()

The Image folder is placed in root folder where all the web page is placed

and the image url is like this : -
~/Add_Image/middle.gif



It shows dynamic alternatetext each time when i refresh the page but don't show image


Show me the currect way to do it Plz

Thanks with anticipation
Feb 12 '08 #1
1 2137
DrBunchman
979 Expert 512MB
Hi
I m new biew to asp.net.
I wanna use Adrotator in my page which shows the images from database
(Means the url of image is stored in database and images is saved in a folder)

For it i simply retrived all image url in dataset and bind it to the adrotator but it not worked properly

Dim sql As String
sql = "select ImageURL,NavigateURL,AlternateText,Keyword from image"

ad = New SqlDataAdapter(Sql, cnn)
ad.SelectCommand.CommandType = CommandType.Text
Me.ds = New DataSet
Me.ad.Fill(ds)
Me.cnn.Close()

Me.AdRotator1.DataSource = Me.ds.Tables(0)
Me.AdRotator1.DataBind()

The Image folder is placed in root folder where all the web page is placed

and the image url is like this : -
~/Add_Image/middle.gif



It shows dynamic alternatetext each time when i refresh the page but don't show image


Show me the currect way to do it Plz

Thanks with anticipation
Hi ~V~

Just so as you know, this is a classic ASP forum and you should really ask your .NET questions in the .NET forum. You will recieve much better technical help with your problem there.

With regard to your problem...what is displayed where you are expecting the image to be? Is there the red cross box?

Dr B
Feb 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Greg | last post by:
Hi. I am writing an INTRAnet app using asp.net/VB that, amongst other things, needs to access the global address list in Outlook, extract some email addresses and send email to these people. ...
2
by: John Howard | last post by:
Where can I find a good explination and example of using VB.Net/ASP.net to browse an MS Access database using ADO.Net? Thanks in advance, John
9
by: ASP .NET Newbie | last post by:
How can I run a WebBrowser control using ASP.NET/VB.NET? I know I can use the WebClient to get the page data, but I need to be able to use the WebBrowser (AxWebBrowser)? Thanks, Chad
5
by: Erich Kolb | last post by:
R&B Solutions, a leader in medical receivables management, is currently recruiting for several .Net developers who have in depth experience with ASP.net, VB.net, XML, XSLT, Web Services, and SQL...
6
by: Jerome Cohen | last post by:
I need to implement a simple application that listens for web requests on a well-known URL, grab the request , which is an XML document, and send as respnse an XML document. each client sends a...
4
by: S. Ahmed | last post by:
Hi all: I am new to VB, especially to VB .NET. I need to create an ActiveX DLL that I can then use in another application (LabView). I know in VB 6.0, creating ActiveX DLL was easy. The...
1
by: ourspt | last post by:
Hi, We are working on an ASP.NET (VB.NET) application and we have a problem opening a word document from our application. When we try to open the word document, we do not get any error...
4
by: ARJOBS.CO.IN | last post by:
Hi MNC based at noida is conducting a grand for the following technology domains : o ASP.Net, VB.Net or C# and Oracle o Experience : 3 + years Date: June 9, 2007 Time: ...
1
by: venkat6725 | last post by:
hi, how to use the asp.net ajax in all the web forms migrated from (asp.net,vb.net,2003) to (asp.net,vb.net,2005) needs clear description thanks
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.