Click here to Skip to main content
15,664,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys, I'm totally newbie on WPF application and I'm asking for your help and ideas for me to finish my project Inventory System... I'm on my way on making my Issuance form and i do not know how to generate a report with listview control and pass it to crystal reports..

This is my code..

           Dim ds As New DataSet

           Dim query As String

           query = "SELECT ItemID,Item,Serial,Quantity,Category,Class,Unit FROM database.tbl_issued"
           Dim da As New MySqlDataAdapter(query, ConStr)
           da.Fill(ds, "tbl_issued")

           Dim cryds As New rptPrntIss
           CrystalReportViewer1.ReportSource = cryds

       Catch ex As Exception
       End Try

Please help me or give me some ideas so i can finish my project... Thank You! :)GODBLESS :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900