eramgarden
Contributor
- Joined
- Mar 8, 2004
- Messages
- 579
Howcome my Enviroment.NewLine doesnt work?? All shows up on one line. I found this link and tried char(3) and VBCrlf as well but no use. My text box is wide enough. I tried "multiline" property of textbox but i dont want "multiline" and have a scrollbar next to the text box. Howcome this doesnt work?
http://www.xtremedotnettalk.com/showthread.php?t=94136&highlight=Environment.NewLine
http://www.xtremedotnettalk.com/showthread.php?t=94136&highlight=Environment.NewLine
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
txtError.Text = "You do not have access to the System:" & vbCrLf & _
"Authenticated: " & Request("Authenticated") & Environment.NewLine & _
"Anonymous: " & Request("Anonymous") & Environment.NewLine & _
"Type: " & Request("Type") & Environment.NewLine '& _
'"Error: " & Request("Error")
End Sub