Wednesday, February 13, 2008

Newline in a .Net textbox (C#)

Always forget this one - to put a new line in a .Net textbox in C#, use the "\r\n" string (after you've set the textbox to multiline of course). "\t" is tab but that is easy to remember!

No comments: