SSRS中细胞的动态合并
在 SSRS 报告中,我有一个包含 14 列的表,第一列是上午 7 点,最后一列是晚上 7 点。 我有 100 条记录,其中包含会议名称和时间安排,
例如:
- 国际会议上午 9 点至下午 5 点,
- 国家会议上午 8 点至上午 11 点
,所以问题是这些列单元格必须根据时间进行合并,并显示为一个文本框,其中文本居中对齐,
例如:全国会议 上午 8 点到 11 点的列将被合并,上午 8 点到 11 点的时间必须以中心对齐方式显示在这些合并的单元格中。
任何人都可以给我关于这个问题的任何建议,我想为此编写自定义代码,但我没有任何想法。
所以,如果有人能帮助我,我将非常感激。
(我们可以根据SSRS中的条件动态合并单元格吗)
In an SSRS Report ,I have a table which has 14 columns, 1st column is 7am and the last column is 7pm.
I have 100 records with conference names and the timings,
ex:
- international conference 9am to 5pm
- national conference 8 am to 11 am
so the problem is these column cells must merge based on the timings and display as one textbox with center aligning the text
ex: national conference the columns from 8 to 11 am are to be merged and the time 8 to 11am must display in these merged cells with center align.
Can anyone give me any suggestion for this issue, i thought to write custom code for this but i did not get any idea.
So, If anyone can help me i will be very grateful.
(Can we merge the cells dynamically based on the condition in SSRS)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会复制这一行,这样就会有一行包含合并的单元格,第二行包含单独的单元格。
然后第一行的隐藏属性应设置为
And 对于第二行
I would duplicate this row so there will be one row with merged cells, second with separate.
Then Hidden propperty of 1st row should be set to
And for the 2nd row