如何读取pdf文档,并在网页中显示。

解决方案 »

  1.   

    Private Sub cmdExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdExport.Click
        'sub exports report into file    Dim strFileName As String
        Dim crExportType As ExportFormatType
        Dim strExportPath As String
        
        'select type of file based on user input
        Select Case ddlExportType.SelectedItem.Text 
          Case "Portable Document (PDF)"
            strFileName = strFileName + ".pdf"
            crExportType = ExportFormatType.PortableDocFormat 
        
        End Select希望对你有帮助