Getting Started with Adobe After Effects - Part 6: Motion Blur
Ask
Ask questions, discuss or help others by answering
Related Posts · View All
SQL Server 141
TSQL 75
SSRS 70
SSIS 66
XML 54

Top Categories · View All
SQL Server 141
TSQL 75
SSRS 70
SSIS 66
XML 54

Join data from .NET and SQL Server Table

Mar 22 2012 12:00AM by Praveen   

I have a C#.Net application which has data collection which has to be joined to a Table which is in SQL Server and this result set is passed as dataset to a Report Viewer. Please guide me on how do I accomplish this?

Thanks in advance.................

Submitted under: Microsoft .NET · C#.NET · SSRS - SQL Server Reporting Services ·  · 


Praveen
87 · 2% · 624

2 Replies

  • Hi Praveen,

    I am slightly confused with meaning of "Joined'. Is it means, you are looking to concatenate the rows or you want to perform Database Join type.

    If you are looking for database join, I suggest to use Linq Join method.

    If you are looking to merge the both result sets, You can use AddRange() method of List. Get the database records into a generic list and add it to your collection

         oExistingCollection.AddRange(oNewData);
    
    commented on Mar 23 2012 12:06AM
    Ramireddy
    2 · 41% · 12972
  • Did you take a look at the Web Services data source option with SSRS? This allows you to run a report based on the data provided by a Web Service.

    Within your Web Service, you can write the code to join your in-memory data with the data in the database. This can be done either by passing the info to the database as an XML parameter (where you do the join in the database) or doing it in the application by manipulating the data table returned by the stored procedure/DB code.

    commented on Aug 15 2012 6:31AM
    Jacob Sebastian
    1 · 100% · 32002

Your Reply


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]