Thursday, March 22, 2012

Marquee in asp.net 2005

Hi,
How can I make my data in a field of database moving in textbox?
Please help
;)Add a runat=server tag to the control and then assign it's text in the code behind.

//HTML
<marquee id="mar1" runat="server" behavior="scroll">Test Test</marquee>

//Code
this.mar1.InnerText = "Testing...";
thank u Fishcake,

Your answer about string and i want to marquee database in textbox or datalist or any container. i am waiting your replay.

thanks
Do you want a marquee with text from a database or specifically a textbox containing moving text?

If it's the former then the code I gave you can easily be adapted to get the string from a database.
Yes, I want to make a marquee with text from a database and I applied your code but it doesnt work with me. Could please explain more?

Thank u
//HTML
<marquee id="mar1" runat="server" behavior="scroll">Test Test</marquee>

//Code
this.mar1.InnerText = "Testing...";
The above code works all you need to do is replace "Testing..." with your text from the database.

What error are you receiving?
I got it, it works

Thank you so much
It's amazing, the most advanced web programming IDE and web architecture ever and...

0 comments:

Post a Comment