locked
水晶报表 load 问题 RRS feed

  • Question

  • 水晶报表 load 问题
    • Moved by Sheng Jiang 蒋晟 Wednesday, June 17, 2009 7:49 PM 类库问题 ([Loc]From:Visual C#)
    • Moved by Riquel_Dong Monday, June 22, 2009 7:27 AM redirect to Crystal report forum (From:.NET Framework 一般性问题讨论区)
    Wednesday, June 17, 2009 9:36 AM

Answers

  • 一般load这样用
    ReportDocument report = new ReportDocument(); // 定义报表文档对象
    _reportName = Application.StartupPath + "XXX.rpt"; // 获得报表文件的路径
    report.Load(_reportName);
    • Marked as answer by 网猴儿 Wednesday, June 17, 2009 10:11 AM
    • Unmarked as answer by Sheng Jiang 蒋晟 Wednesday, June 17, 2009 7:48 PM
    Wednesday, June 17, 2009 9:58 AM

All replies

  • 一般load这样用
    ReportDocument report = new ReportDocument(); // 定义报表文档对象
    _reportName = Application.StartupPath + "XXX.rpt"; // 获得报表文件的路径
    report.Load(_reportName);
    • Marked as answer by 网猴儿 Wednesday, June 17, 2009 10:11 AM
    • Unmarked as answer by Sheng Jiang 蒋晟 Wednesday, June 17, 2009 7:48 PM
    Wednesday, June 17, 2009 9:58 AM
  • 你好,

    MSDN有专门的Crystal Report论坛(英文的),请到那个论坛讨论水晶报表的开发问题以便得到更好的帮助。谢谢你的理解!

    http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/threads
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Friday, June 19, 2009 6:33 AM