Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET
In my Project,I have To Add The News,Announcement from The DataBase To The Home Page Using Marquee.Can Anyone Suggest Me,How To Add this To My project?

with Regards
Posted 21-Feb-12 18:18pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Dear Friend,

Try this code:-
<marquee id="ml" style="text-align: center" direction="up" width="195" height="170">
                                scrolldelay="20" scrollamount="1" onmouseover="ml.stop();" onmouseout="ml.start();">
                                <asp:repeater id="Repeater1" runat="server" datasourceid="dtsLinks" xmlns:asp="#unknown">
                                <br />
                                <div style="width: 150px">
                                    <asp:imagebutton width="150px" height="75px" id="ImageButton1" runat="server">
                                        ImageUrl='<%# String.Format("~\img\Links\{0}",Eval("logo")) %>' PostBackUrl='<%# Eval("link") %>' ToolTip='<%# Eval("title") %>' /><br />
                                <asp:hyperlink id="HyperLink1" runat="server" navigateurl="<%# Eval("link") %>">
                                    <asp:label id="Label1" runat="server" text="<%# Eval("title") %>"></asp:label></asp:hyperlink><br />


These link will be of much help to you:-[^][^][^][^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 480
1 Sergey Alexandrovich Kryukov 445
2 Maciej Los 290
3 ProgramFOX 275
4 CHill60 225
0 OriginalGriff 550
1 Sergey Alexandrovich Kryukov 470
2 Maciej Los 310
3 ProgramFOX 275
4 Peter Leow 250

Advertise | Privacy | Mobile
Web01 | 2.8.150331.1 | Last Updated 21 Feb 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100