Sec01: Create a TextBox at the top of the report body and add Title of your report
Sec03: Create a TextBox at the top of the report body and add another Title of your report
Sec02: First of all add one more column in your sql resultset that will contain two values, one value for even row, another value for odd row for example your recordset could be like below:
Name Age Salary Group
ABC 12 456 ODD
XBC 13 756 EVEN
DBC 14 412 ODD
GBC 15 498 Even
Now drag a matrix, drag your required columns there in data field, and at the column field drop Group column, and below column group drop the field you want to be splitted in two columns. at the end set the visibility of the Group to make it hidden
Ashutosh Pathak
Blog: http://catchcode.blogspot.com Please mark it as answer if it helps, as clicking on the button can save time of others :)
MCP,MCAD,MCSD,MCTS
namhaivolam
Member
6 Points
21 Posts
two columns with title in rdlc report
Nov 21, 2012 09:57 AM|LINK
How can i create a RDLC like this?
Three section in a report
Sec01: the title of report (exist one time only,not repeat like header)
Sec02: get data from dataset and divide two colums (loop rows)
and sec03: another title of report(exist one time only,not repeat like footer)
---------------------------------------
- Title -
---------------------------------------
-------row----- --------row-----
-------row----- --------row-----
-------row----- --------row-----
---------------------------------------
- Title -
---------------------------------------
Ashutosh Pat...
Contributor
5737 Points
1105 Posts
Re: two columns with title in rdlc report
Nov 21, 2012 10:46 AM|LINK
Sec01: Create a TextBox at the top of the report body and add Title of your report
Sec03: Create a TextBox at the top of the report body and add another Title of your report
Sec02: First of all add one more column in your sql resultset that will contain two values, one value for even row, another value for odd row for example your recordset could be like below:
Name Age Salary Group
ABC 12 456 ODD
XBC 13 756 EVEN
DBC 14 412 ODD
GBC 15 498 Even
Now drag a matrix, drag your required columns there in data field, and at the column field drop Group column, and below column group drop the field you want to be splitted in two columns. at the end set the visibility of the Group to make it hidden
Blog: http://catchcode.blogspot.com
Please mark it as answer if it helps, as clicking on the button can save time of others :)
MCP,MCAD,MCSD,MCTS
namhaivolam
Member
6 Points
21 Posts
Re: two columns with title in rdlc report
Nov 23, 2012 10:44 AM|LINK
im not understand clear (not good English^^) ,and i found a solution:
-draw a listbox
-in rowgroup of lisbox use expression: "=Ceiling(RowNumber(Nothing)/2)" set name="listRowGroupDetails"
-drag a matrix in to listbox and insert my table into matrix column data and group Columns of matrix "=RowNumber("listRowGroupDetails")"
-and set group invisible
thank for answer me
Here is my sample (if another want to test):