如何在 RDLC 文本框中显示大量数据
我有一个 rdlc 报告,它显示从 Microsoft SQL 2008 数据库中的单个文本字段检索到的转录信息。该报告很简单,由一个短标题和一个包含单个文本框的正文组成。我们遇到的问题是一些报告数据被切断。没有错误信息就被切断了。经过一些测试,我们确定文本框截断了大约 32,000 个字符。在这个发现之后,我做了一些研究,我发现唯一有用的是对 msdn social.msdn 我们遇到的一些转录包含 500,000 个字符,我们无法知道这个数字是否会增加。有什么办法可以解决报告文本框 32,000 个字符的限制吗?
I have an rdlc report which displays transcribed information retrieved from a single text field in a Microsoft SQL 2008 database. The report is simple in that it consists of a short header, and a body which contains a single textbox. The issue we are having is some of the report data is cut off. No error message just cut off. After some testing we determined the textbox cuts off around 32,000 characters. After this discovery I did some research and the only thing I found useful was a reference to msdn social.msdn
Some of the transcriptions we are running into contain 500,000 characters and we have no way to know if that will not go up. Is there any way around what appears to be the report’s textbox 32,000 character limit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想出的解决方案是编写一些 T-SQL 来分解大文本块
分成更小的部分,然后返回一个表,其中每 30,000 个字符的文本块包含一行。然后在报告上将我的文本框放入列表中。
下面是 SQL
The solution I came up with was to write some T-SQL to break up the large block of text
into smaller pieces, and then return a table containing a row for every 30,000 char block of text. Then on the report place my textbox in a list.
Below is the SQL