none
IEnumerable as DataSource RRS feed

  • Question

  • Okay, I'm at my wits end and must solicit the boards for help.  I've only yesterday been introduced to the .NET ReportViewer and reports.  Using what examples I have found I have visually created an Object data source to setup my report bindings and I have added my in memory object as a new ReportDataSource  (The name is the same as that of the reports data source).

    reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("Accounts_Account", m_Account));
                reportViewer1.RefreshReport();

    The problem is that my report bindings are not working I get no data from the object and my report fields are blank.

    Please help me correct my misunderstanding.  Thank you!
    Wednesday, October 17, 2007 3:01 PM