Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select from one strongly typed dataset to another
Message
De
07/07/2011 16:20:50
 
 
À
07/07/2011 14:09:31
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01517609
Message ID:
01517629
Vues:
39
Have you tried the .CopyToDataTable() method? It wouldn't be typed, but you could cast it to the Typed DataTable and I'm pretty sure it would work (haven't tested it though).
ds2.Customer = (MyDataSet.CustomerDataTable)ds1.Customer.Select("firstname = 'Bob'").CopyToDataTable();
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform