How can I do an outer join in the LinqDataSourceSelectEventArgs.Result function

Posted on 2012-08-10
Last Modified: 2012-08-15
I am trying to run a query that will get results from both tables in the LinqDataSourceSelectEventArgs.Result.  I am including my query any help would be greatly appreciated.  Thanks in advance

 Dim qry = (From c In db.tblTable1 Join d In db.tblTable2 On c.ProductServiceName Equals d.ServiceName
        Where (c.fk_Planid = intInitial)
                    Select c.pkTargetPlanID, d.Product_ProductServiceName, c.TargetActive, d.ProjectClass, c.fk_Planid)
Question by:mwhodges
    LVL 12

    Accepted Solution

    Please have a look at this link:

    It has all the things in LINQ which you perform in SQL.

    Hope it helps you.

    Author Closing Comment

    Great reference site Thanks!

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now