4

I'm using Visual Studio 2010. I must generate a REPORT like that:

 _________________________________
| NAME SURNAME   | NAME SURNAME   |
| ADDRESS        | ADDRESS        |
| NUMBER         | NUMBER         |
|                |                |
| NAME SURNAME   | NAME SURNAME   |
| ADDRESS        | ADDRESS        |
| NUMBER         | NUMBER         |

But the result now is like that:

 _________________________________
| NAME SURNAME   |                |
| ADDRESS        |                |
| NUMBER         |                |
|                |                |
| NAME SURNAME   |                |
| ADDRESS        |                |
| NUMBER         |                |
|                |                |
| NAME SURNAME   |                |
| ADDRESS        |                |
| NUMBER         |                |
|                |                |
| NAME SURNAME   |                |
| ADDRESS        |                |
| NUMBER         |                |

I've associated to my report a DataSource (one Business Object) like that:

public class User
{
   public string Name {get;set;}
   public string Surname {get;set;}
   etc..
}

I've tried with Table, Lists and Matrix but I have had always the second result.

How can I fix that?

Thanks for your support.

ilMattion
  • 1,841
  • 2
  • 24
  • 47

2 Answers2

7

Ciao,

you have to set Columns and ColumnSpacing properties of your report:

  1. display Property window
  2. click on Report (grey area outside your page)
  3. find and set Columns property
tezzo
  • 10,858
  • 1
  • 25
  • 48
  • Very nice! I never used that property and was pondering over this question for couple of days. Glad to learn something new! – InitK Feb 12 '15 at 18:29
  • 1
    @tezzo Can you tell what to do after generating that column? – jason Mar 19 '15 at 07:56
  • 1
    Simply put your table/list/objects in the first column: reporting services automatically fills colums when rendering your data. – tezzo Mar 20 '15 at 15:23
0

I never done this kind of report but think you are after newsletter-Style report. you can find more information here MSDN and example solution

user3403437
  • 117
  • 6