0
在将两个Sqlite数据库表中的数据拉入Crystal Reports时,我面临问题。我正在使用强类型数据集。该代码在vb.net中工作正常,但在水晶报告中显示空白字段。这是我的代码。从VB.Net中的两个Sqlite数据库表中获取数据到Crystal Reports中的错误
Da = New SQLiteDataAdapter("SELECT in_No,inv_ProductName FROM Invoice,Inv_Detail WHERE inv_InvID=in_No", Conn)
Rpt = New ReportDocument
Da.Fill(Ds, "Report")
Rpt.Load(Application.StartupPath & "\Reports\rpt" & ReportName & ".rpt")
Rpt.SetDataSource(Ds)
CRV.ReportSource = Rpt
CRV.Show()
CRV.Refresh()
Ds.Clear()
Da.Dispose()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Information + MsgBoxStyle.OkOnly)