Solved

Dynamic marquee

Posted on 2006-11-24
3
485 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

777 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