Split data in label from database - comma

Discussion in 'ASP Forum' started by Clissesah, Apr 9, 2013.

  1. Clissesah

    Clissesah New Member

    i have this label, and i want as a result this data: data1,data2,data3I want afret all data i have a comma,except last....\[code\]<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <asp:Label ID="Kontakt_mailLabel" runat="server" Text='<%# Eval("Kontakt_mail" %>' /> </ItemTemplate> </asp:DataList>\[/code\]Any ideas please?
     

Share This Page