none
Error in report viewer in vs2010 it does not connect to data source RRS feed

  • Question

  • The error message says :

    "It does not given any data source instance for the datasource"

    I checked it and  it seems all is fine

    Here i show 2 print screens

    The second one

    And hre is the code of my form

    Public Class Form1
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            'Me.CustomerBindingSource.DataSource = New Customer()
            'Me.LineItemBindingSource.DataSource = New List(Of LineItem)()
            Me.CustomerBindingSource.DataSource = New Customer
            Me.LineItemBindingSource.DataSource = New List(Of LineItem)
    
            'Me.ReportViewer1.RefreshReport()
            'Me.ReportViewer1.RefreshReport()
        End Sub
    
    
    
        Private Sub viewReportButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles viewReportButton.Click
    
            Me.ReportViewer1.RefreshReport()
        End Sub
    End Class

    Adn i adapted this project from this other that downloaded from this link

    http://gotreportviewer.com/InvoiceMaker.zip

    Thank you in advance for the hep you can give me

    • Moved by Youen Zen Wednesday, February 22, 2012 3:06 AM provide better support (From:Visual Basic Language)
    Tuesday, February 21, 2012 3:30 AM

All replies

  • Hi Luis,

    Welcome to the MSDN forum.

    This is a Report Controls issue, in order to give you a better support I will move it from “Visual Basic General” forum to “Visual Studio Report Controls” forum.

    Thank you for your understanding!

    Best regards,


    Shanks Zen
    MSDN Community Support | Feedback to us

    Wednesday, February 22, 2012 3:05 AM