Tobias Sporer wrote:
Hallo, da ich leider eher Anfänger bin und nebenbei wahrscheinlich noch auf
der Leitung stehe, bringe ich das irgendwie nicht richtig zusammen:

Ich habe das mit der Helper-Function probiert:
<%# ShowText(Container.DataItem("Text")) %>

im Codebehind sieht das dann so aus:
Function ShowText(ByVal strText)
    strText = strText.Replace("\r\n\", "<br>")
    Response.Write(strText)
End Function

Stop!


Ersetze das durch

Function ShowText(ByVal strText) as String
    strText = strText.Replace("\r\n\", "<br>")
    return strText
End Function

Daniel
*************************
_______________________________________________
This ASP.NET email is sponsored by:
UDEX ProMenu.Net  - Die Software für Navigation - Jetzt kostenlos testen!
Tree- Style, Horizontal- Slide, Vertical- Slide. http://www.udexnet.com

_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net
*************************

Reply via email to