本文介绍了搜索Crystal Report VB.NET的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在One Record中搜索这个写VB.NET代码

I want to search One Record for this write 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





当我运行我的项目然后显示消息参考被重新组装到程序集'水晶Decisions.ReportAppServer.Controllers,Vesion = 13.0.2000.0,Culture = PublicKeyToken = 692fbea5521e1304'包含

类型'CrystalDecision.ReportAppServer.Controllers.ReportSource'Add在您的项目上



请帮我解决问题


"
When I Run My Project Then Show Message " 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 "

Please Help Me Where Problem

推荐答案


这篇关于搜索Crystal Report VB.NET的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 22:23