Hi kankon,
Check this example. Now please take its reference and correct your code.
Database
I have made use of the following table Customers with the schema as follows.
I have already inserted few records in the table.
You can download the database table SQL by clicking the download link below.
Download SQL file
HTML
<div class="marquee">
<asp:SqlDataSource ID="datanews" runat="server" ConnectionString="<%$ ConnectionStrings:constr %>" SelectCommand="SELECT CustomerId, Name FROM Customers"></asp:SqlDataSource>
<marquee onmouseover="this.stop()" behavior="alternate" onmouseout="this.start()" scrolldelay="10" scrollamount="5" direction="Right">
<asp:Repeater ID="Repeater2" runat="server" DataSourceID="datanews">
<ItemTemplate>
<asp:HyperLink ID="HyperLink2" runat="server" Text='<%# String.Format("{0}-{1}",Eval("CustomerId"),Eval("Name")) %>' ></asp:HyperLink>
</ItemTemplate>
</asp:Repeater>
</marquee>
</div>
Screenshot