Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to handle cursors..?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01562212
Message ID:
01562591
Vues:
37
>>But the SQL examples you give can't be used against DataTables anyway.
>
>I do use it against datatables and it seems to work for me. I guess the IEnumerable is somehow implicit.

You use this?:
select sight, sum(ValueBox) as totalValueBox ... from (oDT) group by sight.
>
>> Without linq all you would have is DataTable.Select to get a subset of rows or DataTable.Compute to sum things.
>
>And you also have datable.copy().sort I have found.
>
>All in all it's about the same functionality we used to have in DAO/ADO recordset, together with move and other.
>
>>
>>Admittedly Linq to DataSet is one of the more complicated usages of Linq - but general linq usage is the same whether for this, objects, xml etc. And don't forget that a query expression can be built up over several statements for clarity.
>
>Well good to know that not everybody runs when they see a LINQ statement. As I said earlier, when I grow up I wanna be a LINQ programmer.
>
>Thanks and take care.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform