c# - New line in textbox -


i have textbox1 lets user input text, button adds text textbox2. code doesnt create new line when add text.

 string date = datetime.now.tostring();  txt_details.text = date + "  " + txt_summary.text.tostring() +    environment.newline + environment.newline ; 

notice += operator.

txt_details.text += "\n" + date + "  " + txt_summary.text.tostring();

Comments

Popular posts from this blog

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -