am new in crystal report, here wana to add 2 datatables in the crstal report'
Private Sub btbPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles 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
'
'''Here i wana to add the datatable dt in the datasourece''''
objRpt.SetDataSource(t)
CrystalReportViewer1.ReportSource = objRpt
CrystalReportViewer1.Refresh()
'
End Sub