Add space between Repeater Items in ASP.Net

Last Reply 21 days ago By arunkurmi

Posted 22 days ago

hello , am following this GridView CRUD: Select Insert Edit Update Delete using Single Stored Procedure in ASP.Net

add, update, edit, delete

i change from db country to chat

is there chance to make more space and add who is add the text news

i would like make more space from first chat and other chat

code chat news 

<div class="BG-image">
    <asp:SqlDataSource ID="datanews" runat="server" ConnectionString="<%$ ConnectionStrings:kankonConnectionString %>" SelectCommand="SELECT [chat],[name] FROM [Customers]"></asp:SqlDataSource>
    <div class="marquee">
       <marquee  onmouseover="this.stop()" onmouseout="this.start()" scrolldelay="20" scrollamount="4" Direction="Right" >
       <asp:Repeater ID="Repeater2" runat="server" DataSourceID="datanews">
           <itemTemplate> 
                <asp:HyperLink ID="HyperLink2"  runat="server" text=  '<%# Eval("chat") %>' date= '<%# Eval("name") %>'>
                </asp:HyperLink>
            </itemTemplate>
        </asp:Repeater>
        </marquee>
    </div>  
Posted 21 days ago

Hi kankon,

Replace with below code.

<marquee id="scrollNews" onmouseover="this.stop()" onmouseout="this.start()" scrolldelay="20"
    scrollamount="4" direction="left">
<asp:Repeater ID="newsMarquee" runat="server" >
    <ItemTemplate>
        <asp:HyperLink NavigateUrl="navigateurl" runat="server" ></asp:HyperLink>&nbsp;&nbsp;&nbsp;&nbsp;
    </ItemTemplate>
</asp:Repeater>
</marquee>