Results 1 to 3 of 3

Thread: show report from vb.net

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    117

    show report from vb.net

    hi



    i want to know the way/code/anything to display a report in crystal report?


    i have a report (crystal report) that i built in vs.net, now i want to call him from a aspx page or a vb.net with a button


    i want to click on the button and the report will appere ?


    is there a way?


    tnks
    thank you
    sharon

  2. #2
    Addicted Member tsungik's Avatar
    Join Date
    Aug 2004
    Location
    Philippines
    Posts
    194
    Hi

    Try this if it works.

    Dim oRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()

    oRpt.Load("Report1.RPT"))
    CR.ReportSource = oRpt
    CR.DataBind()

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    117
    hi



    what is cr? is it the name of the rpt?

    do i have to imports references?


    helpppppppppp
    thank you
    sharon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width