Solved

Dynamic marquee

Posted on 2006-11-24
3
502 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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