EasyObjects.NET Programmers Reference

EasyObject.IsColumnNull Method 

Checks if a particular column in the EasyObject has a null value.

public virtual bool IsColumnNull(
   string fieldName
);

Parameters

fieldName
Missing <param> documentation for fieldName

Return Value

True if the column is null, False if not

Remarks

The "s_" properties will automatically return a string value for the property, and String.Empty if the column value is null.

Example

Employee emp = new Employee();
if (!emp.IsColumnNull(EmployeeSchema.FirstName.FieldName)
{
    txtFirstName.Text = emp.FirstName
}

See Also

EasyObject Class | NCI.EasyObjects Namespace