Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
Public Class Form1 Dim rpt As CrystalReport1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As OleDbConnection cnn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\ELA\Current\Tailor_Software\TailorDb.mdb") cnn.Open() Dim da As New OleDbDataAdapter("select * from User_Master", cnn) Dim ds As New DataSet da.Fill(ds, "User_Master") rpt.SetDataSource(ds.Tables(1)) 'I am having the error at here CrystalReportViewer1.ReportSource = rpt CrystalReportViewer1.Refresh() End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.