Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verifying if a field exist in a row
Message
From
11/10/2010 14:07:21
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01484735
Message ID:
01484775
Views:
24
>>>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/
Previous
Reply
Map
View

Click here to load this message in the networking platform