Hi all,
How to Updated the Marquee Text in asp.net.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Narasimha Reddy ChennupalliPosted Jul 8, 2015, 12:14 AM
Void page_load()
{
lbl.Text=GetTextFromDb();
}
Private string GetTextFromDb()
{
// write your code to get the text from Db
return str;
}
Venkata SubbareddyPosted Jul 7, 2015, 11:56 PM
Narasimha Reddy ChennupalliPosted Jul 7, 2015, 10:44 PM
If you want to update the marquee text dynamically, put one label and give text as 'Hi'. Now we can update the label text as 'Hellooooo' from page load. you can try like below
In .aspx
In .aspx.cs
Void Page_Load()
{
lbl.Text="Hellooooo";
}
Suraj SahooPosted Jul 7, 2015, 8:21 AM