Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting a field in a datarow
Message
De
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:
01170955
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform