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. Advertisements

  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. Advertisements

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. AD
    Replies:
    1
    Views:
    1,173
    Francis Shanahan
    Aug 23, 2003
  2. Winterminute

    Combining Two Data Sources for one Data List

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

    datagrid with 2 data sources

    Mike P, Jun 17, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    839
    Raterus
    Jun 18, 2004
  4. thegame
    Replies:
    1
    Views:
    1,048
    =?Utf-8?B?ZGlyazQx?=
    Feb 28, 2005
  5. EvgueniB
    Replies:
    1
    Views:
    859
    Anthony Borla
    Dec 15, 2003
  6. Frank Fredstone
    Replies:
    1
    Views:
    625
    Jean-Francois Briere
    Jun 27, 2006
  7. N Ramsay
    Replies:
    4
    Views:
    476
    Jeff Dillon
    Feb 28, 2008
  8. Bogdan
    Replies:
    1
    Views:
    832
    Mr. Arnold
    Sep 29, 2009
Loading...