Populating a datagrid from two separate data sources

Discussion in 'ASP .Net' started by John, Jul 30, 2003.

  1. John

    John Guest

    Hi all,

    I have an interesting situation. I have a datagrid I'm currently populating
    using a dataset but now I need to introduce some extra records into this.
    I'm unsure of which method to use. Is it possible for me to populate (fill)
    a dataset from another dataset and at the same time, make sure there are no
    duplicates?

    Regards
    John.
    John, Jul 30, 2003
    #1
    1. Advertising

  2. John

    CT Guest

    John,

    Check out the Merge method of the DataSet class. It might just be what
    you're after.

    --
    Carsten Thomsen
    Enterprise Development with Visual Studio .NET, UML, and MSF
    http://www.apress.com/book/bookDisplay.html?bID=105
    "John" <> wrote in message
    news:...
    > Hi all,
    >
    > I have an interesting situation. I have a datagrid I'm currently

    populating
    > using a dataset but now I need to introduce some extra records into this.
    > I'm unsure of which method to use. Is it possible for me to populate

    (fill)
    > a dataset from another dataset and at the same time, make sure there are

    no
    > duplicates?
    >
    > Regards
    > John.
    >
    >
    CT, Jul 31, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Winterminute

    Combining Two Data Sources for one Data List

    Winterminute, Dec 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    818
    Winterminute
    Dec 3, 2003
  2. Mike P

    datagrid with 2 data sources

    Mike P, Jun 17, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    648
    Raterus
    Jun 18, 2004
  3. EvgueniB
    Replies:
    1
    Views:
    616
    Anthony Borla
    Dec 15, 2003
  4. Frank Fredstone
    Replies:
    1
    Views:
    430
    Jean-Francois Briere
    Jun 27, 2006
  5. N Ramsay
    Replies:
    4
    Views:
    319
    Jeff Dillon
    Feb 28, 2008
Loading...

Share This Page