Populating a datagrid from two separate data sources

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Populating a datagrid from two separate data sources

    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 Guest

  2. Similar Questions and Discussions

    1. popup datagrid not populating data from xml
      hey guys, im having trouble creating a datagrid within a popup. i created the datagrid on a normal panel and everything worked fine. then i tried...
    2. Populating DataGrid with nested data
      Hello, I'm new to Flex and I'm having a hard time populating a dataGrid with info nested in an dynamically updatable XMLListCollection. for...
    3. Data Sources
      Can anyone tell me how to get a list of Data Sources from CF server using cfml? Thanks: Phil
    4. Populating DataGrid with data ...
      It seems that DataGrid supports dynamic data loading only from global variables. In my case, I have something like this: "code below", where...
    5. how to access data from 2 different sources?
      I need to use data from multiple tables that are located in 2 different databases. Most of the tables are in SQL Server 2000 but 1 one the tables I...
  3. #2

    Default Re: Populating a datagrid from two separate data sources

    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
    [url]http://www.apress.com/book/bookDisplay.html?bID=105[/url]
    "John" <a@b.com> wrote in message
    news:uITE8tpVDHA.384@TK2MSFTNGP12.phx.gbl...
    > 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 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139