CodeBeatz
CodeBeatz

Reputation: 1981

How can generate RDLC report on two columns?

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.

Upvotes: 4

Views: 6829

Answers (2)

user3403437
user3403437

Reputation: 117

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

Upvotes: 0

tezzo
tezzo

Reputation: 11105

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

Upvotes: 7

Related Questions