DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Rob Guest

    ADO.NET Datasets


    Is it possible to do a INNER JOIN query on two tables that each have a different
    connection object?
    I'm trying to group data from an Excel spreadsheet with and SQL Server Table.
    This data needs to be grouped using ADO.NET in a Dataset so I can add it
    to a grid.
    Thanks

    Rob

  2. #2
    Mike Straw Guest

    Re: ADO.NET Datasets


    "Rob" <Robert_Levy@countrywide.com> wrote:
    >
    >Is it possible to do a INNER JOIN query on two tables that each have a different
    >connection object?
    >I'm trying to group data from an Excel spreadsheet with and SQL Server Table.
    >This data needs to be grouped using ADO.NET in a Dataset so I can add it
    >to a grid.
    >Thanks
    >
    >Rob


    I thought that was the idea of the datasets. You can fill them with data
    from any source using different data adapters, which can access data from
    different source types, to create tables in the data set. You then add a
    data relation to the data set and set it appropriately for your data. All
    this assumes that in your case you have data in each source that is the same
    type and will result in records when related.

    See the .Net code walkthrough for master/child forms.

    mls

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links