Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting by group with null support
Message
De
21/09/2015 07:45:17
 
 
À
21/09/2015 03:50:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01624841
Message ID:
01624871
Vues:
35
>See you no longer need it but this should work:
loResult = loDataTable.AsEnumerable().GroupBy(Function(r) r.Field(Of System.Nullable(Of Integer))(lcPrimaryKey)).[Select](Function(g) g.First()).CopyToDataTable
This is great. Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform