如何在水晶报表中引用2个数据库?
Dim myCommand As New SqlClient.SqlCommandmyCommand.Connection = myConnection
myCommand.CommandText = "Select * from hwxx "
myCommand.CommandType = CommandType.Text
Dim myDA1 As New SqlClient.SqlDataAdapter
myDA1.SelectCommand = myCommand
Dim myDS1 As New DataSet1
myDA1.Fill(myDS1, "hwxx")
Dim oRpt As New CrystalReport1
oRpt.SetDataSource(myDS1)
CrystalReportViewer1.ReportSource = oRpt
如何在水晶报表中引用2个数据库?这是我接的第一个数据库