Dim sSqlStatement = "SELECT * FROM TableName;"
Dim da = New SqlDataAdapter(sSqlStatement, oConnection)
Dim ds = New DataSet
da.Fill(ds, "TableName")
DataGridView1.DataMember = "TableName"
DataGridView1.DataSource = ds
[CODE/]
Are you really saying, without actually saying, that you don;t know how to perform a join in SQL? If so then this is a database question, not a WinForms question.If you want to join multiple tables then your SQL query needs to include a JOIN.
my datagrid is just an example of what youre asking lately that how can i pass data from a single table as the data source!!!
But the real issue here is how to pass a data source to the Report1.rdlc