0
我在水晶報表新, 這裏WANA添加2個數據表中crstal報告」添加多個數據表中的水晶報表
私人小組btbPrint_Click(BYVAL發件人爲System.Object的,BYVALË作爲System.EventArgs)把手btbPrint.Click
'
Dim ds As New DataSet1
Dim t As DataTable = GetInvoice(txtBillNo.Text)
Dim dt As DataTable = GetDCDetails(t.Rows(0).Item("DcID"))
Dim objRpt As New CrystalReport1
Dim adopter As New SqlDataAdapter
'
'' '在這裏,我瓦納添加的數據表DT在datasourece''」
objRpt.SetDataSource(t)
CrystalReportViewer1.ReportSource = objRpt
CrystalReportViewer1.Refresh()
'
End Sub