Quantcast
Channel: Visual Studio Report Controls Forum
Viewing all articles
Browse latest Browse all 519

Reportviewer (code) is not woking fine

$
0
0

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)


Viewing all articles
Browse latest Browse all 519

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>