C# 如何将RTF和HTML加载到Crystal报表中?

C# 如何将RTF和HTML加载到Crystal报表中?,c#,vb.net,crystal-reports,report,C#,Vb.net,Crystal Reports,Report,Crystal report不支持RTF大尺寸,我认为Crystal report限制消息,请与我建议如何修复它?或者我应该换成SQL Reporting Services 请帮帮我 相关问题见最后评论: [http://vbcity.com/forums/p/104797/709343.aspx709343] [http://vbcity.com/forums/t/152980.aspx] 谢谢, 乌特恩 现在问题解决了,谢谢奔驰 Utehn,除非Benz确认他同意,否则你可能想从你的帖子中删

Crystal report不支持RTF大尺寸,我认为Crystal report限制消息,请与我建议如何修复它?或者我应该换成SQL Reporting Services

请帮帮我

相关问题见最后评论:

[http://vbcity.com/forums/p/104797/709343.aspx709343] [http://vbcity.com/forums/t/152980.aspx] 谢谢, 乌特恩

现在问题解决了,谢谢奔驰


Utehn,除非Benz确认他同意,否则你可能想从你的帖子中删除他的电子邮件。它可以被读取并添加到垃圾邮件列表中,因为它只是以纯文本的形式存在,可以通过电子邮件收集脚本读取。如果你能把他给这个问题的答案加上,并把它标记为答案,那也太好了。这使得其他有同样问题的人也能得到帮助。谢谢已删除电子邮件,感谢您的评论和建议。
    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