GetByName

Gets the value from the field array by the column name in this DataRow.

Syntax

Function getByName(columnName As String) As String 

Parameters

  • Name with which the specified value is to be associated

Results

Returns the value for the column name in this DataRow; returns empty string if the column name does not exist.

Example

Dim sValue As String
sValue = dataRow.getByName("City")