Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dynamic marquee

Posted on 2006-11-24
3
Medium Priority
?
510 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 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

721 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