zoukankan      html  css  js  c++  java
  • using crystalreport generate PDF2

        Dim rpt As New ReportDocument
                Dim DirPath As String = Application.StartupPath & "\"

                Dim DataSet1 As DataSet
                DataSet1 = New Xsd_Invoice
                DataSet1.Tables("Students").Merge(Invoice.INVOICE_GetStudentInfo_One _
                (FamilyID))
                DataSet1.Tables("tblStudentPaymentInvoice").Merge(Invoice.INVOICE_GetStudentPaymentInvoice_One _
                             (InvoiceID, SessionID))
                DataSet1.Tables("tblStudentPaymentDetailForInvoice").Merge(Invoice.INVOICE_GetStudentPaymentDetail_One _
                             (InvoiceID, SessionID))
                DataSet1.Tables("Parent").Merge(Invoice.INVOICE_GetParentInfo_One _
                             (FamilyID))
                DataSet1.Tables("TblSession").Merge(Invoice.INVOICE_GetSession(SessionID))
                rpt.Load(DirPath & "Report\Rpt_StudentFeeInvoice.rpt")
                rpt.SetDataSource(DataSet1)

                '-----开始导出PDF-------
                rpt.ExportToDisk(ExportFormatType.PortableDocFormat, path)
  • 相关阅读:
    SMTP协议简介
    Debian
    TCP/IP协议基础
    CentOS(Community ENTerprise Operating System)
    IO
    【备忘】Windows网络命令行操作
    repeater中绑定dropdownlist事件
    MultipleActiveResultSets
    .NET UEditor使用方法
    Asp.net中时间格式化的几种方法
  • 原文地址:https://www.cnblogs.com/zyip/p/2534513.html
Copyright © 2011-2022 走看看