I Want To Search One Record Form My Database My Code VB.NET Code That
Dim str As String = ("Data Source=ROBI-PC\SQLEXPRESS;Ini Catalog=benjir;Integrated Security=True")
Dim con As New SqlConnection(str)
Dim cmd As New SqlCommand("select * from Table_4 where ID like '%" + Trim(TextBox1.Text) + "%'", con)
Dim da As New SqlDataAdapter(cmd)
Dim ds As New DataSet()
If (da.Fill(ds, "Table_4")) Then
Dim report As CrystalReport1
report = New CrystalReport1()
report.SetDataSource(da)
CrystalReport1.ReportSource = report
Form2.ShowDialog()
MessageBox.Show("")
Else
MessageBox.Show("")
End If
When I Debug My Project Then Show Problem Message That is "
Reference recuired to Assembly 'Crystal Decisions.ReportAppServer.Controllers ,Vesion = 13.0.2000.0,Culture = PublicKeyToken =692fbea5521e1304' Containing the
type 'CrystalDecision.ReportAppServer.Controllers.ReportSource'Add On your Project"
I Use NameSpease "Imports CrystalDecisions.CrystalReport.Engine"