Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,148,923 members, 7,802,996 topics. Date: Saturday, 20 April 2024 at 06:59 AM |
Nairaland Forum / Science/Technology / Programming / Vb.net Crystal Report & Dataset (6278 Views)
VB.NET Problem, Printing Receipt With Thermal Printer From Crystal Report. / I Need A Help To Write A Simple Login Form Using Vb.net / Post Ur Vb 6.0 Questions Here (2) (3) (4)
(1) (Reply)
Vb.net Crystal Report & Dataset by bigafees: 2:47pm On Jan 24, 2011 |
Nrlander, I'm using Vb.net 2008 with ODBC connection Please i need to know how to go about Crystal Report & Dataset together, although i know how to create crystal report & dataset, but how i'm going to generate selected data from my table to dataset in other for my crystal report to display the data as a report. |
Re: Vb.net Crystal Report & Dataset by bigafees: 4:46pm On Jan 24, 2011 |
This is my code to connect my table, datast & crystal report 2geda con.Open() sql = "SELECT * FROM Admission" Dim dscmd As New OdbcDataAdapter(sql, con) Dim ds As New DataSet1 dscmd.Fill(ds, "Admission") 'MsgBox(ds.Tables(1).Rows.Count) con.Close() Dim objRpt As New CrystalReportSource1 'It is given error in that CrystalReportSource1, that is not declare objRpt.SetDataSource(ds.Tables(1)) CrystalReportViewer1.ReportSource = objRpt 'CrystalReportViewer1. |
(1) (Reply)
Hello House: Let's Do A Little PHP Using PDO / How It Feels Like To Learn Javascript In 2016 / NL Weeking Meeting: Encouraging The Need For Community
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |