Hi All, I am IT student know alot about Vb.Net i want to use Crystal report with VB.NET even i can use as a wizad so i want it as a parameter. Help me everyone knows.

First, make a page to show data from database using crystal report wizard.
Second : make a form with crystal report viewer , text box, button and etc inside it.
Add this code to show report :
This an example, you can modified it as u needed.

Dim DS As New DataSet
        SqlDataAdapter1.Fill(DS)
        Dim CRTest As New ReportPageName 
        CRTest.SetDataSource(DS)
        Crystalreportviewer1.ReportSource = CRTest
        Crystalreportviewer1.SelectionFormula() = "{Student.IdStudent}='" & Trim(txtStudentId.text) & "' "
        Crystalreportviewer1.RefreshReport()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.