Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Increment Tablix objects in c#

$
0
0

Hi,

I am converting crystal reports to ssrs reports and I am converting area sections of crystal reports to tablix in ssrs.

Below code is the object declaration.

Tablix tab = new Tablix();
tab.Name = crsec.ObjName;
TablixBody tabb = new TablixBody();
TablixColumn tabcol = new TablixColumn();
TablixRow tabrow = new TablixRow();
TablixHierarchy tcolHier = new TablixHierarchy();
TablixHierarchy trowHier = new TablixHierarchy();
List<TablixCell> tabcells = new List<TablixCell>();

Now how can I increment all these object names in for each loop, so that each object will have its unique ID on each iteration.


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>