none
Load Data manual to a report control RRS feed

  • Question

  • In my asp.net i had a ReportViewer control .
    This control should display info retrieve from a reporting service, in azure - this is done - no major issus.
    Another thing that i'm trying is to also set data into it using ado, linq, anything. 
    Is this possible? 
    The initial ideia was to change in asp.net page the datasource for the report, that is in azure server.  Is this possible?! 

    anyway.. i setup this for showing the report with information retrieved from linq but the report control doesn't appear: 

                Microsoft.Reporting.WebForms.ReportDataSource rds = new Microsoft.Reporting.WebForms.ReportDataSource("Table1", DbConnection.GetInfo(conn));
                ReportViewer3.Reset();
                ReportViewer3.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
                ReportViewer3.LocalReport.DataSources.Clear();
               
                ReportViewer3.LocalReport.DataSources.Add(rds);
                ReportViewer3.DataBind();
    
                upPanel2.Update();

    help, please?!
    Regards.

    Monday, September 24, 2012 11:08 PM