Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Populating a datagrid from two separate data sources (http://www.velocityreviews.com/forums/t61064-populating-a-datagrid-from-two-separate-data-sources.html)

John 07-30-2003 01:11 PM

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.



CT 07-31-2003 06:46 AM

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
http://www.apress.com/book/bookDisplay.html?bID=105
"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.
>
>





All times are GMT. The time now is 04:58 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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