Home > Net >  Winform, through textbox input data into the database, how to carry on the line break?
Winform, through textbox input data into the database, how to carry on the line break?

Time:10-22

Because is to write a resume, so there will be a few work experience, want to pass an entry in the textbox, after each work experience with a newline character, so when I read from the database, can word wrap, appear neat and beautiful,
But I tried to use \ r \ n \ n, char (10), and other line breaks in the statement, reading is still not line, and the line breaks out were left intact, the
I read all this, each in the textbox and Richtextbox,
Please the teacher for advice, how should I input?

For example:
In 2005, a great god work weeks motors \ r \ n2006 years working in the universe food co., LTD. \ r \ n entrepreneurship in 2008

Hope can get the effect of: when read
In 2005, a great god weeks motors work
In 2006 to work in the universe food co., LTD.
Ever since 2008
  •  Tags:  
  • C#