Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying if a field exist in a row
Message
De
11/10/2010 14:07:21
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
11/10/2010 13:48:52
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01484735
Message ID:
01484775
Vues:
23
>>>This seems to resolve the issue:
>>>
>>>
>>>                                ' If we have a log field
>>>                                If loRow.Table.Columns.Contains(oApp.cMemberTableLogField) Then
>>>
>>
>>Is that Linq, or a built in method?
>
>Built in. To be exact: System.Data.DataColumnCollection.Contains() :-}

Very nice. I was wondering the other day if some of those build in collection methods would ever be refactored in the framework to use LINQ.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform