Hello guys! I am new in ASP.NET and Oracle database.. I just wonder on how to display new line from browser? I use multi-line textbox control to place all comments of the user. The user wants to see all new lines from the browser after clicking the print button. By the way, i user literal control to display the records accordingly. I tried creating a function that replaces all "\n" to "<br>"
Here's my code :
Am I missing something ? I dont know how to capture new lines in oracle . Is this the proper way to solve this issue?Code:public function RecognizeNewLines(byVal myString as String) as String Dim newString as String = String.Empty newString = myString.Replace("\n", "<br>") return newString
Thanks guys




Reply With Quote