Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,521 members, 7,954,974 topics. Date: Saturday, 21 September 2024 at 01:30 PM |
Nairaland Forum / Science/Technology / Programming / Vb.net Crystal Report & Dataset (6327 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)
Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? / Solving Real Problems / Create Database Diagram From Oracle Database
(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. 5 |