Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy records from one table to another
Message
From
18/12/2006 11:02:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01178567
Message ID:
01178577
Views:
15
>What is the best way to copy records from on datatable in a typed dataset to another datatable in a different instance of the same type dataset (I want to create a subset of a dataset)?
>Is the only way to do this the ard way (i.e. field by field and record by record)?
>
>Thanks,
>Einar

I think you can do it:

dtTo.Load( dtFrom.CreateDataReader() )

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform