Showing posts with label formattting. Show all posts
Showing posts with label formattting. Show all posts

Monday, March 26, 2012

Formattting numbers

I would like to format the number 12345 into 12,345. How can I achieve this?

in C#:

int num = 1234567890;
String numFormatted = num.ToString("#,#");

Check out this documentation for more specifics on number formatting:

http://msdn2.microsoft.com/en-us/library/0c899ak8(VS.71).aspx

|||

I would like to acheive this in reporting services.

|||

I found out. I can make it using the format tab in properties of the textbox

Friday, March 9, 2012

Format textBox in reporting services

Hi,
I have a problem with formattting a textbox field.I have field comes from
database and it is too long .I want to format this paragraph in a text box.I
want some space between rows and give justify property . NOw rows are so
closed and paragraph is too near to left.I must format this paragraph but
how? If you can help me, I will be plased.Thanks for your interest.On Nov 20, 1:25 pm, Reporting Services de Text Box a format
<ReportingServicesdeTextBoxafor...@.discussions.microsoft.com> wrote:
> Hi,
> I have a problem with formattting a textbox field.I have field comes from
> database and it is too long .I want to format this paragraph in a text box.I
> want some space between rows and give justify property . NOw rows are so
> closed and paragraph is too near to left.I must format this paragraph but
> how? If you can help me, I will be plased.Thanks for your interest.
The best way to accommodate this is to use a table control instead of
a textbox control. You could split the string into multiple records
prior to getting it into the report. Of course, the table control
should give some basic formatting options by default. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant