Click here to Skip to main content
15,881,139 members
Articles / Reporting
Tip/Trick

New line in textbox of Microsoft rdlc report

Rate me:
Please Sign up or sign in to vote.
5.00/5 (13 votes)
16 Nov 2010CPOL 108K   4   8
Ever tried to put a break in the textbox of the rdlc report? \n and such don't work...
You have to put System.Environment.NewLine in the string,
so your excpression will look something like

= Fields!MyField1.Value + System.Environment.NewLine + Fields!MyField2

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer The Code Project
Canada Canada
Olga has worked with a variety of large industrial applications before joining The Code Project and is now thrilled to apply all that knowledge at the best company on her resume!

She loves to make the site safer, more robust and even more user friendly every day and gets to spend most of her day doing the only thing she loves most - developing.

When not developing, she's either out with her husband and son or at the gym.

Comments and Discussions

 
QuestionJust what I needed Pin
Tesfamichael G.7-Mar-16 2:20
Tesfamichael G.7-Mar-16 2:20 
GeneralThanks Pin
Satyam Tripathi8-Jan-15 0:05
Satyam Tripathi8-Jan-15 0:05 
QuestionGracias Pin
JxDarkAngel6-Oct-14 16:19
JxDarkAngel6-Oct-14 16:19 
QuestionNewline in single field only. Pin
shyam_gadge23-Aug-13 1:31
shyam_gadge23-Aug-13 1:31 
Answertextbox's expression section Pin
Member 381729919-Aug-13 1:30
Member 381729919-Aug-13 1:30 
Questionthank you Olga Tabulov Pin
lehoaitam29-May-13 15:14
lehoaitam29-May-13 15:14 
GeneralMy vote of 5 Pin
RelicV29-Apr-13 1:45
RelicV29-Apr-13 1:45 
QuestionThanks a lot Pin
Ananaya3-Jun-12 5:13
Ananaya3-Jun-12 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.