Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting a field in a datarow
Message
 
À
18/11/2006 09:11:04
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01170867
Message ID:
01170958
Vues:
12
Thats better.

>Or:
>
>if (dataRow.Table.Columns.Contains("FirstName"))
>
>
>>>How can I detect if a specific field is present in a datarow?
>>>
>>>I have tried:
>>>
>>>
>>>            If Not loRow("FirstName") Is Nothing Then
>>>            End If
>>>
>>>
>>>But, this doesn't work.
>>
>>
>>if Not loRow.Table.Columns.IndexOf("FirstName") = -1 Then
Michael McLain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform