hi friends..
i have use the reportviwer WPF using vb.net code..but this code is not working fine..dataset values not get in my code..plz help
Dim reportDataSource1 As New Microsoft.Reporting.WinForms.ReportDataSource()
Dim dataset As New IndManDataSet1
dataset.BeginInit()
reportDataSource1.Name = "DataSet1"
'Name of the report dataset in our .RDLC file
reportDataSource1.Value = dataset.currentbooking
Me._reportViewer.LocalReport.DataSources.Add(reportDataSource1)
Me._reportViewer.LocalReport.ReportPath = "../../Report1.rdlc"
dataset.EndInit()
'fill data into WpfApplication4DataSet
Dim accountsTableAdapter As New IndManDataSet1TableAdapters.currentbookingTableAdapter
accountsTableAdapter.ClearBeforeFill = True
accountsTableAdapter.Fill(dataset.currentbooking)