Solved

Dynamic marquee

Posted on 2006-11-24
3
465 Views
Last Modified: 2008-03-10
I'm using ASP.NET 1.1

I have some records in Database Table and
I want to display those records   in the Marquee.

How can i do this. Pls advice.
0
Comment
Question by:sohrabus
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 125 total points
ID: 18006793
Hi sohrabus,

Page.Controls.Add(New LiteralControl("<Marquee scrollamount=5 direction=left>" & GetContent() & "</marquee>"))

Then have your getcontent function return whatever you want it to in terms of the content:

Private Function GetContent() As String
    Dim content As String = "<table><tr><td>Element1</td><td>Element2</td><td>Element3</td></tr></table>"
    Return content
End Function

This is just a static example but you could build that value from your database quite easily.

Tim Cottee
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to perform calculation 2 25
401 - Error 6 25
Editing XSL files, 2 21
Asp.net mvc entity issue 6 20
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now