meharmahmood
asked on
Is it possible to send dataset,datatable directly to crystal report
It will apprecaite if someone can tell how i can pass, dataset or dataview or a datatable to crystal report directly. I m having one calculated table on my form. i want to print that table data through crystal report. So how is it possible to send that table to crystal report directly instead of saving on server and then crystal report fetch data from server.
thanks in advance
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Points to emoreau
'report directly
cn.ConnectionString = "Server=eteam08;Database=d
cn.Open()
cmd1.Connection = cn
cmd1.CommandType = CommandType.Text
cmd1.CommandText = "select * from tblCustomer"
oda1.SelectCommand = cmd1
oda1.Fill(ods, "Customer")
Dim rpt As New CrystalReport1
rpt.SetDataSource(ods.Tabl
CrystalReportViewer1.Repor