Message
From
18/11/2006 09:11:04
John Baird
Coatesville, Pensilvânia, United States
 
General information
Fórum:
ASP.NET
Category:
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
ID da thread:
01170867
ID da mensagem:
01170955
Views:
12
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
Previous
Next
Responder
Mapa
View