Crystal Report 不支持 RTF 大尺寸,我认为 Crystal Report 限制了消息,请告诉我如何解决?或者我应该更改为 SQL Reporting Services?
请帮我。
相关问题(见最后评论):
- [http://vbcity.com/forums/p/104797/709343.aspx#709343]
- [http://vbcity.com/forums/t/152980.aspx]
谢谢, 乌腾
现在问题解决了,谢谢奔驰
Dim tblData As New DataTable()
tblData.Columns.Add("Display", GetType(String))
Dim dr As DataRow = tblData.NewRow()
'dr(0) = RichTextBox1.Rtf
RichTextBox1.LoadFile("test2.rtf")
dr(0) = RichTextBox1.Rtf
tblData.Rows.Add(dr)
Dim report1 As New CrystalReport1()
report1.SetDataSource(tblData)
CrystalReportViewer1.ReportSource = report1