Marquee Pada ASP.Net

Please use the following method.

<asp:Literal ID=”Literal1″ runat=”server”></asp:Literal>

Then you can give value for the literal.

protected void Page_Load(object sender, EventArgs e)
{
string str = “get data from database”;
string text = “<MARQUEE>” + str + “</MARQUEE>”;
Literal1.Text = text;
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s