I create connetion with DB Manually ( not automatically by using add new datasource). and show the result in DataGridView
I know how to make report and show the data in it from DB ( if I use the automatically way ).But I don't know how to make it in Manually way.
I need how to show the result of DataGridView in report.
I hope I'm clear and Thank you fro help!
I tried this way but I don't know how to complete it
Dim sql As String = " Select Notice,History,NumberA,Region,Price,TelL,NameP from Table1 "
Dim dp As New OleDbDataAdapter(sql, conn)
Dim Table1 As New DataTable
dp.Fill(Table1)
Form1.DataGridView1.DataSource = Table1
Form1.ReportViewer1........
This post has been edited by Mangore: 26 October 2011 - 02:04 PM

New Topic/Question
Reply




MultiQuote


|