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